Compiling 3.4.0 with Linux 2.6 headers?
llewelly@xmission.com
llewelly@xmission.com
Fri May 21 05:02:00 GMT 2004
mclinden@informed.net writes:
> Is it possible to compile 3.4.0 on a system which uses Linux 2.6 kernel
> headers?
Somebody did it: http://gcc.gnu.org/ml/gcc/2004-04/msg00952.html
> I've tried but I'm getting errors like:
Sorry, I don't know how to fix the errors.
>
> In file included from ../../gcc-3.4.0/gcc/crtstuff.c:62:
> ../../gcc-3.4.0/gcc.tsystem.h:79:19: stdio.h: No such file or
> directory
This one makes me wonder if you don't have the headers for glibc
installed. Maybe you need to install a glibc-devel package?
> ../../gcc-3.4.0/gcc/tsystem.h:82:23: sys/types.h: No such file or
> directory
> ../../gcc-3.4.0/gcc/tsystem.h:85:19: errno.h: No such file or directory
> ../../gcc-3.4.0/gcc/tsystem.h:92:20: string.h: No such file or directory
> ../../gcc-3.4.0/gcc/tsystem.h:93:20: stdlib.h: No such file or directory
> ../../gcc-3.4.0/gcc/tsystem.h:94:20: unistd.h: No such file or directory
> In file included from ./include/syslimits.h:7,
> from ./include/limits.h:11,
> from ../../gcc-3.4.0/gcc/tsystem.h:97,
> from ../../gcc-3.4.0/gcc/crtstuff.c:62:
> ./include/limits.h:122:61: no include path in which to search for limits.h
> In file included from ../../gcc-3.4.0/gcc/crtstuff.c:62:
> ../../gcc-3.4.0/gcc/tsystem.h:100:18: time.h: No such file or directory
More information about the Gcc-help
mailing list