On 30/03/2018 20:41, miguel caldas wrote: > > When I try to configure the package using this command: > > ../configure \ > --prefix=/tools \ > --host=$LFS_TGT \ > --build=$(../scripts/config.guess) \ > --enable-kernel=3.2 \ > --with-headers=/tools/include \ > libc_cv_forced_unwind=yes \ > libc_cv_c_cleanup=yes > > I get this error message: > > checking build system type... x86_64-pc-linux-gnu > checking host system type... x86_64-lfs-linux-gnu > checking for x86_64-lfs-linux-gnu-gcc... x86_64-lfs-linux-gnu-gcc > checking for suffix of object files... configure: error: in > `/media/lfs/Root/sources/glibc-2.27/build': > configure: error: cannot compute suffix of object files: cannot compile > See `config.log' for more details >
What does "x86_64-lfs-linux-gnu-gcc" return? To run this command, you should be logged as user lfs, and the lfs partition (to /media/lfs/Root, if I understand correctly) should be mounted. Also, try "ls -l /tools". It should return (with a different date and time of course): lrwxrwxrwx 1 root root 14 févr. 14 17:44 /tools -> /media/lfs/Root/tools Pierre -- 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