tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claude Coiffier" ...@teamlog.com>
Subject Apache 2.0 and Tomcat 4.0.4 - Compiling mod_jk problem
Date Fri, 06 Sep 2002 13:03:19 GMT
Hi,

I'm working with Apache 2.0 and Tomcat 4.0.4,
I've been trying to execute build-unix.sh to compile mod_jk under Linux, and
I get the following error :

...
/usr/local/apache2/build/libtool --silent --mode=link gcc -o
mod_jk.so -rpath
/usr/local/apache2/modules -module -avoid-version -I../common -I/usr/local/a
pache2/include/apr-util -I/usr/local/j2sdk1.4.0_01/include -I/usr/local/j2sd
k1.4.0_01/include/linux   mod_jk.lo jk_worker.lo jk_util.lo
jk_uri_worker_map.lo jk_sockbuf.lo 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.o: In function `ws_start_response':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:225: undefined reference to `apr_psprintf'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:229: undefined reference to `apr_pstrdup'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:230: undefined reference to `ap_content_type_tolower'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:233: undefined reference to `apr_table_set'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:236: undefined reference to `apr_table_set'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:239: undefined reference to `apr_table_set'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:246: undefined reference to `apr_date_parse_http'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:246: undefined reference to `ap_update_mtime'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:247: undefined reference to `ap_set_last_modified'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:249: undefined reference to `apr_table_add'
mod_jk.o: In function `ws_read':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:280: undefined reference to `ap_should_client_block'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:287: undefined reference to `ap_get_client_block'
mod_jk.o: In function `ws_write':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:339: undefined reference to `ap_rwrite'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:354: undefined reference to `ap_rflush'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:355: undefined reference to `ap_log_error'
mod_jk.o: In function `jk_error_exit':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:384: undefined reference to `apr_pvsprintf'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:387: undefined reference to `ap_log_error'
mod_jk.o: In function `get_content_length':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:398: undefined reference to `apr_table_get'
mod_jk.o: In function `init_ws_service':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:431: undefined reference to `ap_get_remote_host'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:437: undefined reference to `ap_get_server_name'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:437: undefined reference to `ap_get_server_port'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:453: undefined reference to `apr_sockaddr_port_get'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:456: undefined reference to `ap_get_server_version'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:498: undefined reference to `ap_os_escape_path'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:514: undefined reference to `ap_add_common_vars'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:517: undefined reference to `apr_table_get'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:522: undefined reference to `apr_table_get'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:529: undefined reference to `apr_table_get'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:532: undefined reference to `apr_table_get'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:538: undefined reference to `apr_table_get'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:551: undefined reference to `apr_palloc'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:553: undefined reference to `apr_palloc'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:558: undefined reference to `apr_table_get'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:581: undefined reference to `apr_palloc'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:582: undefined reference to `apr_palloc'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:586: undefined reference to `apr_pstrdup'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:587: undefined reference to `apr_pstrdup'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:610: undefined reference to `apr_palloc'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:611: undefined reference to `apr_palloc'
mod_jk.o: In function `jk_set_worker_file':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:721: undefined reference to `ap_server_root_relative'
mod_jk.o: In function `jk_worker_property':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:755: undefined reference to `apr_palloc'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:770: undefined reference to `apr_pstrdup'
mod_jk.o: In function `jk_set_log_file':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:797: undefined reference to `ap_server_root_relative'
mod_jk.o: In function `jk_set_https_indicator':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:872: undefined reference to `apr_pstrdup'
mod_jk.o: In function `jk_set_certs_indicator':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:891: undefined reference to `apr_pstrdup'
mod_jk.o: In function `jk_set_cipher_indicator':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:910: undefined reference to `apr_pstrdup'
mod_jk.o: In function `jk_set_session_indicator':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:929: undefined reference to `apr_pstrdup'
mod_jk.o: In function `jk_set_key_size_indicator':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:948: undefined reference to `apr_pstrdup'
mod_jk.o: In function `jk_set_options':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:978: undefined reference to `ap_getword_conf'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1003: undefined reference to `apr_pstrcat'
mod_jk.o: In function `jk_add_env_var':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1037: undefined reference to `apr_table_add'
mod_jk.o: In function `jk_handler':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1188: undefined reference to `apr_table_get'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1192: undefined reference to `ap_setup_client_block'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1245: undefined reference to `apr_table_setn'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1304: undefined reference to `apr_palloc'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1309: undefined reference to `ap_get_client_block'
mod_jk.o: In function `create_jk_config':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1335: undefined reference to `apr_palloc'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1388: undefined reference to `apr_table_make'
mod_jk.o: In function `copy_jk_map':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1407: undefined reference to `apr_pstrdup'
mod_jk.o: In function `merge_jk_config':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1445: undefined reference to `apr_table_overlay'
mod_jk.o: In function `init_jk':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1520: undefined reference to `ap_get_server_version'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1522: undefined reference to `ap_add_version_component'
mod_jk.o: In function `jk_translate':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1570: undefined reference to `apr_pstrdup'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1571: undefined reference to `apr_table_setn'
mod_jk.o: In function `jk_map_to_storage':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1584: undefined reference to `apr_table_get'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1585: undefined reference to `apr_filename_of_pathname'
mod_jk.o: In function `jk_register_hooks':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1594: undefined reference to `ap_hook_handler'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1595: undefined reference to `ap_hook_post_config'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1596: undefined reference to `ap_hook_child_init'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1597: undefined reference to `ap_hook_translate_name'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/mod_j
k.c:1599: undefined reference to `ap_hook_map_to_storage'
jk_jni_worker.o: In function `load_jvm_dll':
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/jk_jn
i_worker.c:738: undefined reference to `dlopen'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/jk_jn
i_worker.c:741: undefined reference to `dlerror'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/jk_jn
i_worker.c:745: undefined reference to `dlsym'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/jk_jn
i_worker.c:746: undefined reference to `dlsym'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/jk_jn
i_worker.c:747: undefined reference to `dlsym'
/usr/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/jk_jn
i_worker.c:757: undefined reference to `dlclose'
collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536

Help ! :) Thanks !

> ------------------------->
> Claude Coiffier - TEAMLOG
> +33(0)4 76 61 36 48
>
>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message