jung6717 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Error building library "Matrix" - OpenSuSE 11.1 #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I run './arduino', the attached appears on my shell, and in the error
window of the GUI.

I've installed OpenSuSE's packages for avr-gcc-4.3, and it fails as logged
with this version of avr-gcc.  The other package available, in which
"avr-gcc --version" reports: "avr-gcc (GCC) 4.1.3 20080612 (prerelease)
(SUSE Linux)", there is an additional error of "unknown MCU 'atmega328p'
specified" (so I'm not keeping this temporary downgrade) but the logged
errors in building Matrix are mostly unchanged.

I don't own the equipment for the Matrix library to be useful to me, but I
hope it's not indicative of a larger problem.

It's been my experience with gcc that the newer 4.x versions are more
strict in their interpretation of the C standards than they have been in
the past... but I haven't dug into the source enough to figure out how gcc
is being invoked so I can duplicate the problem by hand.

It seems to me that the Matrix library needs to be updated to match gcc's
newer expectations.

Original issue reported on code.google.com by riddo...@gmail.com on 16 Jul 2009 at 10:30

Attachments:

GoogleCodeExporter commented 9 years ago
Ack!

This was evidently my own fault for not including the appropriate repository and
using the default SuSE avr-* packages.

On using packages from 
http://download.opensuse.org/repositories/CrossToolchain:/avr/
it works just fine.  Sorry for the noise!

Original comment by riddo...@gmail.com on 16 Jul 2009 at 11:07

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 17 Jul 2009 at 5:27