configure: error: cannot run C compiled programs处理方法

编译时报错:configure: error: cannot run C compiled programs


编译ARIA2时发生错误:

configure: error: cannot run C compiled programs.If you meant to cross compile, use `--host'. 
 解决:因为原来这软件放在NTFS的盘上,所以不能编译。将源码移动到linux分区下再编译。成功。

评论

此博客中的热门博文

aria2 下载时出现errorcode=19 name resolution failed错误的解决办法

KODI(XMBC)安装中文字幕插件

CENTOS 7搭建Resilio-sync 官方指导步骤