Welcome 微信登录

首页 / 操作系统 / Linux / Ubuntu 10.10下Mini2440 tslib1.4移植

tslib版本:tslib-1.4交叉编译器版本: arm-linux-gcc 4.3.2操作系统平台:  Ubuntu 10.10开发板平台: Mini2440开始移植:1.交叉编译tslib
过程如下:解压;#./autogen.sh
#./configure --prefix=/home/duancp/mytslib/ --host=arm-linux(这句所选择安装目录,注意) ac_cv_func_malloc_0_nonnull=yes (可以先生成个shell文件)#make#make install-strip //生成瘦身应用程序和库 可能出现的错误及解答过程:出现错误0:possible undefined macro: AS_HELP_STRING 可能是因为系统自带的autoconf工具里面没有定义这个宏,查看一下autoconf的版本 #autoconf –V 是2.57版的, 2.64版下载在Linux公社的1号FTP服务器里,下载地址: FTP地址:ftp://www.linuxidc.com用户名:www.linuxidc.com密码:www.muu.cc在 2011年LinuxIDC.com4月Ubuntu 10.10下mini2440 tslib1.4移植下载方法见 http://www.linuxidc.net/thread-1187-1-1.html
又出现错误:no acceptable m4 could be found in $PATH 原因是安装autoconf工具,需要GNU的m4工具,但是系统里没有这个工具,所以还要从网上down 在http://ftp.gnu.org/gnu/m4/找到m4-1.14.13.tar.bz2 下载完后,进入m4-1.14.13目录,执行 新安装的autoconf工具就把/usr/bin下的可执行程序覆盖了,然后执行 #source /etc/profile 使环境变量生效,再查看 autoconf版本,确保是2.64版进入tslib目录,执行# ./autogen.sh#./configure --prefix=/home/duancp/mytslib/ --host=arm-linux(这句所选择安装目录,注意) ac_cv_func_malloc_0_nonnull=yes (可以先生成个shell文件)
#make#make install-strip //生成瘦身应用程序和库 错误1:
./autogen.sh错误提示:
root@www.linuxidc.com-desktop:/home/ppcst/software/tslib# ./autogen.sh
Can"t exec "aclocal": 没有该文件或目录 at /usr/bin/autoreconf2.50 line 182.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf2.50 line 182.
Can"t exec "automake": 没有该文件或目录 at /usr/bin/autoreconf2.50 line 183.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf2.50 line 183.
Can"t exec "aclocal": 没有该文件或目录 at /usr/share/autoconf/Autom4te/FileUtils.pm line 290.
autoreconf2.50: failed to run aclocal: 没有该文件或目录
解决方法:apt-get install automake
错误2:
Can"t exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 190.Use of uninitialized value $libtoolize in pattern match (m//) at /usr/bin/autoreconf line 190.configure.ac:25: error: possibly undefined macro: AC_DISABLE_STATICIf this token and others are legitimate, please use m4_pattern_allow.See the Autoconf documentation.configure.ac:26: error: possibly undefined macro: AC_ENABLE_SHAREDconfigure.ac:27: error: possibly undefined macro: AC_LIBTOOL_DLOPENconfigure.ac:28: error: possibly undefined macro: AC_PROG_LIBTOOLautoreconf: /usr/bin/autoconf failed with exit status: 1解决方法:在ubuntu下安装libtool.deb或者更新用命令:apt-get install libtool
  • 1
  • 2
  • 下一页
Ubuntu 10.10 下 QTE4.5 环境安装如何在Linux/Windows 下方便使用Weka小记相关资讯      Ubuntu 10.10 
  • Ubuntu 10.10下月起停止更新  (03/12/2012 15:39:45)
  • Ubuntu 10.10安装使用VNC  (10/29/2011 13:13:05)
  • 在Ubuntu 10.10上安装LAMP  (07/18/2011 09:19:11)
  • Ubuntu 10.10与Fedora 14下使用scp  (11/15/2011 16:03:56)
  • Ubuntu 10.10用LibreOffice替换  (08/10/2011 19:53:36)
  • Ubuntu 10.10同步CyanogenMod源码  (07/06/2011 17:59:10)
本文评论 查看全部评论 (0)
表情: 姓名: 字数