Hi,

I am in the process of setting up LFS
I have encountered a problem in the second pass of Binutils (section 5.8 
- following the steps of LFS Book 7.2).
Configuration, make and make install processes were OK but I get the 
following error when preparing the linker for the re-adjusting phase 
(p.45) and executing
make -C ld LIB_PATH=/usr/lib:/lib

make: Entering directory `/mnt/lfs/sources/binutils-2.22/ld'
make  all-recursive
make[1]: Entering directory `/mnt/lfs/sources/binutils-2.22/ld'
Making all in po
make[2]: Entering directory `/mnt/lfs/sources/binutils-2.22/ld/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-2.22/ld/po'
make[2]: Entering directory `/mnt/lfs/sources/binutils-2.22/ld'
/bin/bash ./libtool --tag=CC   --mode=link gcc -g -O2 -g -O2 
-no-undefined -rpath /nowhere  -o libldtestplug.la 
libldtestplug_la-testplug.lo  -ldl
libtool: link: gcc -shared  .libs/libldtestplug_la-testplug.o -ldl    
-Wl,-soname -Wl,libldtestplug.so.0 -o .libs/libldtestplug.so.0.0.0
/tools/bin/ld: this linker was not configured to use sysroots
collect2: error: ld returned 1 exit status
make[2]: *** [libldtestplug.la] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/binutils-2.22/ld'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/binutils-2.22/ld'
make: *** [all] Error 2
make: Leaving directory `/mnt/lfs/sources/binutils-2.22/


It is the second time I go through the process and I get the same error 
in both attempts. The first one was abandoned and I started all over 
again in case had skipped s.th. that caused the above problem.
The host OS is Xubuntu 12.10.

Thanks,
P.K.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to