I have compiled the deWebIOServer example in the past with mpide and ran it on my WF32 board with no problems. I know want to compile it from the Arduino IDE (1.6.9) as a test before setting up my own webserver on the WF32 and cannot get it to compile. I used the Arduino IDE to add the chipKit core (v1.2.1) . Simple "hello world" and "blink" type apps compile and run fine. However when compiling the deWebIOServer app I get the errors below and haven't been able to resolve them. Did I mess up the core installation somewhere or is it something else? Google hasn't been to helpful on this.
Marcell
Arduino: 1.6.9 (Windows 10), Board: "chipKIT WF32"
libraries\HTTPServer\HTMLSDPage.cpp.o: In function `DFILE::write(unsigned char)':
c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/dfatfs/dfatfs.h:136: undefined reference to `DFILE::fsputc(char)'
libraries\HTTPServer\HTMLSDPage.cpp.o: In function `DFILE::read()':
c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/dfatfs/dfatfs.h:137: undefined reference to `DFILE::fsread(void*, unsigned long, unsigned long*, unsigned long)'
libraries\HTTPServer\HTMLSDPage.cpp.o: In function `DFILE::peek()':
c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/dfatfs/dfatfs.h:139: undefined reference to `DFILE::fslseek(unsigned long)'
libraries\HTTPServer\HTMLSDPage.cpp.o: In function `DFILE::flush()':
c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/dfatfs/dfatfs.h:140: undefined reference to `DFILE::fssync()'
libraries\HTTPServer\HTMLSDPage.cpp.o: In function `SDRead(DFILE&, unsigned char*, unsigned long)':
c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/httpserver/htmlsdpage.cpp:112: undefined reference to `DFILE::fsread(void*, unsigned long, unsigned long*, unsigned long)'
libraries\HTTPServer\HTMLSDPage.cpp.o: In function `SDSetup()':
c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/httpserver/htmlsdpage.cpp:139: undefined reference to `DFATFS::fsmount(DFSVOL&, char const*, unsigned char)'
c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/httpserver/htmlsdpage.cpp:157: undefined reference to `DFILE::fsopen(char const*, unsigned char)'
c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/httpserver/htmlsdpage.cpp:163: undefined reference to `DFILE::fsclose()'
libraries\HTTPServer\HTMLSDPage.cpp.o: In function `ComposeHTMLSDPage(CLIENTINFO_T*)':
c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/httpserver/htmlsdpage.cpp:256: undefined reference to `DFILE::fsopen(char const*, unsigned char)'
c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/httpserver/htmlsdpage.cpp:275: undefined reference to `DFILE::fslseek(unsigned long)'
c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/httpserver/htmlsdpage.cpp:340: undefined reference to `DFILE::fsclose()'
c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/httpserver/htmlsdpage.cpp:362: undefined reference to `DFILE::fsclose()'
libraries\HTTPServer\HTMLSDPage.cpp.o: In function `__static_initialization_and_destruction_0':
c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/httpserver/htmlsdpage.cpp:54: undefined reference to `SoftSPI::SoftSPI(unsigned char, unsigned char, unsigned char, unsigned char)'
collect2.exe: error: ld returned 255 exit status
exit status 255
Error compiling for board chipKIT WF32.
Question
mstoer
I have compiled the deWebIOServer example in the past with mpide and ran it on my WF32 board with no problems. I know want to compile it from the Arduino IDE (1.6.9) as a test before setting up my own webserver on the WF32 and cannot get it to compile. I used the Arduino IDE to add the chipKit core (v1.2.1) . Simple "hello world" and "blink" type apps compile and run fine. However when compiling the deWebIOServer app I get the errors below and haven't been able to resolve them. Did I mess up the core installation somewhere or is it something else? Google hasn't been to helpful on this.
Marcell
Arduino: 1.6.9 (Windows 10), Board: "chipKIT WF32" libraries\HTTPServer\HTMLSDPage.cpp.o: In function `DFILE::write(unsigned char)': c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/dfatfs/dfatfs.h:136: undefined reference to `DFILE::fsputc(char)' libraries\HTTPServer\HTMLSDPage.cpp.o: In function `DFILE::read()': c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/dfatfs/dfatfs.h:137: undefined reference to `DFILE::fsread(void*, unsigned long, unsigned long*, unsigned long)' libraries\HTTPServer\HTMLSDPage.cpp.o: In function `DFILE::peek()': c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/dfatfs/dfatfs.h:139: undefined reference to `DFILE::fslseek(unsigned long)' libraries\HTTPServer\HTMLSDPage.cpp.o: In function `DFILE::flush()': c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/dfatfs/dfatfs.h:140: undefined reference to `DFILE::fssync()' libraries\HTTPServer\HTMLSDPage.cpp.o: In function `SDRead(DFILE&, unsigned char*, unsigned long)': c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/httpserver/htmlsdpage.cpp:112: undefined reference to `DFILE::fsread(void*, unsigned long, unsigned long*, unsigned long)' libraries\HTTPServer\HTMLSDPage.cpp.o: In function `SDSetup()': c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/httpserver/htmlsdpage.cpp:139: undefined reference to `DFATFS::fsmount(DFSVOL&, char const*, unsigned char)' c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/httpserver/htmlsdpage.cpp:157: undefined reference to `DFILE::fsopen(char const*, unsigned char)' c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/httpserver/htmlsdpage.cpp:163: undefined reference to `DFILE::fsclose()' libraries\HTTPServer\HTMLSDPage.cpp.o: In function `ComposeHTMLSDPage(CLIENTINFO_T*)': c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/httpserver/htmlsdpage.cpp:256: undefined reference to `DFILE::fsopen(char const*, unsigned char)' c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/httpserver/htmlsdpage.cpp:275: undefined reference to `DFILE::fslseek(unsigned long)' c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/httpserver/htmlsdpage.cpp:340: undefined reference to `DFILE::fsclose()' c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/httpserver/htmlsdpage.cpp:362: undefined reference to `DFILE::fsclose()' libraries\HTTPServer\HTMLSDPage.cpp.o: In function `__static_initialization_and_destruction_0': c:/users/mstoer/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.2.1/libraries/httpserver/htmlsdpage.cpp:54: undefined reference to `SoftSPI::SoftSPI(unsigned char, unsigned char, unsigned char, unsigned char)' collect2.exe: error: ld returned 255 exit status exit status 255 Error compiling for board chipKIT WF32.
Link to comment
Share on other sites
26 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.