This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Can't build current binutils trunk on sparc-linux...


Aurora SPARC Linux release 2.0 (Kashmir FC3) UltraSparc IIi (Sabre) sun4u:

binutils-2.15.92.0.2-5 - sparc
bison-1.875c-2 - sparc
dejagnu-1.4.4-2 - noarch
expect-5.42.1-1 - sparc
gcc-3.4.2-6.fc3 - sparc
gcc4-4.0.0-0.8sparc - sparc
glibc-2.3.3-99 - sparc64
glibc-2.3.3-99 - sparcv9
glibc-headers-2.3.3-99 - sparc64
glibc-kernheaders-2.6-20sparc - sparc
kernel-2.6.10-1.1110sparc18 - sparc64
package kernel-smp is not installed
make-3.80-5 - sparc
nptl-devel-2.3.3-99 - sparcv9
tcl-8.4.7-2 - sparc

LAST_UPDATED: Tue Feb 15 14:42:20 UTC 2005

gcc4 -m32 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o .libs/ar arparse.o arlex.o ar.o not-ranlib.o arsup.o rename.o binemul.o emul_vanilla.o bucomm.o version.o filemode.o  ../bfd/.libs/libbfd.so -L/usr/local/src/trunk/objdir-binutils32/libiberty/pic -liberty ../libiberty/libiberty.a ./../intl/libintl.a -Wl,--rpath -Wl,/usr/local/lib
ar.o(.text+0xe7c): In function `main':
/usr/local/src/trunk/src/binutils/ar.c:337: multiple definition of `main'
arlex.o(.text+0x0):/usr/local/src/trunk/objdir-binutils32/binutils/arlex.c:1: first defined here
/usr/bin/ld: Disabling relaxation: it will not work with multiple definitions
/usr/bin/ld: Warning: size of symbol `main' changed from 8 in arlex.o to 3712 in ar.o
bucomm.o(.text+0x474): In function `make_tempname':
/usr/local/src/trunk/src/binutils/bucomm.c:425: warning: the use of `mktemp' is dangerous, better use `mkstemp'
arparse.o(.text+0xc8): In function `yyerror':
/usr/local/src/trunk/src/binutils/arparse.y:201: undefined reference to `linenumber'
arparse.o(.text+0xcc):/usr/local/src/trunk/src/binutils/arparse.y:201: undefined reference to `linenumber'
arparse.o(.text+0x44c): In function `yyparse':
/usr/local/src/trunk/objdir-binutils32/binutils/y.tab.c:1013: undefined reference to `yylex'
collect2: ld returned 1 exit status
make[3]: *** [ar] Error 1
make[3]: Leaving directory `/usr/local/src/trunk/objdir-binutils32/binutils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/trunk/objdir-binutils32/binutils'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/local/src/trunk/objdir-binutils32/binutils'
make: *** [all-binutils] Error 2

Any ideas?

Cheers,

/ChJ


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]