Re: Header errors (Apache 1.3.12 vs. Linux 2.3.4[38])

From: Gaël Quéri (gqueri@mail.dotcom.fr)
Date: Tue Feb 29 2000 - 21:12:39 EST


On Mon, Feb 28, 2000 at 10:59:20AM -0500, Vernon H. Soden wrote:
> This may be wildly off topic but it seems to be related to a change in
> header files. I get failures in compiling the Apache server releases
> 1.3.11 and 1.3.12 with either Linux v 2.3.43 or 2.3.48. Messages of
> concern follow:
> - -------------------------- much removed here ---------------------------
> gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED `../apaci` http_core.c
> gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED `../apaci` http_log.c
> gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED `../apaci` http_main.c
> In file included from /usr/include/linux/mm.h:4,
> from /usr/include/linux/shm.h:5,
> from /usr/include/sys/shm.h:7,
> from http_main.c:110:

You are using an outdated libc... (libc5 ?)
<sys/shm.h> should not include <linux/shm.h>...

You have the choice: you can use old kernel headers with an old libc
and new kernel headers with a new libc, but you can't mix them...

If for some reason you want to stay with linux 2.3, use the latest
stable libc (2.1.3 now)

        regards, gael

-
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/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:08 EST