avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] avr-libc 1.8.1 cannot be built


From: Karol Babioch
Subject: [avr-libc-dev] avr-libc 1.8.1 cannot be built
Date: Wed, 20 Aug 2014 16:53:02 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

Hi,

I can built avr-libc 1.8.0 just fine with the following commands:

address@hidden avr-libc-1.8.0]$ ./configure
--build=x86_64-unknown-linux-gnu --host=avr --prefix=/usr
address@hidden avr-libc-1.8.0]$ make

However, the same won't work for avr-libc 1.8.1 as it complains about a
device type not being defined:

The output is quite long, but essentially it looks something like this:

avr-gcc -DHAVE_CONFIG_H -I. -I../../../..  -I../../../../common
-I../../../../include -I../../../../include  -I../../../../common
-I../../../../include -I../../../../include -x assembler-with-cpp
-mmcu=atxmega256a3bu  -DIOSYMFILE=\"iosym/atxmega256a3bu.S\"   -MT
gcrt1.o -MD -MP -MF .deps/gcrt1.Tpo -c -o gcrt1.o ../../../../crt1/gcrt1.S
In file included from ../../../../common/macros.inc:39:0,
                 from ../../../../crt1/gcrt1.S:40:
../../../../include/avr/io.h:530:6: warning: #warning "device type not
defined" [-Wcpp]
 #    warning "device type not defined"
      ^
../../../../crt1/gcrt1.S: Assembler messages:
../../../../crt1/gcrt1.S:55: Error: non-constant expression in ".if"
statement

[...]

Makefile:411: recipe for target 'gcrt1.o' failed
make[5]: *** [gcrt1.o] Error 1

I've found this thread [1] with an answer from Joerg Wunsch, but I'm not
sure what to make of it. Is this a mistake on my side (why does it work
for avr-libc 1.8.0 then?) or is there something wrong with the build
tools? My avr-gcc version is 4.9.0 in case it makes any difference.

Thanks in advance!

Best regards,
Karol Babioch

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]