You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ludovic Maitre <Lu...@sophia.inria.fr> on 2001/02/06 17:59:49 UTC

Compile mod_jserv in static

Hello,

I know that mod_jk is available but i want to use mod_jerv for connect
Apache 1.3.17 and Tomcat 3.2.1 on solaris 2.6.

My question is : Is it possible to compile the mod_jserv packaged with
tomcat in static ? (it's more fast)

There is a lot of symbol who are not resolved when i make apache :

gcc  -DSOLARIS2=260 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
`./apaci`    \
      -o httpd buildmark.o modules.o modules/extra/libextra.a
modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a
ap/libap.a  lib/expat-lite/libexpat.a -L/usr/local/gdbm/lib -lgdbm
-lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
jserv_openfile
modules/extra/libextra.a(mod_jserv.o)
jserv_protocol_cleanupall
modules/extra/libextra.a(mod_jserv.o)
jserv_error
modules/extra/libextra.a(mod_jserv.o)
jserv_server_config_get
modules/extra/libextra.a(mod_jserv.o)
jserv_protocol_parameter
modules/extra/libextra.a(mod_jserv.o)
jserv_readfile
modules/extra/libextra.a(mod_jserv.o)
jserv_protocol_initall
modules/extra/libextra.a(mod_jserv.o)
jserv_protocol_getbyname
modules/extra/libextra.a(mod_jserv.o)
jserv_resolve
modules/extra/libextra.a(mod_jserv.o)
jserv_error_exit
modules/extra/libextra.a(mod_jserv.o)
jserv_protocol_handler
modules/extra/libextra.a(mod_jserv.o)
ld: fatal: Symbol referencing errors. No output written to httpd

(for doing this i had copied all the jserv*, lib* and mod* files from
tomcat/src/native/apache/jserv

to apache/src/modules/extra)

So i you have compiled apche+mod_jserv for tomcat please let me know.

Regards,

--
 Ludovic.Maitre@sophia.inria.fr

 INRIA - 2004 route des lucioles - BP 93    Tel: (33/0) 4 92 38 50 41
 06902   SOPHIA-ANTIPOLIS cedex (France)    Fax: (33/0) 4 92 38 76 02