Liunx系统 --雨林木风操作系统门户

您身边的系统顾问

注册
热点: Porteus 1.2 RC2下载 Devil Linux 1.6.1发布

您现在的位置是:主页 > 其他Linux发行版频道 > 疑难问题 >

Linux下安装tslib-1.4出错及解决方法

时间:2011-02-23 13:54 来源:Linux社区 收藏 复制分享 共有评论(0)条

  首先下载tslib-1.4.tar.gz

  解压:tar xzvf tslib-1.4tzr.gz

  进入tslib目录

  cd tslib

  1.执行./autogen.sh

  提示错误一:

  ./autogen.sh: 4: autoreconf: not found

  解决方法:sudo apt-get install autoconf automake libtool

  2.执行./configure --host=arm-linux --prefix=/usr/local/tslib

  提示错误二:

  ts_test.o(.text+0x218): In function `main':

  : undefined reference to `rpl_malloc'

  fbutils.o(.text+0x234): In function `open_framebuffer':

  : undefined reference to `rpl_malloc'

  collect2: ld returned 1 exit status

  make[2]: *** [ts_test] Error 1

  make[2]: Leaving directory `/home/gfpeak/Desktop/tslib/tests'

  make[1]: *** [all-recursive] Error 1

  make[1]: Leaving directory `/home/gfpeak/Desktop/tslib'

  make: *** [all] Error 2

  解决方法是在编译的时候 ./configure 后面的参数没有设置对,正确设置如下:

  ./configure --prefix=/usr/local/tslib/ --host=arm-linux ac_cv_func_malloc_0_nonnull=yes

  3.执行make

  4.执行sudo make install

(责任编辑:孔胜)
顶一下
(4)
66.7%
踩一下
(2)
33.3%
最新评论 进入详细评论页>>
发表评论
已有0条跟贴(点击查看)
只允许会员评论,请先 登录注册
请自觉遵守互联网相关的政策法规,文明发言。