[lfs-support] please tell the error

prashant dawar prashantdawar.2008 at gmail.com
Thu Nov 15 04:14:54 PST 2012

i followed the guide . have a problem in section 5,.4 binutils-2.22-pass1
 5.4.1 installation of cross binutils
LFS and LFS_TGT are properly set and permission to binutils-build and
binutils-2.22 directories are 777 and every file in binutils-2.22 are also

lfs at dell-OptiPlex-780:/mnt/lfs/sources/binutils-build$
/mnt/lfs/sources/binutils-2.22/configure --prefix=/tools
--with-sysroot=$LFS --with-lib-path=/tools/lib --target=$LFS_TGT
--disable-nls --disable-werror
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-lfs-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... gcc
checking for C compiler default output file name...
configure: error: in `/mnt/lfs/sources/binutils-build':
configure: error: C compiler cannot create executables
See `config.log' for more details.
lfs at dell-OptiPlex-780:/mnt/lfs/sources/binutils-build$

config.log file is attached. help please.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20121115/365b96db/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 11625 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20121115/365b96db/attachment.obj>

More information about the lfs-support mailing list