C compiler cannot create executables
转载本站文章请注明,转载自:扶凯[http://www.php-oa.com]
本文链接: http://www.php-oa.com/2009/02/06/c-compiler-cannot-create-executables.html
在64位的机器上编译软件时,常常出现如下这个错
checking for C compiler default output file name… configure: error: C compiler cannot create executables
其实不是C编译器有问题,是因为env中一个变量设置过了,所以认为不对,报上面的错.解决的方法很简单
CFLAGS="”
这样给CFLAGS变量 给个空值就行了.



















哎,centos4.7 编译zabbix出错了,checking for C compiler default output file name… configure: error: C compiler cannot create executables
试了好多方法,都没解决。。