[Top][All Lists]

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

[Bug binutils/399] New: ar build problem (using bison-1.875?)

From: sampo at symlabs dot com
Subject: [Bug binutils/399] New: ar build problem (using bison-1.875?)
Date: 23 Sep 2004 00:54:22 -0000

All tools built from sources and used successfully for building other software.
host binutils-

Trying to build binutils- (similar problem noted but not reported
with obtained from kernel.org. Fails on linking ar. binutils
was configured with --prefix but otherwise as adviced in INSTALL.

gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o 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.a ../libiberty/libiberty.a -ldl
ar.o(.text+0x1020): In function `main':
../../binutils- multiple definition of `main'
arlex.o(.text+0x0):/s/build-binutils/binutils/arlex.c:1: first defined here
/apps/binutils/std/bin/ld: Warning: size of symbol `main' changed from 16 in
arlex.o to 3488 in ar.o
bucomm.o(.text+0xa06): In function `make_tempname':
../../binutils- the use of `mktemp' is
dangerous, better use `mkstemp'
arparse.o(.text+0x39): In function `yyerror':
undefined reference to `linenumber'
arparse.o(.text+0x402): In function `yyparse':
/s/build-binutils/binutils/y.tab.c:1004: undefined reference to `yylex'
collect2: ld returned 1 exit status
make[3]: *** [ar] Error 1
make[3]: Leaving directory `/d/src/build-binutils/binutils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/d/src/build-binutils/binutils'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/d/src/build-binutils/binutils'
make: *** [all-binutils] Error 2


           Summary: ar build problem (using bison-1.875?)
           Product: binutils
           Version: 2.15
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: sampo at symlabs dot com
                CC: bug-binutils at gnu dot org
  GCC host triplet: linux-ix86


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

reply via email to

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