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

From: Vernon H. Soden (vsoden@umich.edu)
Date: Mon Feb 28 2000 - 10:59:20 EST


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:
/usr/include/linux/sched.h:6: `event' redeclared as different kind of symbol
../include/multithread.h:15: previous declaration of `event'
In file included from /usr/include/linux/sched.h:17,
                 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:
/usr/include/asm/semaphore.h:39: parse error before `wait_queue_head_t'
/usr/include/asm/semaphore.h:39: warning: no semicolon at end of struct or union
/usr/include/asm/semaphore.h: In function `sema_init':
/usr/include/asm/semaphore.h:73: dereferencing pointer to incomplete type
/usr/include/asm/semaphore.h:74: dereferencing pointer to incomplete type
/usr/include/asm/semaphore.h:75: dereferencing pointer to incomplete type
/usr/include/asm/semaphore.h: At top level:
/usr/include/asm/semaphore.h:226: parse error before `wait_queue_head_t'
/usr/include/asm/semaphore.h:226: warning: no semicolon at end of struct or union
/usr/include/asm/semaphore.h:227: warning: data definition has no type or storage class
/usr/include/asm/semaphore.h: In function `init_rwsem':
/usr/include/asm/semaphore.h:255: dereferencing pointer to incomplete type
/usr/include/asm/semaphore.h:256: dereferencing pointer to incomplete type
/usr/include/asm/semaphore.h:257: dereferencing pointer to incomplete type
/usr/include/asm/semaphore.h:258: dereferencing pointer to incomplete type
/usr/include/asm/semaphore.h:259: dereferencing pointer to incomplete type
/usr/include/asm/semaphore.h: At top level:
/usr/include/asm/semaphore.h:268: parse error before `('
/usr/include/asm/semaphore.h:269: parse error before `('
/usr/include/asm/semaphore.h:270: parse error before `('
make[3]: *** [http_main.o] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/linux-dev/apache/apache_1.3.11/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/var/linux-dev/apache/apache_1.3.11'
make: *** [build] Error 2

Vern Soden <vsoden@umich.edu>

-
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 Feb 29 2000 - 21:00:19 EST