Code not compiling binutils(cvs), gcc 3.4.4, avr-libc-1.2.5

MiniPOV, MiniPOV2 and MiniPOV3

Moderators: adafruit_support_bill, adafruit

Code not compiling binutils(cvs), gcc 3.4.4, avr-libc-1.2.5

Postby sebbie » Sun Aug 07, 2005 3:25 pm

Hey,

I'm having a problem getting the sample code to compile (unchanged). Here is the error I'm getting

Code: Select all
minipov.c:0: error: MCU `attiny2313' supported for assembler only
In file included from minipov.c:1:


And then a bunch of errors about things not being defined because the device type is not defined.

I'm currently using binutils checked out from cvs (as of today 8/7/5), gcc-3.4.4, and avr-libc-1.2.5 .

gcc 3.4.4 is the latest "release" version of gcc (I think). Does anyone else have this problem? I'm compiling on FreeBSD 5.2.1-RELEASE-p8.
sebbie
 
Posts: 3
Joined: Sun Aug 07, 2005 3:21 pm

Postby sebbie » Sun Aug 07, 2005 3:54 pm

Also just tried binutils 2.16, still the same error.
sebbie
 
Posts: 3
Joined: Sun Aug 07, 2005 3:21 pm

Postby adafruit » Sun Aug 07, 2005 4:55 pm

you dont have the latest version because its supported in the latest version. check what winavr uses and compile that...
User avatar
adafruit
 
Posts: 10550
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Postby sebbie » Sun Aug 07, 2005 5:13 pm

strange. WinAVR uses older versions than what I'm using.
WinAVR uses:
binutils-2.15
gcc-3.4.3
avr-libc-1.2.3
sebbie
 
Posts: 3
Joined: Sun Aug 07, 2005 3:21 pm

Postby adafruit » Sun Aug 07, 2005 6:24 pm

sorry i dont know :(
the very latest winavr works (feb 2005 release or something)
User avatar
adafruit
 
Posts: 10550
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Postby error1 » Mon Aug 08, 2005 3:39 pm

Worked just fine here too when i tried it a few days ago, i installed it on a nearly clean install of windows though. :)
error1
 
Posts: 20
Joined: Thu Aug 04, 2005 12:34 pm
Location: Norway

Postby Guest » Mon Aug 08, 2005 4:01 pm

I was able to compile it on winavr no problem. I was just trying to get it working under freebsd so I could do dev work while on the bus in the morning (and my laptop is freebsd)
Guest
 

Postby remmelt » Wed Aug 10, 2005 6:27 am

Same here. Under Ubuntu there is no include file for the tiny2313, although it is recognised. The compiler knows about the chip, but does not have the proper files to do anything with it... Too bad! I guess we need to wait for an update. Or write one.

In the meantime I have programmed mine in Windows, which works fine. I'd love to go Linux-only though.
remmelt
 

Postby Guest » Thu Aug 11, 2005 8:05 am

Winavr uses a Patched Binutil , that reckognizes the new MCU's

/Bingo
Guest
 

Postby Guest » Thu Aug 11, 2005 8:26 am

Ohh btw

This might come in handy (though i haven't tried it)

Building the AVR Toolchain under Linux
A. J. Erasmus made this homepage
http://home.telkomsa.net/antera/
With a "Recipe" for building a "WinAVR" compatible toolchain under linux (Untested by me)
Do start with the Readme


There is also the new avr-libc 1.25 from savannah

Well guyzz & "Lady .. Ladies"

Have a look at www.avrfreaks.net in the AVR-GCC forum

/Bingo
Guest
 


Return to MiniPOV

Who is online

Users browsing this forum: No registered users and 2 guests

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


New Products [114]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
BeagleBone[23]
 
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[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


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