- 论坛徽章:
- 0
|
各位大师:
安装tomcat-conn 在make的时候出现错误信息如下,百度了很久没有找到有效解决方法。- mod_jk.c: In function 'jk_error_exit':
- mod_jk.c:446: warning: initialization from incompatible pointer type
- mod_jk.c:446: error: expected expression before ')' token
- mod_jk.c:446: warning: passing argument 5 of 'ap_log_error_' makes integer from pointer without a cast
- /home/test/apache/include/http_log.h:372: note: expected 'apr_status_t' but argument is of type 'const struct server_rec *'
- mod_jk.c: In function 'init_ws_service':
- mod_jk.c:499: error: 'conn_rec' has no member named 'remote_ip'
- mod_jk.c:499: error: 'conn_rec' has no member named 'remote_ip'
- mod_jk.c:499: error: 'conn_rec' has no member named 'remote_ip'
- mod_jk.c:515: warning: implicit declaration of function 'ap_get_server_version'
- mod_jk.c:515: warning: cast to pointer from integer of different size
- mod_jk.c:542: error: 'conn_rec' has no member named 'remote_ip'
- mod_jk.c:542: error: 'conn_rec' has no member named 'remote_ip'
- mod_jk.c: At top level:
- mod_jk.c:1684: warning: initialization from incompatible pointer type
- mod_jk.c:1692: warning: initialization from incompatible pointer type
- mod_jk.c: In function 'create_jk_config':
- mod_jk.c:2091: warning: passing argument 5 of 'jk_error_exit' from incompatible pointer type
- mod_jk.c:433: note: expected 'struct apr_pool_t *' but argument is of type 'struct server_rec *'
- mod_jk.c:2091: warning: passing argument 6 of 'jk_error_exit' from incompatible pointer type
- mod_jk.c:433: note: expected 'const char *' but argument is of type 'struct apr_pool_t *'
- mod_jk.c:2094: warning: passing argument 5 of 'jk_error_exit' from incompatible pointer type
- mod_jk.c:433: note: expected 'struct apr_pool_t *' but argument is of type 'struct server_rec *'
- mod_jk.c:2094: warning: passing argument 6 of 'jk_error_exit' from incompatible pointer type
- mod_jk.c:433: note: expected 'const char *' but argument is of type 'struct apr_pool_t *'
- mod_jk.c: In function 'copy_jk_map':
- mod_jk.c:2123: warning: passing argument 5 of 'jk_error_exit' from incompatible pointer type
- mod_jk.c:433: note: expected 'struct apr_pool_t *' but argument is of type 'struct server_rec *'
- mod_jk.c:2123: warning: passing argument 6 of 'jk_error_exit' from incompatible pointer type
- mod_jk.c:433: note: expected 'const char *' but argument is of type 'struct apr_pool_t *'
- mod_jk.c: In function 'merge_jk_config':
- mod_jk.c:2163: warning: passing argument 5 of 'jk_error_exit' from incompatible pointer type
- mod_jk.c:433: note: expected 'struct apr_pool_t *' but argument is of type 'struct server_rec *'
- mod_jk.c:2163: warning: passing argument 6 of 'jk_error_exit' from incompatible pointer type
- mod_jk.c:433: note: expected 'const char *' but argument is of type 'struct apr_pool_t *'
- mod_jk.c: In function 'jk_log_to_file':
- mod_jk.c:2204: error: request for member 'log' in something not a structure or union
- mod_jk.c:2204: error: request for member 'log' in something not a structure or union
- mod_jk.c:2204: error: request for member 'connection' in something not a structure or union
- mod_jk.c:2204: error: request for member 'connection' in something not a structure or union
- mod_jk.c:2204: error: request for member 'server' in something not a structure or union
- mod_jk.c:2204: error: request for member 'log' in something not a structure or union
- mod_jk.c:2204: error: request for member 'log' in something not a structure or union
- mod_jk.c:2204: error: request for member 'connection' in something not a structure or union
- mod_jk.c:2204: error: request for member 'connection' in something not a structure or union
- mod_jk.c:2204: error: request for member 'server' in something not a structure or union
- mod_jk.c:2204: error: request for member 'log' in something not a structure or union
- mod_jk.c:2204: error: request for member 'log' in something not a structure or union
- mod_jk.c:2204: error: request for member 'connection' in something not a structure or union
- mod_jk.c:2204: error: request for member 'connection' in something not a structure or union
- mod_jk.c:2204: error: request for member 'server' in something not a structure or union
- mod_jk.c:2204: error: request for member 'log' in something not a structure or union
- mod_jk.c:2204: error: request for member 'log' in something not a structure or union
- mod_jk.c:2204: error: request for member 'connection' in something not a structure or union
- mod_jk.c:2204: error: request for member 'connection' in something not a structure or union
- mod_jk.c:2204: error: request for member 'server' in something not a structure or union
- mod_jk.c: In function 'init_jk':
- mod_jk.c:2395: warning: passing argument 5 of 'jk_error_exit' from incompatible pointer type
- mod_jk.c:433: note: expected 'struct apr_pool_t *' but argument is of type 'struct server_rec *'
- mod_jk.c:2395: warning: passing argument 6 of 'jk_error_exit' from incompatible pointer type
- mod_jk.c:433: note: expected 'const char *' but argument is of type 'struct apr_pool_t *'
- mod_jk.c:2413: warning: cast to pointer from integer of different size
- mod_jk.c: In function 'jk_post_config':
- mod_jk.c:2437: warning: implicit declaration of function 'unixd_set_global_mutex_perms'
- make[1]: *** [mod_jk.lo] Error 1
- make[1]: Leaving directory `/home/app/jakarta-tomcat-connectors/jk/native/apache-2.0'
- make: *** [all-recursive] Error 1
复制代码 |
|