Unable to build binutils from source
Ivan Godard
igodard@pacbell.net
Sat Dec 31 05:54:00 GMT 2005
Doing the usual ./configure;make, but the make fails:
/bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototy
pes -Werror -g -O2 -o ar.exe arparse.o arlex.o ar.o not-ranlib.o arsup.o rena
me.o binemul.o emul_vanilla.o bucomm.o version.o filemode.o ../bfd/libbfd.la ../
libiberty/libiberty.a ./../intl/libintl.a
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -o ar.exe a
rparse.o arlex.o ar.o not-ranlib.o arsup.o rename.o binemul.o emul_vanilla.o buc
omm.o version.o filemode.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a ./../
intl/libintl.a
arlex.o: In function `main':
/home/ivan/tmp/binutils-20050610-1/binutils/arlex.c:1: multiple definition of `_
main'
arparse.o:/home/ivan/tmp/binutils-20050610-1/binutils/arparse.c:1: first defined
here
ar.o: In function `main':
/home/ivan/tmp/binutils-20050610-1/binutils/ar.c:337: multiple definition of `_m
ain'
arparse.o:/home/ivan/tmp/binutils-20050610-1/binutils/arparse.c:1: first defined
here
ar.o: In function `mri_emul':
/home/ivan/tmp/binutils-20050610-1/binutils/ar.c:143: undefined reference to `_y
yparse'
collect2: ld returned 1 exit status
make[3]: *** [ar.exe] Error 1
Problem occurs with both Cygwin sources and sources from gnu.org. I did a binary
install of binutils fine, but can't reconstruct from source, suggesting an
environmental problem, but have compared environment with Linux (where binutils
builds successfully) and can't see a difference. Nothing in the archive on this
I cound find. cygcheck.out attached.
Ivan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20051231/5ae6f6d5/attachment.ksh>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list