QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2722|回复: 2

skyeye安装时./configure出错cannot run C++ compiled programs

[复制链接]
发表于 2010-1-22 17:35:46 | 显示全部楼层 |阅读模式
对源文件安装时,./configure时出现以下错误
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... configure: error: in `/usr/skyeye-1.3.0_rc1':
configure: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
config.log中的文件这样
configure:2944: checking for C++ compiler default output file name
configure:2966: g++    conftest.cpp  >&5
configure:2970: $? = 0
configure:3008: result: a.out
configure:3027: checking whether the C++ compiler works
configure:3037: ./a.out
./configure: line 3039: ./a.out: cannot execute binary file
configure:3041: $? = 126
configure:3048: error: in `/usr/skyeye-1.3.0_rc1':
configure:3052: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
不知道是什么原因,跪求解决方法
发表于 2010-2-8 11:33:10 | 显示全部楼层
你的编译命令是什么样子的? 对于skyeye-1.3.0_rc1应该是:
./configure
make lib
make
make install_lib
make install
回复

使用道具 举报

发表于 2010-2-8 15:40:36 | 显示全部楼层
估计他把 skyeye 编译成在 arm 上面运行的程序了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-24 17:12 , Processed in 0.068946 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表