sudo apt-get install automake sudo apt-get install autogen sudo apt-get install autoconf
sudo apt-get install libtool
# tar -zxvf tslib-1.4.tar.gz # cd tslib # ./autogen.sh echo "ac_cv_func_malloc_0 _nonnull=yes">arm-linux.cache # ./configure --host= arm-none-linux-gnueabi --cache-file=arm-linux.cache --enable-inputapi=no -prefix=/usr/local/tslib # make # make install-prefix=/usr/local/tslib是指定安装路径,其实

在尝试编译安装tslib时遇到一个错误:'__open_missing_mode'调用被声明为错误,因为O_CREAT作为第二个参数需要三个参数。解决方法是在./tests/ts_calibrate.c的227行将open()改为open(),添加第三个参数。
最低0.47元/天 解锁文章
1万+

被折叠的 条评论
为什么被折叠?



