tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Kocik" <bko...@taos.com>
Subject Re: can't build mod_jk.so under Solaris
Date Wed, 10 Jan 2001 19:51:51 GMT
[snip]
> Note the link line does not have any command name.  If
> I guess that gcc is the proper command to do the link,
> then I get the following errors:
>
> garlic.wlipa% gcc -o mod_jk.so jk_worker.o jk_util.o
> jk_uri_worker_map.o jk_sockbuf.o jk_pool.o jk_nwmain.o
> jk_msg_buff.o jk_map.o jk_lb_worker.o jk_jni_worker.o
> jk_connect.o jk_ajp13_worker.o jk_ajp13.o
> jk_ajp12_worker.o mod_jk.o
> Undefined                       first referenced
>  symbol                             in file
> socket                              jk_connect.o
> ap_pstrdup                          mod_jk.o
> ap_reset_timeout                    mod_jk.o
> ap_table_set                        mod_jk.o
> recv                                jk_sockbuf.o
[snip]

This might not be an ideal solution, but when you try the manual compile
with gcc, try adding "-lsocket -lnsl -lresolv" to the command line. This
will include some important Solaris networking libraries that will hopefully
satisfy most of the unresolved dependencies, if not all of them.

Bill Kocik
Taos - Santa Clara, CA
http://www.taos.com
bkocik@taos.com

Quantum Mechanics: The dreams stuff is made of.


Mime
View raw message