tslib安装 C compiler cannot create executables
来源:互联网 发布:mac cf 编辑:程序博客网 时间:2024/05/29 19:55
对于tslib安装出现的错误C compiler cannot create executables,网上找了一大堆,发现都不适合我,然后自己重新试了一遍
1 首先从网上下载tslib
$ git clone https://github.com/kergoth/tslib
2然后可能还需要对 tslib 这个文件进行,权限的更改,
$ chmod -R 777 tslib
$ chown -R nobody tslib
(注:要是上面运行权限不够,加sudo ($sudo chmod -R 777 tslib)或者直接 sudo su,在root下运行)
3 编译过程如下:
$ cd tslib
$ ./autogen.sh
$ ./configure --host=arm-none-linux-gnueabi --prefix=/home/aqiu/lib/tslib
(这个出现其他错误可以用./configure --host=arm-none-linux-gnueabi --cache-file=arm-none-linux-gnueabi.cache --enable-inputapi=no --prefix=/home/aqiu/nfs_shared/tslib
)
$ make
(注:要是上面运行权限不够,加sudo ($sudo make等)或者直接 sudo su,在root下运行)
编译生成的库,头文件等都拷贝至prefix制定的路径中。
4. 修改ts.conf内容
打开安装路径下的/etc/ts.conf文件,修改其内容。
# vi /home/aqiu/nfs—shared/tslib/etc/ts.conf
找到#module_raw input这一行,把行首的注释符去掉,但要注意行首不要留有空格,即文字是顶格的,不然之后会出现段错误(segmentational fault)。
- tslib安装 C compiler cannot create executables
- "C compiler cannot create executables"
- C compiler cannot create executables
- 龙芯编译tslib-master出现 error: C compiler cannot create executables
- C compiler cannot create executables问题
- C compiler cannot create executables的解决方法
- error: C compiler cannot create executables
- C compiler cannot create executables解决办法
- configure: error: C compiler cannot create executables
- Openwrt编译 C compiler cannot create executables
- 编译出现C compiler cannot create executables
- configure: error: C compiler cannot create executables
- C compiler cannot create executables问题
- ubuntu apache 源码安装错误 configure: error: C compiler cannot create executables 解决
- 安装源码版apache出现 configure: error: C compiler cannot create executables错误
- python安装pycrypto 模块提'configure:2724: error: C compiler cannot create executables'
- ubuntu错误:configure: error: C compiler cannot create executables
- configure: error: C compiler cannot create executables错误解决
- 为什么我要成为最佳(二)
- [算法学习]20150409.1.插入排序
- mysql数据库导出的方法
- 10018---solrserver Extension
- C和指针笔记
- tslib安装 C compiler cannot create executables
- 导入java项目
- JSP、Cookie、Session
- NOJ 2076 天神小学
- 第七周项目2:求两点的距离(1)成员函数
- 深度学习概述:从感知机到深度网络
- 操作系统线程相关知识学习
- Go语言顺序编程
- 郑轻OJ 1090: 整数幂(多实例测试)