Hii sir, first in pass-1 glibc make and make install successfully done, when m
echo 'int main(){}' > dummy.c $LFS_TGT-gcc dummy.c readelf -l a.out | grep ': /tools' this commands den following output is come mv -f /mnt/lfs/sources/glibc-2.24/build/elf/stubsT /mnt/lfs/sources/glibc-2.24/build/elf/stubs make[2]: Leaving directory '/mnt/lfs/sources/glibc-2.24/elf' (sed '/^@/d' include/stubs-prologue.h; LC_ALL=C sort /mnt/lfs/sources/glibc-2.24/build/csu/stubs /mnt/lfs/sources/glibc-2.24/build/iconv/stubs /mnt/lfs/sources/glibc-2.24/build/locale/stubs /mnt/lfs/sources/glibc-2.24/build/localedata/stubs /mnt/lfs/sources/glibc-2.24/build/iconvdata/stubs /mnt/lfs/sources/glibc-2.24/build/assert/stubs /mnt/lfs/sources/glibc-2.24/build/ctype/stubs /mnt/lfs/sources/glibc-2.24/build/intl/stubs /mnt/lfs/sources/glibc-2.24/build/catgets/stubs /mnt/lfs/sources/glibc-2.24/build/math/stubs /mnt/lfs/sources/glibc-2.24/build/setjmp/stubs /mnt/lfs/sources/glibc-2.24/build/signal/stubs /mnt/lfs/sources/glibc-2.24/build/stdlib/stubs /mnt/lfs/sources/glibc-2.24/build/stdio-common/stubs /mnt/lfs/sources/glibc-2.24/build/libio/stubs /mnt/lfs/sources/glibc-2.24/build/dlfcn/stubs /mnt/lfs/sources/glibc-2.24/build/malloc/stubs /mnt/lfs/sources/glibc-2.24/build/string/stubs /mnt/lfs/sources/glibc-2.24/build/wcsmbs/stubs /mnt/lfs/sources/glibc-2.24/build/timezone/stubs /mnt/lfs/sources/glibc-2.24/build/time/stubs /mnt/lfs/sources/glibc-2.24/build/dirent/stubs /mnt/lfs/sources/glibc-2.24/build/grp/stubs /mnt/lfs/sources/glibc-2.24/build/pwd/stubs /mnt/lfs/sources/glibc-2.24/build/posix/stubs /mnt/lfs/sources/glibc-2.24/build/io/stubs /mnt/lfs/sources/glibc-2.24/build/termios/stubs /mnt/lfs/sources/glibc-2.24/build/resource/stubs /mnt/lfs/sources/glibc-2.24/build/misc/stubs /mnt/lfs/sources/glibc-2.24/build/socket/stubs /mnt/lfs/sources/glibc-2.24/build/sysvipc/stubs /mnt/lfs/sources/glibc-2.24/build/gmon/stubs /mnt/lfs/sources/glibc-2.24/build/gnulib/stubs /mnt/lfs/sources/glibc-2.24/build/wctype/stubs /mnt/lfs/sources/glibc-2.24/build/manual/stubs /mnt/lfs/sources/glibc-2.24/build/shadow/stubs /mnt/lfs/sources/glibc-2.24/build/gshadow/stubs /mnt/lfs/sources/glibc-2.24/build/po/stubs /mnt/lfs/sources/glibc-2.24/build/argp/stubs /mnt/lfs/sources/glibc-2.24/build/crypt/stubs /mnt/lfs/sources/glibc-2.24/build/nptl/stubs /mnt/lfs/sources/glibc-2.24/build/rt/stubs /mnt/lfs/sources/glibc-2.24/build/conform/stubs /mnt/lfs/sources/glibc-2.24/build/debug/stubs /mnt/lfs/sources/glibc-2.24/build/mathvec/stubs /mnt/lfs/sources/glibc-2.24/build/libidn/stubs /mnt/lfs/sources/glibc-2.24/build/nptl_db/stubs /mnt/lfs/sources/glibc-2.24/build/inet/stubs /mnt/lfs/sources/glibc-2.24/build/resolv/stubs /mnt/lfs/sources/glibc-2.24/build/nss/stubs /mnt/lfs/sources/glibc-2.24/build/hesiod/stubs /mnt/lfs/sources/glibc-2.24/build/sunrpc/stubs /mnt/lfs/sources/glibc-2.24/build/nis/stubs /mnt/lfs/sources/glibc-2.24/build/nscd/stubs /mnt/lfs/sources/glibc-2.24/build/streams/stubs /mnt/lfs/sources/glibc-2.24/build/login/stubs /mnt/lfs/sources/glibc-2.24/build/elf/stubs) > /mnt/lfs/sources/glibc-2.24/build/stubs.h if test -r /tools/include/gnu/stubs-64.h && cmp -s /mnt/lfs/sources/glibc-2.24/build/stubs.h /tools/include/gnu/stubs-64.h; \ then echo 'stubs.h unchanged'; \ else /usr/bin/install -c -m 644 /mnt/lfs/sources/glibc-2.24/build/stubs.h /tools/include/gnu/stubs-64.h; fi rm -f /mnt/lfs/sources/glibc-2.24/build/stubs.h make[1]: Leaving directory '/mnt/lfs/sources/glibc-2.24' root@sumi-k:/mnt/lfs/sources/glibc-2.24/build# echo 'int main(){}' > dummy.c *root@sumi-k:/mnt/lfs/sources/glibc-2.24/build# $LFS_TGT-gcc dummy.cx86_64-lfs-linux-gnu-gcc: command not found* and ill continue to install next package then libstdc++ is also successfully done, and when m in *pass-2 binutils* then it show error: C compiler cannot create executables root@sumi-k:/mnt/lfs/sources# tar -xf binutils-2.27.tar.bz2 root@sumi-k:/mnt/lfs/sources# cd binutils-2.27 root@sumi-k:/mnt/lfs/sources/binutils-2.27# mkdir -v build mkdir: created directory 'build' root@sumi-k:/mnt/lfs/sources/binutils-2.27# cd build root@sumi-k:/mnt/lfs/sources/binutils-2.27/build# CC=$LFS_TGT-gcc \ > AR=$LFS_TGT-ar \ > RANLIB=$LFS_TGT-ranlib \ > ../configure \ > --prefix=/tools \ > --disable-nls \ > --disable-werror \ > --with-lib-path=/tools/lib \ > --with-sysroot checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed checking for gawk... gawk checking for gcc... x86_64-lfs-linux-gnu-gcc checking for C compiler default output file name... configure: error: in `/mnt/lfs/sources/binutils-2.27/build': *configure: error: C compiler cannot create executables* See `config.log' for more details. root@sumi-k:/mnt/lfs/sources/binutils-2.27/build# and* host system requirement output * root@sumi-k:/home/sumi# bash version-check.sh bash, version 4.3.46(1)-release /bin/sh -> /bin/bash Binutils: (GNU Binutils for Ubuntu) 2.26.1 bison (GNU Bison) 3.0.4 /usr/bin/yacc -> /usr/bin/bison.yacc bzip2, Version 1.0.6, 6-Sept-2010. Coreutils: 8.25 diff (GNU diffutils) 3.3 find (GNU findutils) 4.7.0-git GNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.4, GNU MP 6.1.0) /usr/bin/awk -> /usr/bin/gawk gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609 g++ (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609 (Ubuntu GLIBC 2.23-0ubuntu3) 2.23 grep (GNU grep) 2.25 gzip 1.6 Linux version 4.4.0-34-generic (buildd@lgw01-20) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2.1) ) #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 m4 (GNU M4) 1.4.17 GNU Make 4.1 GNU patch 2.7.5 Perl version='5.22.1'; sed (GNU sed) 4.2.2 tar (GNU tar) 1.28 texi2any (GNU texinfo) 6.1 xz (XZ Utils) 5.1.0alpha g++ compilation OK ill try so many times,but i cant solve, host system-ubuntu-16.4 with letest update LFS version-7.10 letest last this u also see. root@sumi-k:/home/sumi# * ls -ltc /bin/shlrwxrwxrwx 1 root root 4 Aug 21 18:10 /bin/sh -> bash* root@sumi-k:/home/sumi# *ls -ltc /usr/bin/awklrwxrwxrwx 1 root root 21 Aug 21 17:26 /usr/bin/awk -> /etc/alternatives/awk* root@sumi-k:/home/sumi# *ls -ltc /etc/alternatives/awklrwxrwxrwx 1 root root 13 Aug 21 18:12 /etc/alternatives/awk -> /usr/bin/gawk* root@sumi-k:/home/sumi# *ls -ltc /etc/alternatives/yacclrwxrwxrwx 1 root root 19 Aug 21 18:14 /etc/alternatives/yacc -> /usr/bin/bison.yacc* *THANKS IN ADVANCE*
-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style