您尚未登录。

楼主 #1 2018-11-01 20:35:32

605364021
会员
注册时间: 2018-10-23
已发帖子: 251
积分: 251

下载编译tslib

根据教程http://zero.lichee.pro/%E5%BA%94%E7%94%A8/QT_doc1.html进行操作
但是在进行./configure --host=arm-linux-gnueabihf --cache-file=tmp.cache   --prefix=/opt/tslib CC=/opt/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc
make时出现以下错误

zhang@zhang-virtual-machine:~/tslib$ ./configure --host=arm-linux-gnueabihf --cache-file=tmp.cache   --prefix=/opt/tslib CC=/opt/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc
configure: loading cache tmp.cache
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-gnueabihf-strip... arm-linux-gnueabihf-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 whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-unknown-linux-gnueabihf
checking for arm-linux-gnueabihf-gcc... /opt/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc
checking whether the C compiler works... no
configure: error: in `/home/zhang/tslib':
configure: error: C compiler cannot create executables
See `config.log' for more details
zhang@zhang-virtual-machine:~/tslib$ make
make: *** 没有指明目标并且找不到 makefile。 停止。

是需要修改./configure --host=arm-linux-gnueabihf --cache-file=tmp.cache   --prefix=/opt/tslib CC=/opt/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc编译命令?

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn