You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Charles Epaillard <ce...@sofrecom.com> on 2001/05/03 11:15:39 UTC

mod_jk or mod_jserv on an AIX4.3.3, JDK1.1.8 & Apache1.3.19

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
 ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -bI:/bin-gms/Binaries/AIX/apache_1.3.19/libexec/httpd.exp -lc -o mod_jserv.so jserv_wrapper_win.o jserv_wrapper_unix.o jserv_wrapper.o jserv_watchdog.o jserv_utils.o jserv_status.o jserv_protocols.o jserv_mmap.o jserv_image.o jserv_balance.o jserv_ajpv12.o jserv_ajpv11.o mod_jserv.o 
ld: 0711-244 ERROR: No csects or exported symbols have been saved.
apxs:Break: Command failed with rc=8
It is only the linking who has a problem !!!!! All the compilation has be done successfully...



If someone could provide me any help, I would be very grateful.

Thanks in advance.

Charles