Hi all,
I am having a problem compiling mod_perl 1.26 src with apache 1.3.22 src.
The problem on running make occur at the following command
 
gcc -c -I../.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/COR
E -I../../os/unix -I../../include   -DLINUX=22 -I/usr/include/db1 -DMOD_PERL -DU
SE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-stri
ct-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEE
DED -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-alias
ing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `../../apaci` os.c
 
In file included from /usr/include/sys/sem.h:27,
                 from ../../include/ap_config.h:493,
                 from os.c:6:
/usr/include/sys/ipc.h:28: warning: #warning "Files using this header must be co
mpiled with _SVID_SOURCE or _XOPEN_SOURCE"
In file included from /usr/include/sys/sem.h:27,
                 from ../../include/ap_config.h:493,
                 from os.c:6:
/usr/include/sys/ipc.h:34: parse error before `ftok'
/usr/include/sys/ipc.h:34: warning: data definition has no type or storage class
In file included from ../../include/ap_config.h:493,
                 from os.c:6:
/usr/include/sys/sem.h:50: parse error before `__key'
make[4]: *** [os.o] Error 1
make[3]: *** [subdirs] Error 1
make[2]: *** [build-std] Error 2
make[1]: *** [build] Error 2
make: *** [apaci_httpd] Error 2
 
can anybody help me out with this
The Linux I am using is Redhat 6.22 Kernel version 2.2.14
 
Thanks                            

Reply via email to