I've done this five hundred times over the past six years; I have NEVER
had this much trouble before.  What the heck did I do wrong?

In file included from ../../gcc-4.1.2/gcc/crtstuff.c:68:
../../gcc-4.1.2/gcc/tsystem.h:90:19: error: stdio.h: No such file or
directory
../../gcc-4.1.2/gcc/tsystem.h:93:23: error: sys/types.h: No such file or
directory
../../gcc-4.1.2/gcc/tsystem.h:96:19: error: errno.h: No such file or
directory
../../gcc-4.1.2/gcc/tsystem.h:103:20: error: string.h: No such file or
directory
../../gcc-4.1.2/gcc/tsystem.h:104:20: error: stdlib.h: No such file or
directory
../../gcc-4.1.2/gcc/tsystem.h:105:20: error: unistd.h: No such file or
directory
In file included from /usr/src/gcc-build/./gcc/include/syslimits.h:7,
                 from /usr/src/gcc-build/./gcc/include/limits.h:11,
                 from ../../gcc-4.1.2/gcc/tsystem.h:108,
                 from ../../gcc-4.1.2/gcc/crtstuff.c:68:
/usr/src/gcc-build/./gcc/include/limits.h:122:61: error: no include path
in which to search for limits.h
In file included from ../../gcc-4.1.2/gcc/crtstuff.c:68:
../../gcc-4.1.2/gcc/tsystem.h:111:18: error: time.h: No such file or
directory
make[2]: *** [crtbegin.o] Error 1

I have checked and rechecked the toolchain from 6.10 and everything
seems right - the specs file has the desired "-isystem /usr/include"
line, and test programs can fine /usr/include/time.h without any errors.
All of the sanity checks produce the correct results - here is the
relevant portion from the dummy.c compile output:

Configured with: ../gcc-4.1.2/configure --prefix=/tools
--with-local-prefix=/tools --enable-clocale=gnu --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++
--disable-libstdcxx-pch
Thread model: posix
gcc version 4.1.2
 /tools/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1 -quiet -v
-isystem /usr/include dummy.c -quiet -dumpbase dummy.c -mtune=pentiumpro
-auxbase dummy -version -o /tmp/ccRBsDKg.s
ignoring nonexistent directory
"/tools/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/include
 /tools/include
 /tools/lib/gcc/i686-pc-linux-gnu/4.1.2/include
End of search list.

I went back and rebuilt the whole thing from the start again, and got
the same error at exactly the same place.

Help!  What else can I test to find the problem, or fix to make it go
away?  I already had to start over once before when I discovered errors
on my new 1-gig DDR... {sigh} and I just know it's going to be some
stupid, fundamental flaw in the way I built the toolchain that's going
to embarrass the living daylights out of me.

-- 
Peter B. Steiger
At The End Of My Rope, WY

----------------------------------------------------------------------
Find out how you can get spam free email.
http://www.bluebottle.com/tag/3

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to