Shop OBEX P1 Docs P2 Docs Learn Events
Unable to successfully compile Wi-Fi Module Example Code — Parallax Forums

Unable to successfully compile Wi-Fi Module Example Code

I'm having issues trying to compile the example Parallax WX ESP8266 WiFi Module code - Val from Micro Host.

I've installed the latest SimpleIDE and Learn folder. I've put the WiFi Module test code in the Learn folder.

SimpleIDE Build Status displays the following.
Project Directory: C:/Users/Tom/Documents/Learn/Examples/32420-Parallax-ESP-2016-11-02-1804-e/Examples/Propeller C/

SimpleIDE Version 1.1.2
C:/Users/Tom/Documents/SimpleIDE/Learn/Simple Libraries/
C:/Users/Tom/Documents/SimpleIDE/ Updated on: 2018-07-06

propeller-elf-gcc.exe -v GCC 4.6.1 (propellergcc_v1_0_0_2408)
propeller-elf-ar.exe rs cmm/Val from Micro Host.a
C:\Program Files (x86)\SimpleIDE\bin\..\propeller-gcc\bin\propeller-elf-ar.exe: creating cmm/Val from Micro Host.a
propeller-elf-gcc.exe -I . -L . -I C:/Users/Tom/Documents/SimpleIDE/Learn/Simple Libraries/Utility/libsimpletools -L C:/Users/Tom/Documents/SimpleIDE/Learn/Simple Libraries/Utility/libsimpletools/cmm/ -I C:/Users/Tom/Documents/SimpleIDE/Learn/Simple Libraries/Text Devices/libsimpletext -L C:/Users/Tom/Documents/SimpleIDE/Learn/Simple Libraries/Text Devices/libsimpletext/cmm/ -I C:/Users/Tom/Documents/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c -L C:/Users/Tom/Documents/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c/cmm/ -I C:/Users/Tom/Documents/Learn/Examples/32420-Parallax-ESP-2016-11-02-1804-e/Examples/Propeller C/libwifi -L C:/Users/Tom/Documents/Learn/Examples/32420-Parallax-ESP-2016-11-02-1804-e/Examples/Propeller C/libwifi/cmm/ -I C:/Users/Tom/Documents/SimpleIDE/Learn/Simple Libraries/Text Devices/libfdserial -L C:/Users/Tom/Documents/SimpleIDE/Learn/Simple Libraries/Text Devices/libfdserial/cmm/ -o cmm/Val from Micro Host.elf -Os -mcmm -m32bit-doubles -fno-exceptions -std=c99 Val from Micro Host.c cmm/Val from Micro Host.a -lm -lsimpletools -lsimpletext -lsimplei2c -lwifi -lfdserial -lm -lsimpletools -lsimpletext -lsimplei2c -lwifi -lm -lsimpletools -lsimpletext -lsimplei2c -lm -lsimpletools -lsimpletext -lm -lsimpletools -lm
C:/Users/Tom/Documents/Learn/Examples/32420-Parallax-ESP-2016-11-02-1804-e/Examples/Propeller C/libwifi/cmm/\libwifi.a(replyStringIn.o): In function `.L9':
(.text+0x47): undefined reference to `_fdserial_rxCount'
C:/Users/Tom/Documents/Learn/Examples/32420-Parallax-ESP-2016-11-02-1804-e/Examples/Propeller C/libwifi/cmm/\libwifi.a(simpletermResume.o): In function `_wifi_simpletermResume':
(.text+0x1e): undefined reference to `_simpleterm_reopen'
collect2: ld returned 1 exit status
Done. Build Failed!

Check source for bad function call or global variable name `_fdserial_rxCount'
C:/Users/Tom/Documents/Learn/Examples/32420-Parallax-ESP-2016-11-02-1804-e/Examples/Propeller C/libwifi/cmm/\libwifi.a(simpletermResume.o): In function `_wifi_simpletermResume':
(.text+0x1e): 


Does anyone have any ideas what I'm doing wrong?

Comments

  • I don't know what I fixed, but I am able to compile now.

    I basically renamed the user/documents/Learn folder, removed the C:\Program Files (x86)\SimpleIDE folder and did a fresh install.

    The example wi-fi code will now compile.
Sign In or Register to comment.