Build Error for Arlo Calibrate - Help please
I have updated the SimpleIDE library and tried to build the arloCalibrate.c and get the below error. I am running Mac OS 10.9.4 and SimpleIDE Version 1.0.1. You can also see my folder paths in the error details.
BEGIN ERROR
Project Directory: /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libarlocalibrate/
SimpleIDE Version 1.0.1
/Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/
/Users/ndoty/Documents/SimpleIDE/ Updated on: 2015-02-09
propeller-elf-gcc -v GCC 4.6.1 (propellergcc_v1_0_0_2423)
propeller-elf-gcc -I . -L . -I ./../libsimpletools -L ./../libsimpletools/cmm/ -I arlocalibrate -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Motor/libservo -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Motor/libservo/cmm/ -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libsimpletext -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libsimpletext/cmm/ -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c/cmm/ -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libfdserial -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libfdserial/cmm/ -Os -mcmm -m32bit-doubles -fno-exceptions -std=c99 -c arlocalibrate.c -o cmm/arlocalibrate.o
propeller-elf-ar rs cmm/libarlocalibrate.a cmm/arlocalibrate.o
/Applications/SimpleIDE.app/Contents/MacOS/../propeller-gcc/bin/propeller-elf-ar: creating cmm/libarlocalibrate.a
propeller-elf-gcc -I . -L . -I ./../libsimpletools -L ./../libsimpletools/cmm/ -I arlocalibrate -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Motor/libservo -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Motor/libservo/cmm/ -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libsimpletext -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libsimpletext/cmm/ -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c/cmm/ -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libfdserial -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libfdserial/cmm/ -o cmm/libarlocalibrate.elf -Os -mcmm -m32bit-doubles -fno-exceptions -std=c99 libarlocalibrate.c cmm/libarlocalibrate.a -lm -lsimpletools -lservo -lsimpletext -lsimplei2c -lfdserial -lm -lsimpletools -lservo -lsimpletext -lsimplei2c -lm -lsimpletools -lservo -lsimpletext -lm -lsimpletools -lservo -lm -lsimpletools -lm
/Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Motor/libservo/cmm//libservo.a(servo.o): In function `.L14':
(.text+0xa6): undefined reference to `_st_iodt'
collect2: ld returned 1 exit status
Done. Build Failed!
Check source for bad function call or global variable name `_st_iodt'
END ERROR
Any help would be greatly appreciated.
BEGIN ERROR
Project Directory: /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libarlocalibrate/
SimpleIDE Version 1.0.1
/Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/
/Users/ndoty/Documents/SimpleIDE/ Updated on: 2015-02-09
propeller-elf-gcc -v GCC 4.6.1 (propellergcc_v1_0_0_2423)
propeller-elf-gcc -I . -L . -I ./../libsimpletools -L ./../libsimpletools/cmm/ -I arlocalibrate -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Motor/libservo -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Motor/libservo/cmm/ -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libsimpletext -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libsimpletext/cmm/ -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c/cmm/ -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libfdserial -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libfdserial/cmm/ -Os -mcmm -m32bit-doubles -fno-exceptions -std=c99 -c arlocalibrate.c -o cmm/arlocalibrate.o
propeller-elf-ar rs cmm/libarlocalibrate.a cmm/arlocalibrate.o
/Applications/SimpleIDE.app/Contents/MacOS/../propeller-gcc/bin/propeller-elf-ar: creating cmm/libarlocalibrate.a
propeller-elf-gcc -I . -L . -I ./../libsimpletools -L ./../libsimpletools/cmm/ -I arlocalibrate -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Motor/libservo -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Motor/libservo/cmm/ -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libsimpletext -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libsimpletext/cmm/ -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c/cmm/ -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libfdserial -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libfdserial/cmm/ -o cmm/libarlocalibrate.elf -Os -mcmm -m32bit-doubles -fno-exceptions -std=c99 libarlocalibrate.c cmm/libarlocalibrate.a -lm -lsimpletools -lservo -lsimpletext -lsimplei2c -lfdserial -lm -lsimpletools -lservo -lsimpletext -lsimplei2c -lm -lsimpletools -lservo -lsimpletext -lm -lsimpletools -lservo -lm -lsimpletools -lm
/Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Motor/libservo/cmm//libservo.a(servo.o): In function `.L14':
(.text+0xa6): undefined reference to `_st_iodt'
collect2: ld returned 1 exit status
Done. Build Failed!
Check source for bad function call or global variable name `_st_iodt'
END ERROR
Any help would be greatly appreciated.
Comments
https://github.com/chrisl8/ArloBot/commit/9b8651145f808eb43bb155180197c4be3536d316
On Linux I've been sticking with SimpleIDE 0.9.66
Thank you for the reply. I downgraded Simple IDE and commented out the declaration of static int us. Now i get these errors as the code needs us to be declared. I also tried it by leaving the declaration and i get the same error as in the OP.
----BEGIN CODE----
Project Directory: /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libarlocalibrate/
SimpleIDE Version 0.9.66
/Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/
/Users/ndoty/Documents/SimpleIDE/ Updated on: 2015-02-09
propeller-elf-gcc -v GCC 4.6.1 (propellergcc_v1_0_0_2408)
propeller-elf-gcc -I . -L . -I ./../libsimpletools -L ./../libsimpletools/cmm/ -I arlocalibrate -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Motor/libservo -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Motor/libservo/cmm/ -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libsimpletext -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libsimpletext/cmm/ -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c/cmm/ -I /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libfdserial -L /Users/ndoty/Documents/SimpleIDE/Learn/Simple Libraries/Robotics/arlo/libfdserial/cmm/ -Os -mcmm -m32bit-doubles -fno-exceptions -std=c99 -c arlocalibrate.c -o cmm/arlocalibrate.o
arlocalibrate.c: In function 'servo_pins':
arlocalibrate.c:785:7: error: 'us' undeclared (first use in this function)
arlocalibrate.c:785:7: note: each undeclared identifier is reported only once for each function it appears in
arlocalibrate.c: In function 'encoder_pins':
arlocalibrate.c:794:7: error: 'us' undeclared (first use in this function)
Done. Build Failed!
Click error or warning messages above to debug.
----END CODE----