交叉编译tslib1.4

1、 解压tslib1.4并进入其目录,创建编写配置文件:
vim configTslib14.sh文件内容:

#!/bin/sh
make distclean 
echo "ac_cv_func_malloc_0_nonnull=yes">arm-linux.cache
CC=/usr/local/arm/fsl-linaro-toolchain/bin/arm-none-linux-gnueabi-gcc 
./configure -host=arm-none-linux-gnueabi -prefix=/home/kang/work/Qt/Qt_Install/tslib1.4 -cache-file=arm-none-linux-gnueabi.cache 
make && make install 

注意prefix,host,cache前面的“-”,一定要用英文输入方式写入,复制本文档,尽量自己手敲这三个符号。

如果提示错误:undefined reference to `rpl_malloc’
进入源码tslib-1.4,找到config.h.in找到最下面将:#undef malloc改为 :#undef rpl_malloc

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值