Ubuntu 8.10 compiling troubles...

Moderator: adafruit

Ubuntu 8.10 compiling troubles...

Postby Flecko » Sat Jan 03, 2009 10:58 pm

Greetings Fuzeboxers,

I just wanted to post a heads up to anyone that is trying to compile any of the fuzebox examples or even their own programs under Ubuntu 8.10.

I found that there is a bug in the binutils-avr package that means that the avr-size program doesn't recognize the -C option. The version of avr-size that comes with the default 8.10 supplied version of binutils-avr is outdated. If you get the newer Jaunty version of binutils-avr, there is another bug that strikes concerning the option -mmcu=atmega644.

So for now, if you're using Ubuntu(like I am) then you're out of luck for compiling programs for your Fuzebox. If anyone here knows of a workaround, I'm all ears, but I suppose I'll just have to use VirtualBox to install a VM of some other distro that ships the right versions.

Take care 'boxers!
Flecko
 
Posts: 4
Joined: Sat Jan 03, 2009 10:52 pm

Re: Ubuntu 8.10 compiling troubles...

Postby adafruit » Sun Jan 04, 2009 1:07 am

whats the bug in the latest version that prevents coding for m644???
User avatar
adafruit
 
Posts: 10489
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Ubuntu 8.10 compiling troubles...

Postby Flecko » Sun Jan 04, 2009 11:04 am

Well, as of yesterdays Jaunty binutils-avr, the error I'm seeing is that the assembler doesn't recognize the option -mmcu=atmega644

Code: Select all
flecko@flextop:~/fuzefirmware-v2b2/hello$ make
avr-gcc -I.. -mmcu=atmega644 -Wall -gdwarf-2 -std=gnu99 -DF_CPU=28636360UL -Os -DVIDEO_MODE=1 -fsigned-char -MD -MP -MT hello.o -MF dep/hello.o.d  -c  hello.c
as: unrecognized option '-mmcu=atmega644'
make: *** [hello.o] Error 1


My download of Jaunty finished overnight, so I'm going to see if I can get anything going after I install it. I'll post back the details.
Flecko
 
Posts: 4
Joined: Sat Jan 03, 2009 10:52 pm

Re: Ubuntu 8.10 compiling troubles...

Postby Flecko » Sun Jan 04, 2009 12:29 pm

Good news!

As of todays latest Jaunty updates, everything seems to be working fine, so don't panic!

It looks like just 8.10 that has the troubles. I shouldn't have gotten cocky and mixed Jaunty packages with an 8.10 install. Besides, 9.04 will be out in a few months, so I would recommend running it under Virtualbox until then just because you never know what kind of stability an alpha has.

Good luck 'boxers!
Flecko
 
Posts: 4
Joined: Sat Jan 03, 2009 10:52 pm

Re: Ubuntu 8.10 compiling troubles...

Postby nitrofurano » Sun May 31, 2009 4:36 pm

as soon as having working Uzebox emulator and development tools, please help us making tarballs or binary .deb files, and share them with us! =)
nitrofurano
 
Posts: 1
Joined: Sun May 31, 2009 4:34 pm


Return to Fuzebox

Who is online

Users browsing this forum: No registered users and 1 guest

Stuff to buy from the Adafruit store and links to product documentation!


New Products [102]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]