make error binutils pass 1

Ken Moffat ken at kenmoffat.uklinux.net
Thu Jun 30 14:40:39 PDT 2005


On Thu, 30 Jun 2005, James Lytle wrote:


> I am getting an error in section 5.4 Binutils-2.15.91.0.2 - Pass 1.
> Everything seems to work correctly, and I don't notice anything other
> than warnings, until the very last line, as follows:
>

 That sounds as if you are following the 6.0 book, except

> gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.15.94.0.2/ld -I. -D_GNU_SOURCE -I. -I../../binutils
>       -2.15.94.0.2/ld -I../bfd -I../../binutils-2.15.94.0.2/ld/../bfd -I../../binutils-2.15.94
>       .0.2/ld/../include -I../../binutils-2.15.94.0.2/ld/../intl -I../intl  -g -O2
>       -DLOCALEDIR="\"/tools/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes
>       -g -O2  -c ../../binutils-2.15.94.0.2/ld/ldlang.c

 you are using 2.15.94.0.2 which isn't in any recognizable version of
the book.  I haven't seen a version of the nearly-released 6.1 book
recently, but last I heard that was using 2.15.94.0.2.2 (note extra .2).

 If this is your first LFS, the standard advice is FBBG (follow book,
book good) - in particular, make sure you've got the _exact_ versions
listed in it.  I'm not saying 2.15.94.0.2.2 will solve this, but your
listed errors are not exactly common.

 The undefined names look as if they _might_ be yacc definitions, so if
the correct binutils for your version of the book doesn't help, you also
need to confirm your host has the "unholy trinity" of m4, bison [ which
provides yacc these days ] and flex installed.

Ken
-- 
 das eine Mal als Tragödie, das andere Mal als Farce




More information about the lfs-support mailing list