tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Molloy" <mollo...@eeng.dcu.ie>
Subject RE: APXS mod_jserv.so
Date Wed, 01 Nov 2000 16:06:30 GMT
Hi Udayini,

	Thanks - you highlighted what the problem was alright.  The command
as displayed in the user guide is unclear.  It refers to
apxs -c *.c -o mod_jserv.so

whereas it should really be:
apxs -c mod_jserv.c -o mod_jserv.so

It's fairly obvious when I look back on it but it'll probably catch a
few more apxs virgins out :)
Thanks again - I have the mod_jserv.so file now.

Dave

-----Original Message-----
From: Udayini Pendyal [mailto:Udayini.Pendyala@oracle.com]
Sent: Wednesday, November 01, 2000 3:56 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: APXS mod_jserv.so


Hello David,
I am not very familiar with make related things but it seems like your first -o flag has asked
the output file to be called
autochange.so. I see that this file is indeed being created. So, maybe you can rename the
autochange.so to mod_jserv.so and use it.
Alternative could be that the argument to the first -o can be changed from autochange.so to
mod_jserv.so.

Regards
Udayini

David Molloy wrote:

> Hi,
>
>         I am attempting to install Tomcat together with Apache1.3.14 and
> I can get them working independently.  My problem lies in obtaining
> the Jserv Module mod_jserv.so
>
> I've followed the instructions in the User Guide doing the:
> apxs -c *.c -o mod_jserv.so
>
> It goes off and does it's thing and the log is below which looks pretty
> good (apart from the warning at the end which seems minor). However it
> doesn't result in a mod_jserv.so file that I can put into my libexec
> directory in Apache.  It makes all of the object files no problem and
> the resulting directory is listed below the log.  Does anyone know what
> I'm doing wrong - I'm not very familiar with apxs or .so files so I'm
> guessing quite a bit but I'm fairly sure that from the user guide I should
> be getting the file as it doesn't really mention anything else.
>
> Any ideas would be greatly appreciated - thanks.
> Running Solaris 7, Apache 1.3.14, Tomcat3.1 Release
>
> David Molloy
>
> PS: Also tried searching for a version by download but couldn't find one.
>
> oak# apxs -c *.c -o mod_jserv.so
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE -I/usr/local/apache_1.3.14/include
 -c autochange.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE -I/usr/local/apache_1.3.14/include
 -c jserv_ajpv11.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE -I/usr/local/apache_1.3.14/include
 -c jserv_ajpv12.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE -I/usr/local/apache_1.3.14/include
 -c jserv_balance.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE -I/usr/local/apache_1.3.14/include
 -c jserv_image.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE -I/usr/local/apache_1.3.14/include
 -c jserv_mmap.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE -I/usr/local/apache_1.3.14/include
 -c jserv_protocols.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE -I/usr/local/apache_1.3.14/include
 -c jserv_status.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE -I/usr/local/apache_1.3.14/include
 -c jserv_utils.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE -I/usr/local/apache_1.3.14/include
 -c jserv_watchdog.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE -I/usr/local/apache_1.3.14/include
 -c jserv_wrapper.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE -I/usr/local/apache_1.3.14/include
 -c
jserv_wrapper_unix.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE -I/usr/local/apache_1.3.14/include
 -c
jserv_wrapper_win.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE -I/usr/local/apache_1.3.14/include
 -c mod_jserv.c
> ld -G -o autochange.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 -o
> mod_jserv.so
> ld: warning: option -o appears more than once, first setting taken
>
> CVS                   jserv_balance.c       jserv_watchdog.o
> Makefile.am           jserv_balance.o       jserv_wrapper.c
> Makefile.libdir       jserv_image.c         jserv_wrapper.h
> Makefile.tmpl         jserv_image.o         jserv_wrapper.o
> Makefile.win32        jserv_mmap.c          jserv_wrapper_unix.c
> autochange.c          jserv_mmap.o          jserv_wrapper_unix.o
> autochange.o          jserv_protocols.c     jserv_wrapper_win.c
> autochange.so         jserv_protocols.o     jserv_wrapper_win.o
> jserv.h               jserv_status.c        libjserv.module
> jserv_ajpv11.c        jserv_status.o        mod_jserv.c
> jserv_ajpv11.o        jserv_utils.c         mod_jserv.o
> jserv_ajpv12.c        jserv_utils.o
> jserv_ajpv12.o        jserv_watchdog.c


Mime
View raw message