tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Kocik" <>
Subject Re: can't build under Solaris
Date Wed, 10 Jan 2001 19:51:51 GMT
> 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 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

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

Quantum Mechanics: The dreams stuff is made of.

View raw message