binutils-2.15.92.0.2 first pass, error

Allard Welter allard at quicknet.nl
Thu Nov 25 07:45:46 PST 2004


On Thursday 25 November 2004 11:53, Franklin Roosevelt wrote:
> I am building LFS on a Debian install (2.6.8-1-386 kernel). I am now
> doing the first pass of binutils-2.15.92.0.2.
>
> When I run:
>
> $ make LDFLAGS="-all-static"
>
> I get all the stuff going fine and then:
>
> .............
> .............
> ../../binutils-2.15.92.0.2/binutils/ar.c:148: undefined reference to
> `yyparse' collect2: ld returned 1 exit status
> make[3]: *** [ar] Error 1
> make[3]: Leaving directory `/lfs/sources/binutils-build/binutils'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/lfs/sources/binutils-build/binutils'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/lfs/sources/binutils-build/binutils'
> make: *** [all-binutils] Error 2
>
>
> I tried to find an answer but I didn't find this particular binutils
> error. Any help is much appreciated.

That looks like a flex related error (the yy prefix is a give-away here) 
- compare the versions on lfs and debian. Since it looks like you are 
following unstable, lfs-hackers might be a more appropriate list.

Regards - Allard



More information about the lfs-support mailing list