The JDK include path in AIX are /usr/jdk_base/include and /usr/jdk_base/include/aix 
which I use in 
compile command (/tmp/apache/apxs -o mod_jk.so -I../jk -I/usr/jdk_base/include 
-I/usr/jdk_base/include/aix -c *.c ../jk/*.c)
and JAVA_HOME is /usr/jdk_base, is this correct or need other point to look for it 
please tell me

                                                                Thanks for advance 
                                                                Khananat Tubtimpech
-----Original Message-----
From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 04, 2001 8:47 PM
To: [EMAIL PROTECTED]
Subject: RE: Problem about build mod_jk in AIX environment


You probably need to change the build script, to adjust where the java
include files can be found (in the jdk install directory somewhere). I don't
have AIX running, so I don't know about that specifcally.

Mvgr,
Martin

> -----Original Message-----
> From: Khananat Tubtimpech [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 04, 2001 3:43 PM
> To: Jakarta Tomcat Mailing List
> Subject: Problem about build mod_jk in AIX environment
>
>
> Hi all
>
>       I've got the problem about making mod_jk with AIX (4.3.3.0.08)
>       here is the software environment spec
>               - JDK: IBM JDK 1.1.8
>               - Apache 1.3.20
>               - Tomcat 3.2.2
>               - JDK Home Path: /usr/jdk_base
>       I've try to follow the "mod_jk howto" document, which have
> examples for only 2 unix platform (solaris, linux)
>       so I try to modified the build command lind to :
>
>               /tmp/apache/apxs -o mod_jk.so -I../jk
> -I/usr/jdk_base/include -I/usr/jdk_base/include/aix -c *.c ../jk/*.c
>
>       I run this conmand in directory <<tomcat source
> path>>/src/native/apache1.3, and here's the output
>
> gcc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__
> -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED  -I/tmp/apache/include -I../jk
> -I/usr/jdk_base/include -I/usr/jdk_base/include/aix  -c mod_jk.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/tmp/apache/include -I../jk
> -I/usr/jdk_base/include -I/usr/jdk_base/include/aix  -c
> ../jk/jk_ajp12_worker.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/tmp/apache/include -I../jk
> -I/usr/jdk_base/include -I/usr/jdk_base/include/aix  -c ../jk/jk_ajp13.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/tmp/apache/include -I../jk
> -I/usr/jdk_base/include -I/usr/jdk_base/include/aix  -c
> ../jk/jk_ajp13_worker.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/tmp/apache/include -I../jk
> -I/usr/jdk_base/include -I/usr/jdk_base/include/aix  -c ../jk/jk_connect.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/tmp/apache/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/jni.h:36,
>                  from ../jk/jk_jni_worker.c:67:
> /usr/jdk_base/include/aix/jni_md.h:89: parse error before `*'
> /usr/jdk_base/include/aix/jni_md.h:89: warning: initialization
> makes pointer from integer without a cast
> /usr/jdk_base/include/aix/jni_md.h:89: initializer element is not constant
> /usr/jdk_base/include/aix/jni_md.h:89: warning: data definition
> has no type or storage class
> /usr/jdk_base/include/aix/jni_md.h:89: parse error before `if'
> /usr/jdk_base/include/aix/jni_md.h:89: parse error before `1'
> /usr/jdk_base/include/aix/jni_md.h:89: warning: data definition
> has no type or storage class
> /usr/jdk_base/include/aix/jni_md.h:89: parse error before `->'
> /usr/jdk_base/include/aix/jni_md.h:89: redefinition of
> `_currentSuspendState'
> /usr/jdk_base/include/aix/jni_md.h:89: `_currentSuspendState'
> previously defined here
> /usr/jdk_base/include/aix/jni_md.h:89: warning: data definition
> has no type or storage class
> /usr/jdk_base/include/aix/jni_md.h:89: parse error before `}'
> /usr/jdk_base/include/aix/jni_md.h:127: warning: This file
> contains more `}'s than `{'s.
> In file included from ../jk/jk_jni_worker.c:67:
> /usr/jdk_base/include/jni.h:1858: warning: This file contains
> more `}'s than `{'s.
> apxs:Break: Command failed with rc=1
>
>       Please tell me what's happen in this case, and if anyone
> who can success to build this mod in AIX please tell me about your
>       environtment and how.
>
>
> Thanks for advance
>
> Khananat Tubtimpech
>

Reply via email to