QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 734|回复: 0

mod_gzip 在 rh 8.0 上的 Apache 2.0 上通不过 !

[复制链接]
发表于 2002-10-6 16:08:16 | 显示全部楼层 |阅读模式
[root@gugonghcs tmp]# apxs -a -c  mod_gzip.c
/usr/lib/httpd/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -march=i386 -mcpu=i686 -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -DNO_DBM_REWRITEMAP -I/usr/include/httpd  -c -o mod_gzip.lo mod_gzip.c && touch mod_gzip.slo
mod_gzip.c:98: syntax error before "char"
mod_gzip.c:98: conflicting types for `ap_server_root'
/usr/include/httpd/http_main.h:81: previous declaration of `ap_server_root'
mod_gzip.c:109: parse error before "gzip_module"
mod_gzip.c:109: warning: data definition has no type or storage class
mod_gzip.c:1226: syntax error before "module"
mod_gzip.c:1229: parse error before "array_header"
mod_gzip.c:1229: warning: no semicolon at end of struct or union
mod_gzip.c: In function `mod_gzip_run_handlers':
mod_gzip.c:1330: warning: comparison of distinct pointer types lacks a cast
mod_gzip.c:1399: structure has no member named `type_checker'
mod_gzip.c:1403: structure has no member named `translate_handler'
mod_gzip.c:1439: structure has no member named `type_checker'
mod_gzip.c:1443: structure has no member named `translate_handler'
mod_gzip.c: At top level:
mod_gzip.c:1649: parse error before "pool"
mod_gzip.c: In function `mod_gzip_init':
mod_gzip.c:1669: `server' undeclared (first use in this function)
mod_gzip.c:1669: (Each undeclared identifier is reported only once
mod_gzip.c:1669: for each function it appears in.)
mod_gzip.c:1669: request for member `module_index' in something not a structure or union
mod_gzip.c:1689: warning: passing arg 1 of `ap_add_version_component' from incompatible pointer type
mod_gzip.c:1689: too few arguments to function `ap_add_version_component'
mod_gzip.c: In function `mod_gzip_type_checker':
mod_gzip.c:2121: `table_entry' undeclared (first use in this function)
mod_gzip.c:2121: `elts' undeclared (first use in this function)
mod_gzip.c:2204: request for member `module_index' in something not a structure or union
mod_gzip.c:2310: warning: assignment makes pointer from integer without a cast
mod_gzip.c:2404: warning: assignment makes pointer from integer without a cast
mod_gzip.c:2490: parse error before ')' token
mod_gzip.c:2492: dereferencing pointer to incomplete type
mod_gzip.c: In function `mod_gzip_do_command':
mod_gzip.c:2794: warning: passing arg 1 of `ap_send_mmap' from incompatible pointer type
mod_gzip.c: In function `mod_gzip_handler':
mod_gzip.c:2913: warning: assignment makes pointer from integer without a cast
mod_gzip.c:2980: request for member `module_index' in something not a structure or union
mod_gzip.c:2983: request for member `module_index' in something not a structure or union
mod_gzip.c:3033: warning: assignment makes pointer from integer without a cast
mod_gzip.c:3167: warning: assignment makes pointer from integer without a cast
mod_gzip.c:3188: warning: assignment makes pointer from integer without a cast
mod_gzip.c:3192: warning: assignment makes pointer from integer without a cast
mod_gzip.c:3196: warning: assignment makes pointer from integer without a cast
mod_gzip.c:3276: warning: passing arg 4 of `ap_log_error' makes integer from pointer without a cast
mod_gzip.c:3276: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
mod_gzip.c:3303: warning: assignment makes pointer from integer without a cast
mod_gzip.c:3304: warning: assignment makes pointer from integer without a cast
mod_gzip.c:3305: warning: assignment makes pointer from integer without a cast
mod_gzip.c:3306: warning: assignment makes pointer from integer without a cast
mod_gzip.c: At top level:
mod_gzip.c:3439: parse error before '*' token
mod_gzip.c: In function `mod_gzip_merge1':
mod_gzip.c:3488: `merged_config' undeclared (first use in this function)
mod_gzip.c:3489: `nconf' undeclared (first use in this function)
mod_gzip.c:3489: `pconf' undeclared (first use in this function)
mod_gzip.c:3517: `p' undeclared (first use in this function)
mod_gzip.c: At top level:
mod_gzip.c:4695: parse error before '*' token
mod_gzip.c: In function `mod_gzip_create_dconfig':
mod_gzip.c:4700: `dirspec' undeclared (first use in this function)
mod_gzip.c:4702: `p' undeclared (first use in this function)
mod_gzip.c:4708: warning: assignment makes pointer from integer without a cast
mod_gzip.c: At top level:
mod_gzip.c:4716: parse error before '*' token
mod_gzip.c: In function `mod_gzip_merge_dconfig':
mod_gzip.c:4721: `p' undeclared (first use in this function)
mod_gzip.c:4722: `parent_conf' undeclared (first use in this function)
mod_gzip.c:4723: `newloc_conf' undeclared (first use in this function)
mod_gzip.c:4726: `pool' undeclared (first use in this function)
mod_gzip.c:4726: parse error before ')' token
mod_gzip.c: At top level:
mod_gzip.c:4736: parse error before '*' token
mod_gzip.c: In function `mod_gzip_create_sconfig':
mod_gzip.c:4741: `s' undeclared (first use in this function)
mod_gzip.c:4747: `p' undeclared (first use in this function)
mod_gzip.c:4753: warning: assignment makes pointer from integer without a cast
mod_gzip.c: At top level:
mod_gzip.c:4761: parse error before '*' token
mod_gzip.c: In function `mod_gzip_merge_sconfig':
mod_gzip.c:4766: `p' undeclared (first use in this function)
mod_gzip.c:4767: `parent_conf' undeclared (first use in this function)
mod_gzip.c:4768: `newloc_conf' undeclared (first use in this function)
mod_gzip.c:4771: `pool' undeclared (first use in this function)
mod_gzip.c:4771: parse error before ')' token
mod_gzip.c: At top level:
mod_gzip.c:4791: warning: initialization from incompatible pointer type
mod_gzip.c:4793: warning: initialization from incompatible pointer type
mod_gzip.c:4795: warning: initialization from incompatible pointer type
mod_gzip.c:4797: warning: initialization from incompatible pointer type
mod_gzip.c:4799: warning: initialization from incompatible pointer type
mod_gzip.c:4801: warning: initialization from incompatible pointer type
mod_gzip.c:4803: warning: initialization from incompatible pointer type
mod_gzip.c:4805: warning: initialization from incompatible pointer type
mod_gzip.c:4807: warning: initialization from incompatible pointer type
mod_gzip.c:4809: warning: initialization from incompatible pointer type
mod_gzip.c:4811: warning: initialization from incompatible pointer type
mod_gzip.c:4813: warning: initialization from incompatible pointer type
mod_gzip.c:4815: warning: initialization from incompatible pointer type
mod_gzip.c:4817: warning: initialization from incompatible pointer type
mod_gzip.c:4819: warning: initialization from incompatible pointer type
mod_gzip.c:4821: warning: initialization from incompatible pointer type
mod_gzip.c:4824: warning: initialization from incompatible pointer type
mod_gzip.c:4828: warning: initialization from incompatible pointer type
mod_gzip.c:4834: parse error before "mod_gzip_handlers"
mod_gzip.c:4836: warning: braces around scalar initializer
mod_gzip.c:4836: warning: (near initialization for `mod_gzip_handlers[0]')
mod_gzip.c:4836: warning: initialization makes integer from pointer without a cast
mod_gzip.c:4836: warning: excess elements in scalar initializer
mod_gzip.c:4836: warning: (near initialization for `mod_gzip_handlers[0]')
mod_gzip.c:4837: warning: braces around scalar initializer
mod_gzip.c:4837: warning: (near initialization for `mod_gzip_handlers[1]')
mod_gzip.c:4837: warning: initialization makes integer from pointer without a cast

... ... 等等很多 !

有谁编译成功的,请帮一下呀 !
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-27 03:46 , Processed in 0.036104 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表