You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ritwick Dhar <ri...@EASTPOINT.COM> on 2000/11/27 16:50:28 UTC

mod_jk for AIX?

Guys,

I'm having immense difficulty building mod_jk on AIX 4.3.3. + IBM HTTP
Server 1.3.12.1 + jdk1.1.8

apxs command: 
/backup/ofxsoftware/IHS1.3.12.1.bin/bin/apxs -o mod_jk.so -I../jk
-I/usr/jdk_base/include -I/usr/jdk_base/i
nclude/aix -c *.c ../jk/*.c

Compilation goes well, the link fails with:
ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry
-bI:/backup/ofxsoftware/IHS1.3.12.1.bin/libexec/httpd.exp -lc -o mod_jk.so
jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o jk_pool.o jk_nwmain.o
jk_msg_buff.o jk_map.o jk_lb_worker.o jk_jni_worker.o jk_connect.o
jk_ajp13_worker.o jk_ajp13.o jk_ajp12_worker.o mod_jk.o 
ld: 0711-244 ERROR: No csects or exported symbols have been saved.

Can anyone tell me where I'm going wrong?

Does anyone have a prebuilt mod_jk.so for AIX?

Thanks
Rit

PS: I had no better luck with mod_jserv either. See my previous post about
HANDLER THREAD PROBLEM. Can't believe it's *this* difficult and frustrating
getting tomcat to work with Apache!

Re: mod_jk for AIX?

Posted by John Tangney <jt...@knowledgeplanet.com>.
Hi

I too had immense problems building mod_jk. I am on Solaris, not AIX,
though. What finally worked for me was to hack the apxs file and modify the
$CFG_LD_SHLIB to be gcc and $CFG_LDFLAGS_SHLIB to -G

Both of these changes should not have been necessary had the configure
script for apache done the right thing. But it didn't.

You might try messing with the command line that apxs generates as a way to
diagnose what command line options are needed.

Good luck!
--johnt

On 11/27/00 7:50 AM, Ritwick Dhar at ritwick_d@EASTPOINT.COM wrote:

> Guys,
> 
> I'm having immense difficulty building mod_jk on AIX 4.3.3. + IBM HTTP
> Server 1.3.12.1 + jdk1.1.8
> 
> apxs command: 
> /backup/ofxsoftware/IHS1.3.12.1.bin/bin/apxs -o mod_jk.so -I../jk
> -I/usr/jdk_base/include -I/usr/jdk_base/i
> nclude/aix -c *.c ../jk/*.c
> 
> Compilation goes well, the link fails with:
> ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry
> -bI:/backup/ofxsoftware/IHS1.3.12.1.bin/libexec/httpd.exp -lc -o mod_jk.so
> jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o jk_pool.o jk_nwmain.o
> jk_msg_buff.o jk_map.o jk_lb_worker.o jk_jni_worker.o jk_connect.o
> jk_ajp13_worker.o jk_ajp13.o jk_ajp12_worker.o mod_jk.o
> ld: 0711-244 ERROR: No csects or exported symbols have been saved.
> 
> Can anyone tell me where I'm going wrong?
> 
> Does anyone have a prebuilt mod_jk.so for AIX?
> 
> Thanks
> Rit
> 
> PS: I had no better luck with mod_jserv either. See my previous post about
> HANDLER THREAD PROBLEM. Can't believe it's *this* difficult and frustrating
> getting tomcat to work with Apache!