在交叉编译的时候总是使用configure --host=arm-linux 嘿嘿但是在CONFIGURE中有很多的测试程序是不可以在HOST上运行的就会出现: error: cannot run test program while cross compiling 类似的错误,可以使用CACHEFILE解决这个问题,还要谢谢ABSURD兄的文章给我的指导。 我是这样解决的第一步:记录下错误的地方如:checking abstract socket namespace... configure: error: cannot run test program while cross compiling 注意...
by blworld - Linux文档专区 - 2008-03-28 18:12:57 阅读(610) 回复(0)
本帖最后由 ddd010 于 2012-05-15 00:18 编辑 [code]checking dependency style of arm-xxc-linux-gcc... (cached) gcc3 checking for arm-xxc-linux-gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking for extra flags to get ANSI library prototypes... configure: error: cannot run test program while cross compiling See `config.log' for more deta...
在交叉编译的时候总是使用 export PREFIX=/home/usr/liuhongbing/tmp/install export ARCH=mips export CROSS_COMPILE=c2-linux- export CC=${CROSS_COMPILE}gcc export CXX=${CROSS_COMPILE}g++ export AR=${CROSS_COMPILE}ar export RANLIB=${CROSS_COMPILE}ranlib export NM=${CROSS_COMPILE}nm export AS=${CROSS_COMPILE}as export LD=${CROSS_COMPILE}ld ./configure --prefix=$PREFIX --...
#./configure configure: error: cannot run /bin/sh config/config.sub 请问出现上面的问题是为什么呢? 我编译了N多软件都没有出现过这个错误提示,但是在编译 SPINE 的时候出现这个错误提示。 网上说是LIBTOOL没有装,但是我已经安装过了,版本如下: # rpm -qa | grep libtool libtool-1.5.22-6.1 已经检查过所有文件的权限了,在/bin/sh下和/bin/bash下都测试过,该文件完全可读、可写...
安装apache时,有两个错误提示,如下: 1. error while loading shared libraries: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory 2.error: cannot run C compiled programs. 各位高手有碰到这种情况的吗?该如何解决? ---------------------------------------------------------------------------------- configure:4352: checking whether the C compiler works configure:4362: ....
``最近研究gentoo 遇到个问题。.关于gentoo的。. 换了个机器。用vm server 装gentoo.. 执行到 chroot /mnt/gentoo /bin/bash 的时候.. 提示 ... chroot:cannot run command 'bin/bash':exec format error .. 我查了查 好象是跟 32位与64位系统不兼容的问题? 我虚拟的环境是 other linux 2.6.X kernel 64 -bit 我系统是amd 9500 4G内存 m3a 的板子 .. 请教各位高手 。
安装啥./configure时都出来这一句 checking whether the C compiler works... configure: error: cannot run C compiled programs.
安装啥./configure时都出来这一句 checking whether the C compiler works... configure: error: cannot run C compiled programs.
我在编译软件前./configure时出错,提示: configure: error: cannot run /bin/sh ./config.sub configure: error: /bin/sh './configure' failed for nbase 执行./config.sub -h后,提示: Usage: ./config.sub [OPTION] CPU-MFR-OPSYS ./config.sub [OPTION] ALIAS 这个“CPU-MFR-OPSYS ”和“ALIAS”是什么冬冬,从哪里得到? 我的系统是ubuntu(in vmware),应该如何解决这个问题? config.sub这个脚本是干什么用的? [...
我在编译软件前./configure时出错,提示: configure: error: cannot run /bin/sh ./config.sub configure: error: /bin/sh './configure' failed for nbase 执行./config.sub -h后,提示: Usage: ./config.sub [OPTION] CPU-MFR-OPSYS ./config.sub [OPTION] ALIAS 这个“CPU-MFR-OPSYS ”和“ALIAS”是什么冬冬,从哪里得到? 我的系统是ubuntu(in vmware),应该如何解决这个问题? config.sub这个脚本是干什么用的? [...