安装Apache2 执行make的时候出现错误

发布于 2022-10-15 10:18:08 字数 2623 浏览 65 评论 0

root@Ferdinand:/home/source/httpd-2.0.35# make
Making all in srclib
make[1]: Entering directory `/home/source/httpd-2.0.35/srclib'
Making all in apr
make[2]: Entering directory `/home/source/httpd-2.0.35/srclib/apr'
Making all in strings
make[3]: Entering directory `/home/source/httpd-2.0.35/srclib/apr/strings'
make[4]: Entering directory `/home/source/httpd-2.0.35/srclib/apr/strings'
make[4]: Nothing to be done for `local-all'.
make[4]: Leaving directory `/home/source/httpd-2.0.35/srclib/apr/strings'
make[3]: Leaving directory `/home/source/httpd-2.0.35/srclib/apr/strings'
Making all in passwd
make[3]: Entering directory `/home/source/httpd-2.0.35/srclib/apr/passwd'
make[4]: Entering directory `/home/source/httpd-2.0.35/srclib/apr/passwd'
make[4]: Nothing to be done for `local-all'.
make[4]: Leaving directory `/home/source/httpd-2.0.35/srclib/apr/passwd'
make[3]: Leaving directory `/home/source/httpd-2.0.35/srclib/apr/passwd'
Making all in tables
make[3]: Entering directory `/home/source/httpd-2.0.35/srclib/apr/tables'
make[4]: Entering directory `/home/source/httpd-2.0.35/srclib/apr/tables'
make[4]: Nothing to be done for `local-all'.
make[4]: Leaving directory `/home/source/httpd-2.0.35/srclib/apr/tables'
make[3]: Leaving directory `/home/source/httpd-2.0.35/srclib/apr/tables'
Making all in file_io/unix
make[3]: Entering directory `/home/source/httpd-2.0.35/srclib/apr/file_io/unix'
make[4]: Entering directory `/home/source/httpd-2.0.35/srclib/apr/file_io/unix'
/bin/sh /home/source/httpd-2.0.35/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT   -I../../include -I../../include/arch/unix -I../../include/arch/unix  -c pipe.c && touch pipe.lo
pipe.c:79:17: error: operator "defined" requires an identifier
pipe.c:79:18: error: missing binary operator before token "04000"
make[4]: *** [pipe.lo] Error 1
make[4]: Leaving directory `/home/source/httpd-2.0.35/srclib/apr/file_io/unix'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/source/httpd-2.0.35/srclib/apr/file_io/unix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/source/httpd-2.0.35/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/source/httpd-2.0.35/srclib'
make: *** [all-recursive] Error 1

请问大家这个错误在什么地方啊?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

淡水深流 2022-10-22 10:18:08

configure的时候没有报错?

棒棒糖 2022-10-22 10:18:08

回复 2# chenyx

    恩 没有错

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文