Dear list, after encountering a problem and searching the internet I decided to start a fresh 7.3 install - which was also suggested to someone encountering the same error but on different LFS version. However, at section 5.8.1 (binutils pass 2) the following error is given now at command "make -C ld LIB_PATH=/usr/lib:/lib":
---------------------8<---------------- [...] /bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -g -O2 -no-undefined -rpath /nowhere -o libldtestplug.la libldtestplug_la-testplug.lo -lz -ldl libtool: link: gcc -shared .libs/libldtestplug_la-testplug.o -lz -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 `/media/lfs/e32e48f2-ea36-4622-89e5-19e22084a06e/sources/binutils-build/ld' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/media/lfs/e32e48f2-ea36-4622-89e5-19e22084a06e/sources/binutils-build/ld' make: *** [all] Error 2 make: Leaving directory `/media/lfs/e32e48f2-ea36-4622-89e5-19e22084a06e/sources/binutils-build/ld' ---------------------8<---------------- As "/tools/bin/ld: this linker was not configured to use sysroots" was given, I started again a fresh install explicitly checking correctness and completeness of all commands typed by me but still get the same error. It might also be interestingly to you to know that I got the following warning at section 5.7 (glibc): -------------------8<-------------------- configure: WARNING: *** These auxiliary programs are missing or *** incompatible versions: autoconf *** some features will be disabled. *** Check the INSTALL file for required versions. -------------------8<-------------------- Note: autoconf is installed, version 2.69 Host is Lubuntu 13.04, the output of version-check is attached to this email (although /bin/sh is a link to dash, echo $SHELL output is bash). Any advice is welcome. Thanks in advance, Seba
bash, version 4.2.45(1)-release /bin/sh -> /bin/dash Binutils: (GNU Binutils for Ubuntu) 2.23.2 bison (GNU Bison) 2.5 /usr/bin/yacc -> /usr/bin/bison.yacc bzip2, Version 1.0.6, 6-Sept-2010. Coreutils: 8.20 diff (GNU diffutils) 3.2 find (GNU findutils) 4.4.2 GNU Awk 4.0.1 /usr/bin/awk -> /usr/bin/gawk gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 (Ubuntu EGLIBC 2.17-0ubuntu5) 2.17 grep (GNU grep) 2.14 gzip 1.5 Linux version 3.8.0-26-generic (buildd@panlong) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ) #38-Ubuntu SMP Mon Jun 17 21:43:33 UTC 2013 m4 (GNU M4) 1.4.16 GNU Make 3.81 patch 2.6.1 Perl version='5.14.2'; GNU sed version 4.2.1 tar (GNU tar) 1.26 Texinfo: makeinfo (GNU texinfo) 4.13 xz (XZ Utils) 5.1.0alpha gcc compilation OK
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page