Re: [linux 2.6.3] [gcc 3.3.3] compile errors

Chris Lingard
2004-02-23T16:59:34Z

On Monday 23 February 2004 4:31 pm, MALET JL wrote:

> copy from /usr/src/linux/include/asm to /usr/include/asm
> copy from /usr/src/linux/include/asm-generic to /usr/include/asm-generic
> copy from /usr/src/linux/include/linux to /usr/include/linux
>
> is this wrong ? I've done this all the time (since 2.4.2 kernel) without
> problem..... if i'm wrong please correct my behaviour

You should use the kernel headers to build glibc; and sanitised headers
such as RedHat's or http://ep09.pld-linux.org/~mmazur/linux-libc-headers/
to build the rest of the system. Suggest you follow www.linuxfromscratch.org
for further details.

Chris