skyeye安装时./configure出错cannot run C++ compiled programs
对源文件安装时,./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.
不知道是什么原因,跪求解决方法 你的编译命令是什么样子的? 对于skyeye-1.3.0_rc1应该是:
./configure
make lib
make
make install_lib
make install 估计他把 skyeye 编译成在 arm 上面运行的程序了。
页:
[1]