[Linux] Problem building mod_jserv on AIX 4.3.3

dare dare@netrox.net
Wed, 18 Oct 2000 11:48:55 -0400 (EDT)


Sorry for the patially off-topic (AIX instead of Linux),
but I'm hoping someone here can help.

We installed Apache 1.3.14 on an AIX 4.3.3 with no problems, then we
got the Tomcat 3.1 and got it running in stand alone mode, again with no
problems.  Following the manual in Tomcat, we downloaded the Tomcat source
package and tried to build mod_jserv (required to link apache to Tomcat).

The command in the manual is:

	$APACHE_HOME/bin/apxs -c -o *.c mod_jserv

This starts compiling all the .c files in the jserv directory and should
then move the mod_jserv.so to the apache lib directory.  But, after
making all the .o files, it stops with an ld error:

ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -bI:/usr/apache/libexec/httpd.exp
-lc -o mod_jserv.so mod_jserv.o 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
autochange.o

ld: 0711-24 ERROR: No csects or exported symbols have been saved.
apxs:Break: Command failed with rc=524288

I found in some Tomcat List-archive someone with a similar problem and
a responce saying to change the apxs command to:

	$APACHE_HOME/bin/apxs -c -o mod_jserv *.c

They said the info in the manual was wrong, but when I tried this it
had no effect, I got the same error.  

Anyone have experience with this?

TIA,

Rob.
dare@netrox.net