apache安装modsecurity模块,make的时候报错

qq_37466900 2018-08-21 05:58:46
make编译的时候出现下面报错:
libtool: link: ranlib .libs/mod_security2.a
libtool: link: ( cd ".libs" && rm -f "mod_security2.la" && ln -s "../mod_security2.la" "mod_security2.la" )
make[2]: Leaving directory `/usr/local/src/modsecurity-2.9.2/apache2'
make[1]: Leaving directory `/usr/local/src/modsecurity-2.9.2/apache2'
Making all in mlogc
make[1]: Entering directory `/usr/local/src/modsecurity-2.9.2/mlogc'
gcc -DHAVE_CONFIG_H -I. -I../apache2 -D_REENTRANT -D_GNU_SOURCE -I../apache2 -I/usr/include/apr-1 -DWITH_CURL -g -O2 -I/usr/include/apr-1 -MT mlogc-mlogc.o -MD -MP -MF .deps/mlogc-mlogc.Tpo -c -o mlogc-mlogc.o `test -f 'mlogc.c' || echo './'`mlogc.c
mlogc.c: In function ogc_init

mlogc.c:1281: error: URL_SSLVERSION_TLSv1_0undeclared (first use in this function)
mlogc.c:1281: error: (Each undeclared identifier is reported only once
mlogc.c:1281: error: for each function it appears in.)
mlogc.c:1284: error: URL_SSLVERSION_TLSv1_1undeclared (first use in this function)
mlogc.c:1287: error: URL_SSLVERSION_TLSv1_2undeclared (first use in this function)
make[1]: *** [mlogc-mlogc.o] Error 1
make[1]: Leaving directory `/usr/local/src/modsecurity-2.9.2/mlogc'
make: *** [all-recursive] Error 1

这个问题困扰我两天了,大神帮帮忙啊
...全文
321 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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