免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1174 | 回复: 0
打印 上一主题 下一主题

[系统管理] 安装报错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-07-03 10:21 |只看该作者 |倒序浏览
各位大师:
     安装tomcat-conn 在make的时候出现错误信息如下,百度了很久没有找到有效解决方法。
  1. mod_jk.c: In function 'jk_error_exit':
  2. mod_jk.c:446: warning: initialization from incompatible pointer type
  3. mod_jk.c:446: error: expected expression before ')' token
  4. mod_jk.c:446: warning: passing argument 5 of 'ap_log_error_' makes integer from pointer without a cast
  5. /home/test/apache/include/http_log.h:372: note: expected 'apr_status_t' but argument is of type 'const struct server_rec *'
  6. mod_jk.c: In function 'init_ws_service':
  7. mod_jk.c:499: error: 'conn_rec' has no member named 'remote_ip'
  8. mod_jk.c:499: error: 'conn_rec' has no member named 'remote_ip'
  9. mod_jk.c:499: error: 'conn_rec' has no member named 'remote_ip'
  10. mod_jk.c:515: warning: implicit declaration of function 'ap_get_server_version'
  11. mod_jk.c:515: warning: cast to pointer from integer of different size
  12. mod_jk.c:542: error: 'conn_rec' has no member named 'remote_ip'
  13. mod_jk.c:542: error: 'conn_rec' has no member named 'remote_ip'
  14. mod_jk.c: At top level:
  15. mod_jk.c:1684: warning: initialization from incompatible pointer type
  16. mod_jk.c:1692: warning: initialization from incompatible pointer type
  17. mod_jk.c: In function 'create_jk_config':
  18. mod_jk.c:2091: warning: passing argument 5 of 'jk_error_exit' from incompatible pointer type
  19. mod_jk.c:433: note: expected 'struct apr_pool_t *' but argument is of type 'struct server_rec *'
  20. mod_jk.c:2091: warning: passing argument 6 of 'jk_error_exit' from incompatible pointer type
  21. mod_jk.c:433: note: expected 'const char *' but argument is of type 'struct apr_pool_t *'
  22. mod_jk.c:2094: warning: passing argument 5 of 'jk_error_exit' from incompatible pointer type
  23. mod_jk.c:433: note: expected 'struct apr_pool_t *' but argument is of type 'struct server_rec *'
  24. mod_jk.c:2094: warning: passing argument 6 of 'jk_error_exit' from incompatible pointer type
  25. mod_jk.c:433: note: expected 'const char *' but argument is of type 'struct apr_pool_t *'
  26. mod_jk.c: In function 'copy_jk_map':
  27. mod_jk.c:2123: warning: passing argument 5 of 'jk_error_exit' from incompatible pointer type
  28. mod_jk.c:433: note: expected 'struct apr_pool_t *' but argument is of type 'struct server_rec *'
  29. mod_jk.c:2123: warning: passing argument 6 of 'jk_error_exit' from incompatible pointer type
  30. mod_jk.c:433: note: expected 'const char *' but argument is of type 'struct apr_pool_t *'
  31. mod_jk.c: In function 'merge_jk_config':
  32. mod_jk.c:2163: warning: passing argument 5 of 'jk_error_exit' from incompatible pointer type
  33. mod_jk.c:433: note: expected 'struct apr_pool_t *' but argument is of type 'struct server_rec *'
  34. mod_jk.c:2163: warning: passing argument 6 of 'jk_error_exit' from incompatible pointer type
  35. mod_jk.c:433: note: expected 'const char *' but argument is of type 'struct apr_pool_t *'
  36. mod_jk.c: In function 'jk_log_to_file':
  37. mod_jk.c:2204: error: request for member 'log' in something not a structure or union
  38. mod_jk.c:2204: error: request for member 'log' in something not a structure or union
  39. mod_jk.c:2204: error: request for member 'connection' in something not a structure or union
  40. mod_jk.c:2204: error: request for member 'connection' in something not a structure or union
  41. mod_jk.c:2204: error: request for member 'server' in something not a structure or union
  42. mod_jk.c:2204: error: request for member 'log' in something not a structure or union
  43. mod_jk.c:2204: error: request for member 'log' in something not a structure or union
  44. mod_jk.c:2204: error: request for member 'connection' in something not a structure or union
  45. mod_jk.c:2204: error: request for member 'connection' in something not a structure or union
  46. mod_jk.c:2204: error: request for member 'server' in something not a structure or union
  47. mod_jk.c:2204: error: request for member 'log' in something not a structure or union
  48. mod_jk.c:2204: error: request for member 'log' in something not a structure or union
  49. mod_jk.c:2204: error: request for member 'connection' in something not a structure or union
  50. mod_jk.c:2204: error: request for member 'connection' in something not a structure or union
  51. mod_jk.c:2204: error: request for member 'server' in something not a structure or union
  52. mod_jk.c:2204: error: request for member 'log' in something not a structure or union
  53. mod_jk.c:2204: error: request for member 'log' in something not a structure or union
  54. mod_jk.c:2204: error: request for member 'connection' in something not a structure or union
  55. mod_jk.c:2204: error: request for member 'connection' in something not a structure or union
  56. mod_jk.c:2204: error: request for member 'server' in something not a structure or union
  57. mod_jk.c: In function 'init_jk':
  58. mod_jk.c:2395: warning: passing argument 5 of 'jk_error_exit' from incompatible pointer type
  59. mod_jk.c:433: note: expected 'struct apr_pool_t *' but argument is of type 'struct server_rec *'
  60. mod_jk.c:2395: warning: passing argument 6 of 'jk_error_exit' from incompatible pointer type
  61. mod_jk.c:433: note: expected 'const char *' but argument is of type 'struct apr_pool_t *'
  62. mod_jk.c:2413: warning: cast to pointer from integer of different size
  63. mod_jk.c: In function 'jk_post_config':
  64. mod_jk.c:2437: warning: implicit declaration of function 'unixd_set_global_mutex_perms'
  65. make[1]: *** [mod_jk.lo] Error 1
  66. make[1]: Leaving directory `/home/app/jakarta-tomcat-connectors/jk/native/apache-2.0'
  67. make: *** [all-recursive] Error 1
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP