I'm using the gcc version 2.8.1
and I can't build the mod_jk or the
mod_jserv.
For the mod_jk, I try the command :
apxs -I ../jk -I /usr/jdk_base/include -I /usr/jdk_base/include/aix -c -o mod_jk.so mod_jk.c ../jk/jk_ajp12_worker.c ../jk/j_connect.c ../jk/jk_msg_buff.c ../jk/jk_util.c ../jk/jk_ajp13.c ../jk/jk_jni_worker.c ../jk/jk_pool.c ../jk/jk_worker.c ../jk/jk_ajp13_orker.c ../jk/jk_lb_worker.c ../jk/jk_sockbuf.c ../jk/jk_map.c ../jk/jk_uri_worker_map.c
gcc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/bin-gms/Binaries/AIX/apache_1.3.19/include -I../jk -I/usr/jdk_base/include -I/usr/jdk_base/include/aix -c mod_jk.c .... all seems OK gcc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/bin-gms/Binaries/AIX/apache_1.3.19/include -I../jk -I/usr/jdk_base/include -I/usr/jdk_base/include/aix -c ../jk/jk_jni_worker.c ../jk/jk_jni_worker.c:764: warning: #warning ------------------------------------------------------- ../jk/jk_jni_worker.c:765: warning: #warning NO JAVA 2 HEADERS! SUPPORT FOR JAVA 2 FEATURES DISABLED ../jk/jk_jni_worker.c:766: warning: #warning ------------------------------------------------------- In file included from /usr/jdk_base/include/aix/float_md.h:21, from /usr/jdk_base/include/aix/jni_md.h:22, from /usr/jdk_base/include/jni.h:36, from ../jk/jk_jni_worker.c:67: /usr/jdk_base/include/aix/longlong_md.h:350: conflicting types for `uint32_t' /usr/include/sys/inttypes.h:78: previous declaration of `uint32_t' /usr/jdk_base/include/aix/longlong_md.h:359: conflicting types for `int32_t' /usr/include/sys/inttypes.h:67: previous declaration of `int32_t' In file included from /usr/jdk_base/include/jni.h:36, from ../jk/jk_jni_worker.c:67: /usr/jdk_base/include/aix/jni_md.h:91: parse error before `*' /usr/jdk_base/include/aix/jni_md.h:91: warning: initialization makes pointer from integer without a cast /usr/jdk_base/include/aix/jni_md.h:91: initializer element is not constant /usr/jdk_base/include/aix/jni_md.h:91: warning: data definition has no type or storage class /usr/jdk_base/include/aix/jni_md.h:91: parse error before `if' /usr/jdk_base/include/aix/jni_md.h:91: parse error before `1' /usr/jdk_base/include/aix/jni_md.h:91: warning: data definition has no type or storage class /usr/jdk_base/include/aix/jni_md.h:91: parse error before `->' /usr/jdk_base/include/aix/jni_md.h:91: redefinition of `_currentSuspendState' /usr/jdk_base/include/aix/jni_md.h:91: `_currentSuspendState' previously defined here /usr/jdk_base/include/aix/jni_md.h:91: warning: data definition has no type or storage class /usr/jdk_base/include/aix/jni_md.h:91: parse error before `}' /usr/jdk_base/include/aix/jni_md.h:130: warning: This file contains more `}'s than `{'s. /usr/jdk_base/include/jni.h:1858: warning: This file contains more `}'s than `{'s. apxs:Break: Command failed with rc=1
For the mod_jserv, I try the command : apxs -c mod_jserv.c jserv*.c gcc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/bin-gms/Binaries/AIX/apache_1.3.19/include -c
mod_jserv.c ...all seems OK between this... gcc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/bin-gms/Binaries/AIX/apache_1.3.19/include -c
jserv_wrapper_win.c
If someone could provide me any help, I would be very grateful. Thanks in advance. Charles |