Hi,

 

> Message du 27/02/13 10:24

> De : "Pantelis Karamolegkos" 
> A : lfs-support@linuxfromscratch.org
> Copie à : 
> Objet : [lfs-support] /tools/bin/ld: this linker was not configured to use 
> sysroots
> 
> 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
> 
...
> 
> 
> 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.
First, are you sure that /bin/sh is a link to /bin/bash ? (with [.]ubuntu, this 
link is by default to /bin/dash) see 
http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html)

 

Second, the configure command of binutils is

CC=$LFS_TGT-gcc \
AR=$LFS_TGT-ar \
RANLIB=$LFS_TGT-ranlib \
../binutils-2.22/configure \
--prefix=/tools \
--disable-nls \
--with-lib-path=/tools/lib
the "\" is not an enter.
this command is the same as : 
"CC=$LFS_TGT-gcc AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib 
../binutils-2.22/configure --prefix=/tools --disable-nls 
--with-lib-path=/tools/lib"

On the french help forum of lfs, a user has replaced "\" by "enter" and the 
error of the "make -C ld LIB_PATH=/usr/lib:/lib" was the same (/tools/bin/ld: 
this linker was not configured to use sysroots).

Welcome to the LFS adventure ;o)

Myou



-- 
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