+ -
当前位置:首页 → 问答吧 → 编译好3.1.1内核安装不下

编译好3.1.1内核安装不下

时间:2011-11-19

来源:互联网

在编译触摸屏库(tslib)时:
export CC=arm-linux-gcc
./autogen.sh
./configure --host=arm-linux
出现:

configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-strip... arm-linux-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking --enable-debug argument... no
checking --enable-inputapi argument... yes
checking for arm-linux-gcc... arm-linux-gcc
checking whether the C compiler works... no
configure: error: in `/home/xc/work/tslib':
configure: error: C compiler cannot create executables
See `config.log' for more details

哪位朋友可以帮助解释一下,我的gcc 版本:gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)

作者: 水到渠成   发布时间: 2011-11-19

热门下载

更多