make error binutils pass 1

Ken Moffat ken at
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- - 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- -I. -D_GNU_SOURCE -I. -I../../binutils
>       - -I../bfd -I../../binutils- -I../../binutils-2.15.94
>       .0.2/ld/../include -I../../binutils- -I../intl  -g -O2
>       -DLOCALEDIR="\"/tools/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes
>       -g -O2  -c ../../binutils-

 you are using 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 (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 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.

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

More information about the lfs-support mailing list