Jun Hu wrote:
Hi,
I got following errors when using the configure command in 5.8:
My host system is Ubuntu 14.04 x86_64

"
...
configure: WARNING: stdbool.h: present but cannot be compiled
configure: WARNING: stdbool.h:     check for missing prerequisite headers?
configure: WARNING: stdbool.h: see the Autoconf documentation
configure: WARNING: stdbool.h:     section "Present But Cannot Be Compiled"
configure: WARNING: stdbool.h: proceeding with the compiler's result
checking for stdbool.h... no
checking stdalign.h usability... no
checking stdalign.h presence... yes
configure: WARNING: stdalign.h: present but cannot be compiled
configure: WARNING: stdalign.h:     check for missing prerequisite headers?
configure: WARNING: stdalign.h: see the Autoconf documentation
configure: WARNING: stdalign.h:     section "Present But Cannot Be Compiled"
configure: WARNING: stdalign.h: proceeding with the compiler's result
checking for stdalign.h... no
checking for the value of EOF... configure: error: computing EOF failed
"
all the previous steps are successful, include dummy.c test in step 5.7:
"
lfs@vm-svr:/mnt/LFS/sources/gcc-build$ echo 'int main(){}' > dummy.c
lfs@vm-svr:/mnt/LFS/sources/gcc-build$ $LFS_TGT-gcc dummy.c
lfs@vm-svr:/mnt/LFS/sources/gcc-build$ readelf -l a.out | grep ': /tools'
       [Requesting program interpreter: /tools/lib64/ld-linux-x86-64.so.2]
"
I searched around, and found there was an email thread
<http://archive.linuxfromscratch.org/mail-archives/lfs-support/2014-May/046941.html>
about same problem last year, however there was no solution in that
thread and it seems OP's situation is a bit different from mine (the
dummy.c test failed in his case)

any idea what might be wrong in my case?

Did you ensure all the host requirements were met? See Section vii, Host System Requirements in the Preface.

  -- Bruce

--
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

Reply via email to