[ECOS] building binutils under Cygwin fails

Grant Edwards Grant.Edwards@comtrol.com
Tue Aug 22 09:52:00 GMT 2000


Title: building binutils under Cygwin fails






I followed the instructions at 


     http://sources.redhat.com/ecos/tools/win-arm-elf.html


pretty much to the letter under a fresh installation of the current net
release of Cygwin, and the binutils-2.10 build fails (it builds fine under
Linux of course, but the application programmers are dead set on using
Winders as their development platform -- may god have mercy on their souls).


Anybody have any ideas?  


Building a native binutils under Cygwin fails at the same point with
"bfd-i386-arch" (or some such symbol) undefined.


The tail of make.out is below:


[...]
make[3]: Entering directory `/home/administrator/binutils-build/binutils'
gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.10/binutils -I. -D_GNU_SOURCE -I. -I../../binutils-2.10/binutils -I../bfd -I../../binutils-2.10/binutils/../bfd -I../../binutils-2.10/binutils/../include  -I../../binutils-2.10/binutils/../intl -I../intl -DLOCALEDIR="\"/tools/share/locale\""    -g -O2 -W -Wall -c ../../binutils-2.10/binutils/size.c

gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.10/binutils -I. -D_GNU_SOURCE -I. -I../../binutils-2.10/binutils -I../bfd -I../../binutils-2.10/binutils/../bfd -I../../binutils-2.10/binutils/../include  -I../../binutils-2.10/binutils/../intl -I../intl -DLOCALEDIR="\"/tools/share/locale\""    -g -O2 -W -Wall -c ../../binutils-2.10/binutils/bucomm.c

gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.10/binutils -I. -D_GNU_SOURCE -I. -I../../binutils-2.10/binutils -I../bfd -I../../binutils-2.10/binutils/../bfd -I../../binutils-2.10/binutils/../include  -I../../binutils-2.10/binutils/../intl -I../intl -DLOCALEDIR="\"/tools/share/locale\""    -g -O2 -W -Wall -c ../../binutils-2.10/binutils/version.c

gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.10/binutils -I. -D_GNU_SOURCE -I. -I../../binutils-2.10/binutils -I../bfd -I../../binutils-2.10/binutils/../bfd -I../../binutils-2.10/binutils/../include  -I../../binutils-2.10/binutils/../intl -I../intl -DLOCALEDIR="\"/tools/share/locale\""    -g -O2 -W -Wall -c ../../binutils-2.10/binutils/filemode.c

/bin/sh ./libtool --mode=link gcc  -g -O2 -W -Wall  -o size.exe  size.o bucomm.o version.o filemode.o ../bfd/libbfd.la ../libiberty/libiberty.a ./../intl/libintl.a 

mkdir .libs
gcc -g -O2 -W -Wall -o size.exe size.o bucomm.o version.o filemode.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a ./../intl/libintl.a

../bfd/.libs/libbfd.a(archures.o): In function `bfd_archures_list':
/home/administrator/binutils-build/bfd/../../binutils-2.10/bfd/archures.c(.text+0x0): undefined reference to `bfd_arm_arch'

collect2: ld returned 1 exit status
make[3]: *** [size.exe] Error 1
make[3]: Leaving directory `/home/administrator/binutils-build/binutils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/administrator/binutils-build/binutils'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/administrator/binutils-build/binutils'
make: *** [all-binutils] Error 2
make: Leaving directory `/home/administrator/binutils-build'


-- 
Grant Edwards
grante@visi.com






More information about the Ecos-discuss mailing list