Lots of Errors gcc make check

Ralph Porter rportermail at gmail.com
Sat Nov 1 12:19:23 PDT 2008


Thank you Ken,

I did indeed have all the old source directories, although, I was
compiling in a new build dir.  Seems strange that the presence of the
old source for other packages would effect the compile.

The make test had only one failure.



On 11/1/08, Ken Moffat <ken at linuxfromscratch.org> wrote:
> On Sat, Nov 01, 2008 at 09:30:52AM -0500, Ralph Porter wrote:
>  > Im at 6.12, compile gcc.
>        ^^^^^^^
>  >
>  > the make cranks along and ends with this...
>  >
>  > 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
>
> [ and so forth ]
>
> > make[2]: Leaving directory `/gcc-build5/gcc'
>
>                              ^^^^^^^^^^^^^
>   My first guess is that you are re-using the build directory, and
>  possibly the source directory.  Unless the book specifically
>  instructs you to keep a directory around, always delete the source
>  (and build) directories.
>
>   If that isn't the answer, you appear to have failed to install
>  glibc.
>
>  ĸen
>  --
>  das eine Mal als Tragödie, das andere Mal als Farce
>
> --
>  http://linuxfromscratch.org/mailman/listinfo/lfs-support
>  FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>  Unsubscribe: See the above information page
>


More information about the lfs-support mailing list