You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bhaskar Mulpuri <mu...@attbi.com> on 2002/02/06 08:34:32 UTC
mod_webapp.so linking problem on AIX 4.3
I am building mod_webapp.so and I am running into the following linking
problem.
ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry
-bI:/usr/local/apache/libexec/httpd.exp -lc -lm -liconv -lnsl -ldl -o
mod_webapp.so mod_webapp.o
/usr/local/jakarta-tomcat-4.0.1/webapp-module-1.0.1-tc401/lib/libwebapp.
a usr/local/jakarta-tomcat-4.0.1/webapp-module-1.0.1-tc401/lib/libapr.a
ld: 0711-244 ERROR: No csects or exported symbols have been saved.
apxs:Break: Command failed with rc=8
The compilation went thru without any errors. I am building on AIX 4.3.
I am trying to integrate Tomcat 4.0.1 with Apache 1.3.23.
Can anybody help me figure out what this error is and how I can fix
this?
Thanks in advance,
Bhaskar
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: mod_webapp.so linking problem on AIX 4.3
Posted by Liam Holohan <li...@mail.smartframeworks.com>.
Bhaskar Mulpuri wrote:
> I am building mod_webapp.so and I am running into the following linking
> problem.
>
> ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry
> -bI:/usr/local/apache/libexec/httpd.exp -lc -lm -liconv -lnsl -ldl -o
> mod_webapp.so mod_webapp.o
> /usr/local/jakarta-tomcat-4.0.1/webapp-module-1.0.1-tc401/lib/libwebapp.
> a usr/local/jakarta-tomcat-4.0.1/webapp-module-1.0.1-tc401/lib/libapr.a
> ld: 0711-244 ERROR: No csects or exported symbols have been saved.
> apxs:Break: Command failed with rc=8
>
> The compilation went thru without any errors. I am building on AIX 4.3.
> I am trying to integrate Tomcat 4.0.1 with Apache 1.3.23.
>
> Can anybody help me figure out what this error is and how I can fix
> this?
>
> Thanks in advance,
> Bhaskar
>
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
My two cents...
Don't know if it will help you but here it goes ...
About building mod_webapp
I had hell building mod_webapp as I was using apache 1.3.22 with ssl (I
was building a httpsd exe ) Trying to build the .so file was hell as
the "make" kept failing on me. (I think the patching of open ssl into
apache wrecks the apxs script, if done like me in a hurry). The
back-flip manoeuvre I had to do was create a clean install of apache in
a tmp directory and build mod_webapp from the generated apxs script ..
to build apache in a quick and dirty fashion (To ensure a clean apxs
script ... I wrote the following script and ran it as root in the
unpacked apache src directory..
#!/bin/bash
./configure --prefix=/home/wasp/modules/apache/1.3.22
--logfiledir=/home/wasp/modules/apache/1.3.22/logs --enable-module=most
--enable-shared=max --enable-suexec
--suexec-docroot=/home/wasp/vhosts/adminsite
--suexec-logfile=/home/wasp/logs/suexec.log --suexec-umask=077
make
echo DONE
make install
That should make you a clean apache and apxs script in
/home/wasp/modules/apache/1.3.22/bin
(note I already had tomcat 4 installed in /home/wasp/modules/tomcat/4.0/)
I then wrote a script to build the mod_webapp.so
#!/bin/bash
echo "building mod_webapp"
./support/buildconf.sh
./configure --with-apxs=/home/wasp/modules/apache/1.3.22/bin/apxs
--with-apr=/home/wasp/SRC/webapp-module-1.0.1-tc401/apr/
--with-java=/usr/java/jdk1.3.1_01/bin/java
--with-tomcat=/home/wasp/modules/tomcat/4.0/
make
echo "done .."
once the mod_webapp.so was built I copied it into the libexec directory
of my "production" apache. Worked first time after that. The pain I
found was actually building mod_webapp.so not integrating it ....
Regards...
Liam
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>