gcc编译器无法顺利编译

编译打包和其他
回复
mum
帖子: 5
注册时间: 2019-03-06 17:17
系统: Ubuntu

gcc编译器无法顺利编译

#1

帖子 mum » 2019-03-06 17:36

gcc版本是4.8.5
下载了
gcc 4.8.4
gcc 4.8.5
gcc 4.9.0
都不能顺利编译 不知道该怎么办 :Cry
编译同版本报错如下
../../../../libsanitizer/tsan/tsan_platform_linux.cc: 在函数‘int __tsan::ExtractResolvFDs(void*, int*, int)’中:
../../../../libsanitizer/tsan/tsan_platform_linux.cc:295:16: 错误: ‘statp’在此作用域中尚未声明
__res_state *statp ;
^
../../../../libsanitizer/tsan/tsan_platform_linux.cc:296:21: 错误: expected primary-expression before ‘)’ token
statp = ( statp * ) state;
^
../../../../libsanitizer/tsan/tsan_platform_linux.cc:296:23: 错误: expected ‘;’ before ‘state’
statp = ( statp * ) state;
^
头像
astolia
论坛版主
帖子: 6477
注册时间: 2008-09-18 13:11

Re: gcc编译器无法顺利编译

#2

帖子 astolia » 2019-03-06 19:38

mum
帖子: 5
注册时间: 2019-03-06 17:17
系统: Ubuntu

Re: gcc编译器无法顺利编译

#3

帖子 mum » 2019-03-06 20:59

谢谢斑竹大大 成功跑起来了 等我编译完 可以写经验给不会鸟语的小伙伴看吗 :Shame
yf888
帖子: 3
注册时间: 2010-08-20 11:06

Re: gcc编译器无法顺利编译

#4

帖子 yf888 » 2019-03-19 10:13

你的电脑缺装的软件太多了,肯定没法编译
回复