binutils-2.15.92.0.2 first pass, error
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. |
anybody help?
|
I've almost finished getting LFS up and running and have had a few errors like this. Have a look back through the book and make sure there isn't something you've missed or entered incorrectly. Make sure you follow every instruction to the letter.
Sorry i can't be more specific but nearly all my errors have been a result of me missing a step. |
Quote:
|
I have tried twice more, but it didn't work yet. :(
|
binutils
Hi,
binutils 2.14 is the latest stable version. Try this one iso 2.15.* . - Tom |
Re: binutils-2.15.92.0.2 first pass, error
Quote:
HJL binutils requires these packages to generate certain files. With FSF binutils, bison and flex are not required (the generated files are generated by the release team prior to creating the release tarballs) If bison and flex are not installed on the host, either install the packages using your hosts package management, or build and install them yourself. Methinks there needs to be a big note in the book stating that bison and flex are required... Regards [R] |
Thanks mdh,
I just started a new LFS 6.0 build with a zipslack host system (migrated to an ext2 partition). I had added just the minimum development tools to compile, so your solution really saved me a lot of time diagnosing and downloading. Enjoy! --- Cerbere |
All times are GMT -5. The time now is 09:01 PM. |