Go Down

Topic: Arduino on RPM-based linux distro (Read 2 times) previous topic - next topic

morris

avr-libc-1.4.3, binutils-2.16.1 and gcc-3.4.6.   I will try gcc-4 and see if it helps.

morris

Okay, recompiled avr-gcc using gcc-4.0.3, same results:




[root@localhost linux]# ./run.sh
Devel Library
=========================================
Native lib Version = RXTX-2.1-7pre17
Java lib Version   = RXTX-2.1-7pre17

/usr/local/avr/lib/gcc/avr/4.0.3/../../../../avr/bin/ld: crtm8.o: No such file: No such file or directory

Atmel AVR ATmega8 is found.
Error: No such file or directory
Firmware Version: 1.18
Firmware Version: 1.18
-> /home/morris/arduino/trunk/build/linux/work/examples/leds/knight_rider/knight_rider_1/applet/knight_rider_1.hex




I may try reinstalling avr-libc, but I'm not sure what to do differently.

morris

New errors:





/home/morris/arduino/trunk/build/linux/work/lib/targets/arduino/crtm8.o: In function `__vector_default':

: multiple definition of `__vectors'

/usr/local/avr/lib/gcc/avr/4.0.3/../../../../avr/lib/avr4/crtm8.o:../../../../crt1/gcrt1.S:123: first defined here

/home/morris/arduino/trunk/build/linux/work/lib/targets/arduino/crtm8.o: In function `__vector_18':

: multiple definition of `__bad_interrupt'

/usr/local/avr/lib/gcc/avr/4.0.3/../../../../avr/lib/avr4/crtm8.o:../../../../crt1/gcrt1.S:123: first defined here

/home/morris/arduino/trunk/build/linux/work/examples/leds/knight_rider/knight_rider_1/applet/timer.c.o: In function `delay_us':

/home/morris/arduino/trunk/build/linux/work/lib/targets/arduino/timer.c:56: undefined reference to `__udivmodhi4'

/home/morris/arduino/trunk/build/linux/work/examples/leds/knight_rider/knight_rider_1/applet/timer.c.o: In function `timerPause':

/home/morris/arduino/trunk/build/linux/work/lib/targets/arduino/timer.c:220: undefined reference to `__divmodsi4'

/home/morris/arduino/trunk/build/linux/work/lib/targets/arduino/timer.c:225: undefined reference to `__mulsi3'

/home/morris/arduino/trunk/build/linux/work/lib/targets/arduino/timer.c:225: undefined reference to `__udivmodsi4'

/home/morris/arduino/trunk/build/linux/work/lib/targets/arduino/timer.c:227: undefined reference to `__udivmodsi4'

/home/morris/arduino/trunk/build/linux/work/lib/targets/arduino/timer.c:227: undefined reference to `__mulsi3'

/home/morris/arduino/trunk/build/linux/work/examples/leds/knight_rider/knight_rider_1/applet/wiring.c.o: In function `printIntegerInBase':

/home/morris/arduino/trunk/build/linux/work/lib/targets/arduino/wiring.c:267: undefined reference to `__udivmodsi4'

/home/morris/arduino/trunk/build/linux/work/lib/targets/arduino/wiring.c:268: undefined reference to `__udivmodsi4'

/home/morris/arduino/trunk/build/linux/work/examples/leds/knight_rider/knight_rider_1/applet/wiring.c.o: In function `millis':

/home/morris/arduino/trunk/build/linux/work/lib/targets/arduino/wiring.c:324: undefined reference to `__mulsi3'

/home/morris/arduino/trunk/build/linux/work/lib/targets/arduino/wiring.c:324: undefined reference to `__udivmodsi4'

/home/morris/arduino/trunk/build/linux/work/examples/leds/knight_rider/knight_rider_1/applet/buffer.c.o: In function `bufferGetFromFront':

/home/morris/arduino/trunk/build/linux/work/lib/targets/arduino/buffer.c:48: undefined reference to `__udivmodhi4'

/home/morris/arduino/trunk/build/linux/work/examples/leds/knight_rider/knight_rider_1/applet/buffer.c.o: In function `bufferDumpFromFront':

/home/morris/arduino/trunk/build/linux/work/lib/targets/arduino/buffer.c:66: undefined reference to `__udivmodhi4'

/home/morris/arduino/trunk/build/linux/work/examples/leds/knight_rider/knight_rider_1/applet/buffer.c.o: In function `bufferGetAtIndex':

/home/morris/arduino/trunk/build/linux/work/lib/targets/arduino/buffer.c:78: undefined reference to `__udivmodhi4'

/home/morris/arduino/trunk/build/linux/work/examples/leds/knight_rider/knight_rider_1/applet/buffer.c.o: In function `bufferAddToEnd':

/home/morris/arduino/trunk/build/linux/work/lib/targets/arduino/buffer.c:89: undefined reference to `__udivmodhi4'

/home/morris/arduino/trunk/build/linux/work/examples/leds/knight_rider/knight_rider_1/applet/uart.c.o: In function `uartSetBaudRate':

/home/morris/arduino/trunk/build/linux/work/lib/targets/arduino/uart.c:93: undefined reference to `__udivmodsi4'

Atmel AVR ATmega8 is found.
Error: No such file or directory
Firmware Version: 1.18
Firmware Version: 1.18
-> /home/morris/arduino/trunk/build/linux/work/examples/leds/knight_rider/knight_rider_1/applet/knight_rider_1.hex

Go Up