bujuexiao 2013-06-06 08:39 采纳率: 0%
浏览 4221

mod_jk报错,哪位大侠帮忙解答下

[root@langhuaqi-353 native]# make
Making all in common
make[1]: Entering directory /usr/local/src/jakarta-tomcat-connectors-1.2.15-src/jk/native/common'
make[1]: Nothing to be done for
all'.
make[1]: Leaving directory /usr/local/src/jakarta-tomcat-connectors-1.2.15-src/jk/native/common'
Making all in apache-2.0
make[1]: Entering directory
/usr/local/src/jakarta-tomcat-connectors-1.2.15-src/jk/native/apache-2.0'
/usr/local/apache2/build/libtool --silent --mode=compile gcc -std=gnu99 -I/usr/local/apache2/include -g -O2 -DUSE_APACHE_MD5 -I ../common -I /root/jdk1.6.0_20/include -I /root/jdk1.6.0_20/include/unix -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -O2 -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -c mod_jk.c -o mod_jk.lo
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
/usr/local/apache2/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 `/usr/local/src/jakarta-tomcat-connectors-1.2.15-src/jk/native/apache-2.0'
make: *** [all-recursive] Error 1

  • 写回答

2条回答

  • qq_32242895 2015-10-26 09:39
    关注

    大神们,怎么没人来回答啊

    评论

报告相同问题?

悬赏问题

  • ¥20 搭建pt1000三线制高精度测温电路
  • ¥15 使用Jdk8自带的算法,和Jdk11自带的加密结果会一样吗,不一样的话有什么解决方案,Jdk不能升级的情况
  • ¥15 画两个图 python或R
  • ¥15 在线请求openmv与pixhawk 实现实时目标跟踪的具体通讯方法
  • ¥15 八路抢答器设计出现故障
  • ¥15 opencv 无法读取视频
  • ¥15 用matlab 实现通信仿真
  • ¥15 按键修改电子时钟,C51单片机
  • ¥60 Java中实现如何实现张量类,并用于图像处理(不运用其他科学计算库和图像处理库))
  • ¥20 5037端口被adb自己占了