Go Down

Topic: arduino on slackware64 (Read 760 times) previous topic - next topic

deadams59

Trying to get arduino running on Slackware64. I get the following errors when I try to compile a sketch.

/arduino-0016/hardware/cores/arduino/pins_arduino.c:25:20: error: avr/io.h: No such file or directory

In file included from /arduino-0016/hardware/cores/arduino/pins_arduino.c:26:

/arduino-0016/hardware/cores/arduino/wiring_private.h:29:27: error: avr/interrupt.h: No such file or directory

/arduino-0016/hardware/cores/arduino/wiring_private.h:30:23: error: avr/delay.h: No such file or directory

/arduino-0016/hardware/cores/arduino/wiring_private.h:31:19: error: stdio.h: No such file or directory

In file included from /arduino-0016/hardware/cores/arduino/wiring_private.h:34,

                from /arduino-0016/hardware/cores/arduino/pins_arduino.c:26:

/arduino-0016/hardware/cores/arduino/wiring.h:101: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'boolean'

/arduino-0016/hardware/cores/arduino/wiring.h:102: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'byte'

/arduino-0016/hardware/cores/arduino/wiring.h:110: error: expected ')' before 'mode'

/arduino-0016/hardware/cores/arduino/wiring.h:111: error: expected ')' before 'int'

/arduino-0016/hardware/cores/arduino/wiring.h:123: error: expected ')' before 'pin'

/arduino-0016/hardware/cores/arduino/wiring.h:125: error: expected ')' before 'dataPin'

/arduino-0016/hardware/cores/arduino/wiring.h:127: error: expected ')' before 'void'

In file included from /arduino-0016/hardware/cores/arduino/pins_arduino.c:27:

/arduino-0016/hardware/cores/arduino/pins_arduino.h:28:26: error: avr/pgmspace.h: No such file or directory

In file included from /arduino-0016/hardware/cores/arduino/pins_arduino.c:27:

/arduino-0016/hardware/cores/arduino/pins_arduino.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'

/arduino-0016/hardware/cores/arduino/pins_arduino.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'

/arduino-0016/hardware/cores/arduino/pins_arduino.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'

/arduino-0016/hardware/cores/arduino/pins_arduino.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'

/arduino-0016/hardware/cores/arduino/pins_arduino.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'

/arduino-0016/hardware/cores/arduino/pins_arduino.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'

/arduino-0016/hardware/cores/arduino/pins_arduino.c:362: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'

/arduino-0016/hardware/cores/arduino/pins_arduino.c:370: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'

/arduino-0016/hardware/cores/arduino/pins_arduino.c:378: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'

/arduino-0016/hardware/cores/arduino/pins_arduino.c:386: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'

/arduino-0016/hardware/cores/arduino/pins_arduino.c:409: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'

/arduino-0016/hardware/cores/arduino/pins_arduino.c:432: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'

Couldn't determine program size: avr-size: '/tmp/build8255619358265906494.tmp/Blink.hex': No such file


Can anyone give me a little help?

mellis

Did you install avr libc?

deadams59

Yes, as per the slackware section of installing to linux on arduino.cc

wayoda

Hi,
the instructions on
http://www.arduino.cc/playground/Linux/Slackware
might cause the trouble because gcc-avr is compiled with prefix /usr/local.

I don't use Slackware, but I suggest you try to install the bin-packages  
for avr-libc, avr-gcc and avr-binutils from here:
http://www.linuxpackages.net/search_view.php?by=name&name=avr&ver=
Please report back if this was suscessful, so we can update the playground-page for this topic.
Eberhard  

Go Up