Error while compiling Binutils-2.17

Althaf Backer 13prana87 at gmail.com
Thu Sep 20 22:51:34 PDT 2007


Dear LFS
             Im really thankful for creation of a concept like LFS..... for
me this is a great gift....

OK lets come to the point ......

Details --
Book version:--6.3
Package section:--Binutils-2.17
Distro:--Slackware 12
Package section:--Binutils
Section is the book:--Part III. Building the LFS System
Error Message :--
<
   This error message is from 2.15 version compilation ,
   same error was prevalent  in 2.17.
   2.15 was used for cross testing with 2.17
>
|--
.
...
.
 /sorc/binutils-build/binutils/arlex.c:1: multiple definition of `main'
arparse.o:/sorc/binutils-build/binutils/arparse.c:1: first defined here
ar.o: In function `main':
/sorc/binutils-build/binutils/../../binutils-2.15.92.0.2/binutils/ar.c:342:
multiple definition of `main'
arparse.o:/sorc/binutils-build/binutils/arparse.c:1: first defined here
bucomm.o: In function `make_tempname':
/sorc/binutils-build/binutils/../../binutils-2.15.92.0.2/binutils/bucomm.c:425:
warning: the use of `mktemp' is dangerous, better use `mkstemp'
ar.o: In function `mri_emul':
ar.c:(.text+0xbc2): undefined reference to `yyparse'
collect2: ld returned 1 exit status
make[3]: *** [ar] Error 1
make[3]: Leaving directory `/sorc/binutils-build/binutils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/sorc/binutils-build/binutils'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/sorc/binutils-build/binutils'
make: *** [all-binutils] Error 2
--|
Deviation :-- No
All compilation till Part III. Building the LFS System was flaw less
I'm unable to find source level error...
I hope there is a solution

Thank you
Althaf



More information about the lfs-support mailing list