Rodney Isom wrote:
Hi all,

I'm working through the LFS book and I'm having an issue building GCC
(first time through in Section 5.5). The 'configure' step seems to work
OK, but when I run make, I get an error about 3 minutes in, shown below:

.
.
.
checking for unsigned long long int... yes
checking for uintmax_t... yes
checking for uintptr_t... yes
checking for int64_t underlying type... long long
configure: error: error verifying int64_t uses long long
make[1]: *** [configure-gcc] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2

When I google the 'configure: error:' line, I see that this error occurs,
for some people at least, when you try to build gcc without having g++
installed first.  I'm not exactly a linux newbie, but I'm far from an
expert, so I don't want to go messing around with the process in the book
and installing things out of order.

I did run the configure step last night, but inadvertently just typed
'./configure' without all the options.  Then I did 'make' and it gave an
error right away, so I'm afraid I may have gotten things into a weird
state, but I don't know what to delete in order to get back good place
from which to start the whole process over.  I did 'make clean' and still
get the same result.  This may not even be the problem, but I thought it
might be a possibility.

So....is anyone familiar with the error and a possible remedy?

Check host system requirements.  My best guess is that you have

/bin/sh -> dash

but check ALL the requirements.

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