I had the same issue using version 7.9 with my University Linux class. I had them roll back to version 7.8 and no issues. My 2 cents. Kerry
On Friday, September 2, 2016, smith.aaron <[email protected]> wrote: > Hi everyone, > > Have run into difficulty trying to install binutils at the start of LFS > chapter 5. I spent the last two days slowly re-reading up to chapter five, > googling around, and correcting any mistakes I found, but to no avail. I > found plenty online close to describing my specific symptoms, but nothing > that exactly addressed it, or enabled me to figure the problem out. > > First here is the terminal output where I encounter the problem: > > !Y+lfs@kali:/mnt/sda7/sources/binutils-2.27/build$ ../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... /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/sda7/sources/binutils-2.27/build': > configure: error: C compiler cannot create executables > See `config.log' for more details. > lfs@kali:/mnt/sda7/sources/binutils-2.27/build$ > > > > > Here is the output of version-check.sh. Hopefully I am just including this > for reference/to show everything is ok in this regard... > > bash, version 4.3.46(1)-release > /bin/sh -> /bin/bash > Binutils: (GNU Binutils for Debian) 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-p2, GNU MP 6.1.1) > /usr/bin/awk -> /usr/bin/gawk > gcc (Debian 6.1.1-11) 6.1.1 20160802 > g++ (Debian 6.1.1-11) 6.1.1 20160802 > (Debian GLIBC 2.23-5) 2.23 > grep (GNU grep) 2.25 > gzip 1.6 > Linux version 4.6.0-kali1-686-pae ([email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>) (gcc version 5.4.0 > 20160609 (Debian 5.4.0-6) ) #1 SMP Debian 4.6.4-1kali1 (2016-07-21) > m4 (GNU M4) 1.4.17 > GNU Make 4.1 > GNU patch 2.7.5 > Perl version='5.22.2'; > sed (GNU sed) 4.2.2 > tar (GNU tar) 1.29 > texi2any (GNU texinfo) 6.1 > xz (XZ Utils) 5.1.0alpha > g++ compilation OK > > > Finally, here is the config.log mentioned in the terminal. I think I cut > and paste the right bit of it. Overall it was very big and I am not sure of > mailing list etiquette, so tried to just get the relevant bit. I am > confident I have entered any other commands correctly (except that of > course I am having this problem, so...!) > > > lfs@kali:/mnt/sda7/sources/binutils-2.27/build$ ../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... /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 defa > > > Any help will be greatly appreciated! Thanks for the book and community - > although I have run into trouble here I think it is going to be of great > help for me. > > > -- --- Kerry Cox, Ph.D. Neumont University Faculty http://www.neumont.edu Work: 801.302.2861 Cell: 801.554.7706 [email protected]
-- 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
