Re: 2.1.131 compile; crash and burn

Glynn Clements (glynn@sensei.co.uk)
Fri, 4 Dec 1998 19:29:37 +0000 (GMT)


Mr. Joshua Lambert wrote:

> Attempted compilation with both gcc-2.7.2.3 and egcs-1.1.1, with
> glibc-2.0.7pre6 compiled with 2.1.130 headers, and both times around, the
> following shriekery occured. ;-)
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o init/main.o init/main.c
> In file included from /usr/include/sys/types.h:30,
> from /usr/src/linux/include/linux/uio.h:24,

What does your linux/uio.h look like? Mine certainly doesn't include
sys/types.h at line 24 (or anywhere else for that matter). OTOH, my
sys/uio.h *does* include sys/types.h at line 24.

Is your linux/uio.h a symlink to sys/uio.h instead of a file?

-- 
Glynn Clements <glynn@sensei.co.uk>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/