> -----Original Message----- > From: Rolf Ebert [mailto:[EMAIL PROTECTED] > Sent: Sunday, May 25, 2008 5:16 AM > To: avr-libc-dev@nongnu.org > Cc: Weddington, Eric > Subject: Re: [avr-libc-dev] Problems with binutils patches > > Hi Eric, > > Weddington, Eric schrieb: > > I have had some reports of binutils 2.18 patches failing to > patch (Hi, > > Blake), but we have yet to track down exactly what the problem is. > > > > Attached is a .zip file containing the binutils 2.18 > patches that I'm > > using. Let me know how it works out for you. > > All of the of 2.18 patches in your ZIP file apply cleanly. No > patching > problem anymore. But when compiling the patched sources I > get the error: > > /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I../../binutils-2.18/bfd -I. -D__USE_MINGW_FSEEK -I. > -I../../binutils-2.18/bfd -I../../binutils-2.18/bfd/../include > -I./../intl -W -Wall -Wstrict-prototypes > -Wmissing-prototypes -Werror > -g -O2 -c -o cpu-avr.lo ../../binutils-2.18/bfd/cpu-avr.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. > -I../../binutils-2.18/bfd -I. > -D__USE_MINGW_FSEEK -I. -I../../binutils-2.18/bfd > -I../../binutils-2.18/bfd/../include > -I./../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes > -Werror -g > -O2 -c ../../binutils-2.18/bfd/cpu-avr.c -o cpu-avr.o > ../../binutils-2.18/bfd/cpu-avr.c:92: error: 'bfd_mach_avrxmega1' > undeclared here (not in a function) > ../../binutils-2.18/bfd/cpu-avr.c:95: error: 'bfd_mach_avrxmega2' > undeclared here (not in a function) > ../../binutils-2.18/bfd/cpu-avr.c:98: error: 'bfd_mach_avrxmega3' > undeclared here (not in a function) > ../../binutils-2.18/bfd/cpu-avr.c:101: error: 'bfd_mach_avrxmega4' > undeclared here (not in a function) > ../../binutils-2.18/bfd/cpu-avr.c:104: error: 'bfd_mach_avrxmega5' > undeclared here (not in a function) > ../../binutils-2.18/bfd/cpu-avr.c:107: error: 'bfd_mach_avrxmega6' > undeclared here (not in a function) > ../../binutils-2.18/bfd/cpu-avr.c:110: error: 'bfd_mach_avrxmega7' > undeclared here (not in a function) > make[4]: *** [cpu-avr.lo] Error 1 >
After the configuration step, you have to do "make headers" before building, like so: make maybe-configure-bfd 2>&1 | tee $package-make-configure-bfd.log pushd bfd make headers 2>&1 | tee $package-make-headers.log popd make all html install install-html 2>&1 | tee $package-make.log _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev