You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Darren Chuck <da...@halfkilo.com> on 2002/04/10 12:59:18 UTC
mod_jk for apache2.0 compilation error
There's error when i compile J-T-C form CVS
My sys config:
kernel 2.4.18
glibc 2.2.5
apache 2.0.35
tried both j2sdk 1.4 and 1.3.1_03
here's what i get after running build script:
/usr/local/apache2/build/libtool --silent --mode=link gcc -o mod_jk.so
-rpath /u
sr/local/apache2/modules -module -avoid-version -I../common
-I/usr/local/apache2
/include -I/usr/local/java/jdk1.3.1_03/include
-I/usr/local/java/jdk1.3.1_03/inc
lude/linux mod_jk.lo jk_worker.lo jk_util.lo jk_uri_worker_map.lo
jk_sockbuf.l
o jk_pool.lo jk_nwmain.lo jk_msg_buff.lo jk_md5.lo jk_map.lo
jk_lb_worker.lo jk_
jni_worker.lo jk_context.lo jk_connect.lo jk_ajp_common.lo
jk_ajp14_worker.lo jk
_ajp14.lo jk_ajp13_worker.lo jk_ajp13.lo jk_ajp12_worker.lo
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
mod_jk.lo: In function `ws_start_response':
/home/chuck/oss/jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c:225:
und
efined reference to `apr_psprintf'
/home/chuck/oss/jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c:229:
und
efined reference to `apr_pstrdup'
/home/chuck/oss/jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c:230:
und
efined reference to `ap_content_type_tolower'
/home/chuck/oss/jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c:233:
und
efined reference to `apr_table_set'
/home/chuck/oss/jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c:236:
und
efined reference to `apr_table_set'
.....
..... u may not be interested in such long long list....
......
69: undefined reference to `dlclose'
collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>