I am just getting back to being able to mess with my Electron module. I had it working when I first received it but now when I compile the same code (after changing Spark. functions to Particle. ) I receive link errors and don’t know where to go. All the functions that it is complaining about are io related but I don’t know which library or code is the cause. I am just using the neopixel library and Wire functions. This is the errors I am receiving, I also tried clearing the cache (using the online build).
/usr/local/gcc-arm-embedded-gcc-arm-none-eabi-4_8-2014q2-20140609-linux-tar-bz2/bin/…/lib/gcc/arm-none-eabi/4.8.4/…/…/…/…/arm-none-eabi/lib/armv7-m/libg_s.a(lib_a-writer.o): In function _write_r': writer.c:(.text._write_r+0x10): undefined reference to
_write’
/usr/local/gcc-arm-embedded-gcc-arm-none-eabi-4_8-2014q2-20140609-linux-tar-bz2/bin/…/lib/gcc/arm-none-eabi/4.8.4/…/…/…/…/arm-none-eabi/lib/armv7-m/libg_s.a(lib_a-closer.o): In function _close_r': closer.c:(.text._close_r+0xc): undefined reference to
_close’
/usr/local/gcc-arm-embedded-gcc-arm-none-eabi-4_8-2014q2-20140609-linux-tar-bz2/bin/…/lib/gcc/arm-none-eabi/4.8.4/…/…/…/…/arm-none-eabi/lib/armv7-m/libg_s.a(lib_a-fstatr.o): In function _fstat_r': fstatr.c:(.text._fstat_r+0xe): undefined reference to
_fstat’
/usr/local/gcc-arm-embedded-gcc-arm-none-eabi-4_8-2014q2-20140609-linux-tar-bz2/bin/…/lib/gcc/arm-none-eabi/4.8.4/…/…/…/…/arm-none-eabi/lib/armv7-m/libg_s.a(lib_a-isattyr.o): In function _isatty_r': isattyr.c:(.text._isatty_r+0xc): undefined reference to
_isatty’
/usr/local/gcc-arm-embedded-gcc-arm-none-eabi-4_8-2014q2-20140609-linux-tar-bz2/bin/…/lib/gcc/arm-none-eabi/4.8.4/…/…/…/…/arm-none-eabi/lib/armv7-m/libg_s.a(lib_a-lseekr.o): In function _lseek_r': lseekr.c:(.text._lseek_r+0x10): undefined reference to
_lseek’
/usr/local/gcc-arm-embedded-gcc-arm-none-eabi-4_8-2014q2-20140609-linux-tar-bz2/bin/…/lib/gcc/arm-none-eabi/4.8.4/…/…/…/…/arm-none-eabi/lib/armv7-m/libg_s.a(lib_a-readr.o): In function _read_r': readr.c:(.text._read_r+0x10): undefined reference to
_read’
collect2: error: ld returned 1 exit status
make: *** [44db63e0a098c7665507c8bb52a71460c3bbe0c503703250896574fdcf93.elf] Error 1