安装mod_zip,make命令时出错

rayboy2003 2004-02-17 02:08:53
[root@rt-a-01 mod_gzip]# make
/home/netrayli/bin/apxs -Wc,-Wall,-O3,-fomit-frame-pointer,-pipe -c mod_gzip.c mod_gzip_debug.c mod_gzip_compress.c -o mod_gzip.so
/home/netrayli/build/libtool --silent --mode=compile gcc -prefer-pic -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -g -O2 -pthread -I/home/netrayli/include -I/home/netrayli/include -I/home/netrayli/include -Wall,-O3,-fomit-frame-pointer,-pipe -c -o mod_gzip.lo mod_gzip.c && touch mod_gzip.slo
In file included from mod_gzip.c:105:
mod_gzip.h:104: parse error before `gzip_module'
mod_gzip.h:104: warning: data definition has no type or storage class
mod_gzip.h:358: warning: `struct pool' declared inside parameter list
mod_gzip.h:358: warning: its scope is only this definition or declaration, which is probably not what you want.
mod_gzip.h:363: parse error before `array_header'
mod_gzip.h:363: warning: no semicolon at end of struct or union
mod_gzip.c:111: syntax error before `char'
mod_gzip.c:111: conflicting types for `ap_server_root'
/home/netrayli/include/http_main.h:81: previous declaration of `ap_server_root'
mod_gzip.c:639: syntax error before `module'
mod_gzip.c: In function `mod_gzip_run_handlers':
mod_gzip.c:8080: warning: return makes pointer from integer without a cast
mod_gzip.c: In function `mod_gzip_compress_file':
mod_gzip.c:8110: warning: passing arg 4 of `ap_log_error' makes integer from pointer without a cast
mod_gzip.c:8110: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
apxs:Error: Command failed with rc=65536
.
make: *** [build] Error 1
...全文
41 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

24,923

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Apache
社区管理员
  • Apache
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧