SparkFun Forums 

Where electronics enthusiasts find answers.

All things pertaining to wireless and RF links
By hortplus
#197284
I recently received a SparkFun WiFi Shield - ESP8266. It all started well but now when i try run a sketch i get the error messages:

Arduino: 1.6.7 (Windows 10), Board: "SparkFun ESP8266 Thing, 80 MHz, 115200"

libraries\SparkFun_ESP8266_AT_Arduino_Library-master\SparkFunESP8266WiFi.cpp.o: In function `ESP8266Class::getAP(char*)':

C:\Users\Dell\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Stream.h:93: undefined reference to `strspn'

libraries\SparkFun_ESP8266_AT_Arduino_Library-master\SparkFunESP8266WiFi.cpp.o: In function `ESP8266Class::localIP()':

C:\Users\Dell\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Stream.h:93: undefined reference to `strspn'

libraries\SparkFun_ESP8266_AT_Arduino_Library-master\SparkFunESP8266WiFi.cpp.o: In function `ESP8266Class::updateStatus()':

C:\Users\Dell\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Stream.h:93: undefined reference to `strspn'

C:\Users\Dell\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Stream.h:93: undefined reference to `strspn'

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling.

Any idea how to fix this?

Thanks in advance

Andrew
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
By hortplus
#197296
A funny thing happened. I swapped boards and now it works fine