免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2427 | 回复: 1

[proxy] 编译squid出现问题 [复制链接]

论坛徽章:
0
发表于 2016-12-31 14:50 |显示全部楼层
大家好,下面是在make的时候出现的问题,但是不知道什么意思,请各位帮忙看一下,谢谢!
In file included from old_api.cc:12:
../../src/base/PackableStream.h:30: 错误:expected ‘;’ before ‘override’
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/functional:56,
                 from ../../src/sbuf/forward.h:12,
                 from ../../src/sbuf/SBuf.h:18,
                 from ../../src/format/Format.h:14,
                 from ../../src/HttpHeaderTools.h:13,
                 from ../../src/SquidConfig.h:18,
                 from old_api.cc:24:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/typeinfo:36: 错误:expected ‘;’ before end of line
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/typeinfo:36: 错误:expected ‘}’ before end of line
In file included from old_api.cc:12:
../../src/base/PackableStream.h: In constructor ‘PackableStreamBuf:ackableStreamBuf(Packable&’:
../../src/base/PackableStream.h:23: 错误:类‘PackableStreamBuf’没有名为‘buf_’的字段
../../src/base/PackableStream.h:23: 错误:‘buf_’在此作用域中尚未声明
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/functional:56,
                 from ../../src/sbuf/forward.h:12,
                 from ../../src/sbuf/SBuf.h:18,
                 from ../../src/format/Format.h:14,
                 from ../../src/HttpHeaderTools.h:13,
                 from ../../src/SquidConfig.h:18,
                 from old_api.cc:24:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/typeinfo: At global scope:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/typeinfo:36: 错误:expected unqualified-id before end of line
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/typeinfo:36: 错误:expected declaration before end of line
cc1plus: warnings being treated as errors
cc1plus: 错误:无法识别的命令行选项“-Wno-deprecated-register”
make[3]: *** [old_api.lo] 错误 1
make[3]: Leaving directory `/root/squid-4.0.17/src/mem'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/root/squid-4.0.17/src'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/root/squid-4.0.17/src'

论坛徽章:
0
发表于 2017-01-03 09:45 |显示全部楼层
回复 1# jszj

没有办法,我下载了3.5的版本就可以了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP