Results 1 to 3 of 3
Maybe Ubuntu Feisty is not a good base system, I don't know. The book says to do this with binutils, (which is the first package to compile) Code: mkdir -v ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-28-2007 #1
A little LFS problem...
mkdir -v ../binutils-build cd ../binutils-build
../binutils-2.16.1/configure --prefix=/tools --disable-nls
make and make install all work fine then I come to make clean part in which the book says the following:
Next, prepare the linker for the “Adjusting” phase later on:
make -C ld clean make -C ld LIB_PATH=/tools/lib cp -v ld/ld-new /tools/bin
/mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lc collect2: ld returned 1 exit status make: *** [ld-new] Error 1 make: Leaving directory `/mnt/lfs/sources/binutils-build/ld' make: *** [all-recursive] Error 1 make: Leaving directory `/mnt/lfs/sources/binutils-build/ld' make: *** [all-recursive-am] Error 2 make: Leaving directory `/mnt/lfs/sources/binutils-build/ld' lfs@illianoir:/mnt/lfs/sources/binutils-build$
Don't find a similar problem anywhere...someone who can perhaps help ?
- 06-28-2007 #2
OK I found the problem, it was missing libc.so file under $LFS/tools/lib/ so I copied that from /usr/lib/ (as the version of GCC I have on my system is the same one I am to compile for LFS). That solved the problem
- 06-29-2007 #3
Good luck with LFS, always makes good practicePut your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums