LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bluewhite64
User Name
Password
Bluewhite64 This forum is for the discussion of Bluewhite64 Linux.

Notices

Reply
 
Search this Thread
Old 01-27-2010, 06:48 PM   #1
DEA
LQ Newbie
 
Registered: Jan 2010
Location: Ky USA
Distribution: Bluewhite64
Posts: 3

Rep: Reputation: 0
Arduino on Bluewhite64 - 13


Having problems getting Arduino enviroment working on Bluewhite. Anyone with any tips. Arduino site gives little help with slackware.
 
Old 01-28-2010, 05:54 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
What kind of problems? Is there a specific error you are getting? Is the hardware even detected?
 
Old 01-29-2010, 12:05 AM   #3
DEA
LQ Newbie
 
Registered: Jan 2010
Location: Ky USA
Distribution: Bluewhite64
Posts: 3

Original Poster
Rep: Reputation: 0
The hardware is detected. I can recieve serial transmissions from the board that has an old sketch in it. The problems are when I try to compile a new sketch, then I get the following errors.

/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
 
Old 01-29-2010, 04:06 AM   #4
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Have you installed the avr libraries and compiler? You need at least avr-gcc, avr-libc, and avr-binutils. None of these are included in Slackware, so I would assume BlueWhite doesn't have them either. You need to either build them from source, or see if you can find packages for them.
 
Old 01-30-2010, 02:42 AM   #5
DEA
LQ Newbie
 
Registered: Jan 2010
Location: Ky USA
Distribution: Bluewhite64
Posts: 3

Original Poster
Rep: Reputation: 0
Installed all of those. I'm thinking the problem lies with arduino IDE itself. It's not made to run on 64 bit. I have gotten the IDE to run and can even use the built in serial terminal, but sketches wont compile.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Arduino carbonfiber General 3 01-18-2010 01:05 PM
Trying to Program the Arduino oakmanor1 Linux - Newbie 2 07-02-2009 11:15 PM
Getting started with logic cuircuits and the arduino. deathalele Programming 16 12-17-2008 02:33 PM
LXer: Arduino: One board, many projects LXer Syndicated Linux News 0 08-31-2007 06:11 AM


All times are GMT -5. The time now is 02:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration