I have a fresh installed full Slackware 13.37 x64 and I am trying to make Arduino work. Software see the interface (/dev/ttyACM0). I followed the instructions here Arduino Playground - Slackware and installed each dependency as stated on the page but I am receiving the following error when I try to compile the code ;
/usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatible /usr/lib/gcc/avr/4.4.4/../../../../avr/lib/avr5/libm.a when searching for -lm
/usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatible /usr/lib/gcc/avr/4.4.4/../../../../avr/lib/libm.a when searching for -lm
/usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: cannot find -lm
/usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatible /usr/lib/gcc/avr/4.4.4/avr5/libgcc.a when searching for -lgcc
/usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatible /usr/lib/gcc/avr/4.4.4/libgcc.a when searching for -lgcc
/usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: cannot find -lgcc
/usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatible /usr/lib/gcc/avr/4.4.4/../../../../avr/lib/avr5/libc.a when searching for -lc
/usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatible /usr/lib/gcc/avr/4.4.4/../../../../avr/lib/libc.a when searching for -lc
/usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: cannot find -lc
/usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatible /usr/lib/gcc/avr/4.4.4/avr5/libgcc.a when searching for -lgcc
/usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatible /usr/lib/gcc/avr/4.4.4/libgcc.a when searching for -lgcc
/usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: cannot find -lgcc
I tracked down the errors and copied the necessary valid libraries to destinations. Now compile returns one error ;
/usr/lib/gcc/avr/4.4.4/avr5/libc.a: could not read symbols: File format not recognized
Anyone has encountered this case before ?