errors while compiling binutils 2.16.1
Hi, I am trying to build my own linux for the 1st time, but am stuck in the early stage itself...
I use Fedora core 6 as my host system, I am referring to the LFS book ver. 6.2 and am currently in chapter 5.3 I get these errors when I do 'make -C ld LIB_PATH=/tools/lib' i.e., after make & make install.... This is what i get in the ending part of the output: - Code:
/tools/bin/ld: unrecognized option '--hash-style=gnu' |
Hi,
Although I've never tried it myself, I've read that fedora is not a good choice as a base system. Did you do the base system check (especially binutils, which holds the ld executable)? Hope this helps. |
I had checked the host sys requirements.... but there it said:
"Binutils-2.12 (Versions greater than 2.16.1 are not recommended as they have not been tested)" But im having binutils-2.17.5 I knew this before but thought of trying, now what should i do, is there a way to down-grade my binutils package? |
Hi,
The best way to 'continue' (actually: start over) is to download and burn the LFS liveCD and use that as a base system (it's made for that purpose). You are in the early stages of setting up LFS, so starting over again shouldn't be that big an issue. |
Hello !
In fact it's not difficult (and documented in the LFS stable errata) ... You have to prefix the command given in the book for the "configure" part with CC="gcc -B/usr/bin" ... You'll have to do that with gcc-pass1 also ... That's it ... (the cause is that your host has binutils higher than 2.16.1 and it uses some parameters which are unknown to 2.16.1) |
All times are GMT -5. The time now is 04:18 AM. |