I have spent 3 days to make it work on my AIX Box !!!
So :
Autochange has not to be include in the mod_jserv.... so compile it with :
apxs -c mod_jserv.c jserv*.c
Then , I've some probleme with the linking so, you must modify the apxs
script :
my $CFG_LDFLAGS_SHLIB =
q( -bexpall -bM:SRE -bnoentry -bI:/bin-gms/Binaries/AIX/apache_1.3.19/libexe
c/httpd.exp -lc -ldl); # substituted via Makefile.tmpl

If it doesn't work, I can send you my binary.
I don't success to compile mod_jk, so if someone has any tips....
Here's the problem :
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/Bina
ries/AIX/apache_1.3.19/include -I../jk -I/usr/jdk_base/include -I/usr/jdk_ba
se/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,
.......


----- Original Message -----
From: "Ron Parker" <[EMAIL PROTECTED]>
To: "Tomcat" <[EMAIL PROTECTED]>
Sent: Saturday, May 05, 2001 2:34 AM
Subject: Compiling mod_jserv on AIX 4.3 for Apache 1.3.12


> I have installed Jakarta-Tomcat 3.2.1 on an AIX 4.3 system.  Standalone
> works fine.  I'd like to run it under Apache 1.3.12, which is also
> installed with dso support.
>
> I followed instructions in "Obtaining the Jserv Module (mod_jserv)"
> section of online tomcat user's guide and executed:
>
> apxs -c -o mod_jserv.so *.c
>  days to make
> This is the error I get:
>
> # /usr/local/apache/bin/apxs -c -o mod_jserv.so *.c
> cc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -qnogenpcomp -qnousepcomp
> -DUSE_HSREG
> EX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include
> -c autochange.c
> "autochange.c", line 72.5: 1506-046 (S) Syntax error.
> "autochange.c", line 79.5: 1506-046 (S) Syntax error.
> "autochange.c", line 79.64: 1506-191 (E) The character @ is not a valid
> C source
>  character.
> "autochange.c", line 79.69: 1506-191 (E) The character @ is not a valid
> C source
>  character.
> "autochange.c", line 79.8: 1506-045 (S) Undeclared identifier Parse.
> "autochange.c", line 104.5: 1506-046 (S) Syntax error.
> "autochange.c", line 104.8: 1506-045 (S) Undeclared identifier Print.
> "autochange.c", line 107.5: 1506-046 (S) Syntax error.
> "autochange.c", line 108.9: 1506-046 (S) Syntax error.
> "autochange.c", line 109.5: 1506-046 (S) Syntax error.
> "autochange.c", line 111.8: 1506-045 (S) Undeclared identifier Start.
> "autochange.c", line 114.9: 1506-046 (S) Syntax error.
> "autochange.c", line 114.12: 1506-045 (S) Undeclared identifier
> Increase.
> "autochange.c", line 116.12: 1506-045 (S) Undeclared identifier Copy.
> "autochange.c", line 119.9: 1506-046 (S) Syntax error.
> apxs:Break: Command failed with rc=65536
>
> Can someone please tell me what I need to do about this.  Thanks.
>
> -ron
>
> --
> Ron Parker
> Software Creations            http://www.scbbs.com
> TradeWinds Publishing         http://www.intl-trade.com
> TradePoint Los Angeles        http://www.tradepointla.org
> SiteDirector Security Server  http://livepublish.scbbs.com
> Civil War Online Library      http://civilwar.scbbs.com
>
>

Reply via email to