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

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

[avr-libc-dev] Problems building binutils 2.19


From: rr
Subject: [avr-libc-dev] Problems building binutils 2.19
Date: Tue, 18 Aug 2009 11:17:08 +0100
User-agent: Thunderbird 1.5.0.12 (X11/20060911)

Hi!

I was updating my tool chain and starting with the binutils 2.19.

Following the avr-libc manual, I downloaded binutils 2.19, unziped it,
applied the following patches from the winavr SVN repositories:

30-binutils-2.19-avr-size.patch
31-binutils-2.19-avr-coff.patch
32-binutils-2.19-new-sections.patch
33-binutils-2.19-data-origin.patch
40-binutils-2.19-wrong-arch.patch
50-binutils-2.19-xmega.patch
51-binutils-2.19-xmega2.patch
52-binutils-2.19-atmega32u6.patch

using the command:

mypc:~/binutils-2.19> patch -p0 < 30-binutils-2.19-avr-size.patch

and so on.
Then:

mypc:~/binutils-2.19> md obj-avr
mypc:~/binutils-2.19> cd obj-avr
mypc:~/binutils-2.19> ../configure --prefix=/usr/local/AVR --target=avr
--disable-nls
mypc:~/binutils-2.19> make

And then I got these errors:
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../bfd -I. -I. -I../../bfd -I../../bfd/../include     -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c -o
elf32-avr.lo ../../bfd/elf32-avr.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../bfd -I. -I.
-I../../bfd -I../../bfd/../include -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Werror -g -O2 -c ../../bfd/elf32-avr.c -o elf32-avr.o
../../bfd/elf32-avr.c: In function 'bfd_elf_avr_final_write_processing':
../../bfd/elf32-avr.c:1331: error: 'bfd_mach_avrxmega1' undeclared
(first use in this function)
../../bfd/elf32-avr.c:1331: error: (Each undeclared identifier is
reported only once
../../bfd/elf32-avr.c:1331: error: for each function it appears in.)
../../bfd/elf32-avr.c:1335: error: 'bfd_mach_avrxmega2' undeclared
(first use in this function)
../../bfd/elf32-avr.c:1339: error: 'bfd_mach_avrxmega3' undeclared
(first use in this function)
../../bfd/elf32-avr.c:1343: error: 'bfd_mach_avrxmega4' undeclared
(first use in this function)
../../bfd/elf32-avr.c:1347: error: 'bfd_mach_avrxmega5' undeclared
(first use in this function)
../../bfd/elf32-avr.c:1351: error: 'bfd_mach_avrxmega6' undeclared
(first use in this function)
../../bfd/elf32-avr.c:1355: error: 'bfd_mach_avrxmega7' undeclared
(first use in this function)
../../bfd/elf32-avr.c: In function 'elf32_avr_object_p':
../../bfd/elf32-avr.c:1422: error: 'bfd_mach_avrxmega1' undeclared
(first use in this function)
../../bfd/elf32-avr.c:1426: error: 'bfd_mach_avrxmega2' undeclared
(first use in this function)
../../bfd/elf32-avr.c:1430: error: 'bfd_mach_avrxmega3' undeclared
(first use in this function)
../../bfd/elf32-avr.c:1434: error: 'bfd_mach_avrxmega4' undeclared
(first use in this function)
../../bfd/elf32-avr.c:1438: error: 'bfd_mach_avrxmega5' undeclared
(first use in this function)
../../bfd/elf32-avr.c:1442: error: 'bfd_mach_avrxmega6' undeclared
(first use in this function)
../../bfd/elf32-avr.c:1446: error: 'bfd_mach_avrxmega7' undeclared
(first use in this function)
make[4]: *** [elf32-avr.lo] Error 1


I assume I'm doing something wrong, as I found no one else reporting
this problem, so I would like to know what am I doing wrong.

Thanks!




reply via email to

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