Hello Rainer and group. I tried using gmake instead of make and I got much further. In the instdso.sh script it checks to see if AIX. If AIX it removes the component. Not sure if this is ok. The mv fails since it cannot find mod_jk.so.0 in the apache-1.3 directory to rename it to mod_jk.so
I did find mod_jk.so.0 in the apache-1.3/.libs directory so can I copy it as mod_jk.so to the Apache Directory myself? ../scripts/build/instdso.sh SH_LIBTOOL='/bin/sh ../libtool' mod_jk.la `pwd` rm -f /software/source/gnu/apache_tomcat/work/tomcat-connectors-1.2.25-src/nativ e/apache-1.3/mod_jk.so /bin/sh ../libtool --mode=install cp mod_jk.la /software/source/gnu/apache_tomca t/work/tomcat-connectors-1.2.25-src/native/apache-1.3/ cp .libs/mod_jk.a /software/source/gnu/apache_tomcat/work/tomcat-connectors-1.2. 25-src/native/apache-1.3/mod_jk.a cp .libs/mod_jk.lai /software/source/gnu/apache_tomcat/work/tomcat-connectors-1. 2.25-src/native/apache-1.3/mod_jk.la libtool: install: warning: remember to run `libtool --finish /opt/freeware/apach e/libexec' mv: 0653-401 Cannot rename /software/source/gnu/apache_tomcat/work/tomcat-connec tors-1.2.25-src/native/apache-1.3/mod_jk.so.0 to /software/source/gnu/apache_tom cat/work/tomcat-connectors-1.2.25-src/native/apache-1.3/mod_jk.so: A file or directory in the path name does not exist. gmake[1]: Leaving directory `/software/source/gnu/apache_tomcat/work/tomcat-conn ectors-1.2.25-src/native/apache-1.3' By the way, I don't have a modules directory in my apache web server Directory. Apache is install as part of the linux package using rpm in our shop, so hopefully this is ok. This is what there is. Do I need to create it? > pwd /opt/freeware/apache > ls bin/ include/ libexec/ man/ sbin/ share/ > Thanks for all the help Rich ________________________________ From: Blumlein,Richard Sent: Tuesday, November 20, 2007 10:54 AM To: 'users@tomcat.apache.org' Subject: Re: ApacheTomcat Connector mod_jk, receiving 0711-244 ERROR when I dp a make. Hi Rainer, Yes there were numerous -mode=compile statements before the first -mode=link which failed. It seems there is a hole in the process. I am following various docs which say to run the configure, then the make/make install. Yes, it seems something is not being passed properly. Rich usr/bin/sh ../libtool --mode=compile xlc -I/opt/freeware/apache/include -g -O2 -DAIX=510 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=208119 -DUSE_HSREGEX -DEAPI -DJK_PREFORK -g -I /usr/local/bin/java/include -I /usr/local/bin/java/in clude/ -c ./jk_status.c -o ./jk_status.lo xlc -I/opt/freeware/apache/include -g -O2 -DAIX=510 -U__STR__ -DAIX_BIND_PROCES SOR -DMOD_SSL=208119 -DUSE_HSREGEX -DEAPI -DJK_PREFORK -g -I /usr/local/bin/java /include -I /usr/local/bin/java/include/ -c ./jk_status.c -DPIC -o ./.libs/jk_s tatus.o Target "all" is up to date. Making all in apache-1.3 /usr/bin/sh ../libtool --mode=compile xlc -DUSE_APACHE_MD5 -I ../common -I /usr/local/bin/java/include -I /usr/local/bin/java/include/ -I/opt/freeware/a pache/include -O2 -DAIX=510 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=208119 -DUS E_HSREGEX -DEAPI -DJK_PREFORK -g -I../common -c mod_jk.c -o mod_jk.lo mkdir .libs xlc -DUSE_APACHE_MD5 -I ../common -I /usr/local/bin/java/include -I /usr/local/ bin/java/include/ -I/opt/freeware/apache/include -O2 -DAIX=510 -U__STR__ -DAIX_B IND_PROCESSOR -DMOD_SSL=208119 -DUSE_HSREGEX -DEAPI -DJK_PREFORK -g -I../common -c mod_jk.c -DPIC -o .libs/mod_jk.o /usr/bin/sh ../libtool --mode=link xlc -o mod_jk.la -module -rpath /opt/ freeware/apache/libexec generating symbol list for `mod_jk.la' /usr/bin/nm -B -BCpg | awk '{ if ((($2 == "T") || ($2 == "D") || ($2 == "B")) > > /usr/bin/sh ../libtool --mode=link xlc -o mod_jk.la -module -rpath /opt/ > freeware/apache/libexec There should be a lot of object files in the above libtool command. Before that output, all the files in common should have been compiled and the object files should appear in the link. > generating symbol list for `mod_jk.la' Again, in the next line, the nm command doesn't have any file arguments. It should have the same object files as arguments, that are missing in the above libtool line. These are just "formal" observations though, I've got not AIX specific experience. > /usr/bin/nm -B -BCpg | awk '{ if ((($2 == "T") || ($2 == "D") || ($2 == > "B")) > && (substr($3,1,1) != ".")) { print $3 } }' | sort -u > .libs/mod_jk.exp > Usage: nm [-ACfhlprTv] [-B|-P] [-e|-g|-u] [-d|-o|-x|{-t [d|x|o]}] > [-X{32|64|32_64|d64|any}] [--] File ... > xlc -Wl,-bM:SRE -o .libs/mod_jk.so.0 -lc -Wl,-bnoentry > -Wl,-bE:.libs/mod_jk.e > xp ${wl}-berok > ld: 0711-244 ERROR: No csects or exported symbols have been saved. > make: 1254-004 The error code from the last command is 8. > > > Stop. > make: 1254-004 The error code from the last command is 1 Regards, Rainer