sunday151840 发表于 2014-2-28 15:14:23

Qt4.7.1 交叉编译环境配置

http://bbs.witech.com.cn/thread-46946-1-1.html

按照手册的步骤和 上面的步骤,都不能正确进行Qt4.7.1 交叉编译环境配置

问题1:

1.3 进入 tslib 目录:
cd tslib;
设置环境变量
                   是用gedit /etc/profile 吗?还是在其他地方配置
#export PATH=/usr/local/arm/arm-2009q3/bin:$PATH
#export TOOLCHAIN=/usr/local/arm/arm-2009q3
#export TB_CC_PREFIX=arm-linux-
#export PKG_CONFIG_PREFIX=$TOOLCHAIN/arm-linux

sunday151840 发表于 2014-2-28 16:03:50

1.5用 configure 生成 Makefile

生成警告

configure: WARNING: unrecognized options: --enable-inputapi
root@localhost:~/arm/tslib#

sunday151840 发表于 2014-2-28 16:07:59

1.6 编译安装
make 2>&1 | tee make_log

错误:
font_8x16.c:4629: warning: pointer targets in initialization differ in signedness
mv -f .deps/font_8x16.Tpo .deps/font_8x16.Po
make: *** No rule to make target `../src/libts.la', needed by `ts_test'.Stop.
root@localhost:~/arm/tslib/tests#


sunday151840 发表于 2014-2-28 17:45:25

configure: WARNING: unrecognized options: --enable-inputapi
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
configure: loading cache arm-linux.cache
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-strip... (cached) arm-linux-strip
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for arm-linux-g++... (cached) arm-linux-g++
checking whether the C++ compiler works... no
configure: error: in `/home/huang/arm/tslib':
configure: error: C++ compiler cannot create executables
See `config.log' for more details

飞凌-unix 发表于 2014-3-4 16:42:27

楼主,您的问题是出在什么地方啊?
页: [1]
查看完整版本: Qt4.7.1 交叉编译环境配置