Pages: [1]   Go Down
Author Topic: arduino on slackware64  (Read 538 times)
0 Members and 1 Guest are viewing this topic.
Utah, USA
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 9
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Did you install avr libc?
Logged

Utah, USA
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Wuppertal/Germany
Offline Offline
God Member
*****
Karma: 1
Posts: 895
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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  
Logged

Pages: [1]   Go Up
Jump to: