Difference between revisions of "Tslib"
From ArmadeusWiki
(→Compiling) |
(Add automake) |
||
Line 3: | Line 3: | ||
==Compiling== | ==Compiling== | ||
− | Be sure to have '''libtool''' package installed (tested with 1.5.22-4 version). Otherwise you will have following errors: | + | * Be sure to have '''libtool''' package installed (tested with 1.5.22-4 version). Otherwise you will have following errors: |
configure.ac:25: error: possibly undefined macro: AC_DISABLE_STATIC | configure.ac:25: error: possibly undefined macro: AC_DISABLE_STATIC | ||
If this token and others are legitimate, please use m4_pattern_allow. | If this token and others are legitimate, please use m4_pattern_allow. | ||
Line 11: | Line 11: | ||
configure.ac:28: error: possibly undefined macro: AC_PROG_LIBTOOL | configure.ac:28: error: possibly undefined macro: AC_PROG_LIBTOOL | ||
− | In | + | * Be sure to have '''automake-1.6 or higher''' package installed (tested with 1.7 version). After package installation dont forget to update your ''/etc/alternatives/automake'' and ''/etc/alternatives/aclocal'' symlinks (tested on Ubuntu). |
+ | lrwxrwxrwx 1 root root 20 2007-06-27 21:43 /etc/alternatives/aclocal -> /usr/bin/aclocal-1.7 | ||
+ | lrwxrwxrwx 1 root root 21 2007-06-27 21:39 /etc/alternatives/automake -> /usr/bin/automake-1.7 | ||
+ | |||
+ | * In Buildroot, if you don't have configured the C++ cross-compiler yet: | ||
$ make menuconfig | $ make menuconfig | ||
Toolchain Options ---> | Toolchain Options ---> |
Revision as of 21:02, 27 June 2007
Library to provide a common interface to touchscreen and allow touchscreen events filtering or calibrating...
Compiling
- Be sure to have libtool package installed (tested with 1.5.22-4 version). Otherwise you will have following errors:
configure.ac:25: error: possibly undefined macro: AC_DISABLE_STATIC If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:26: error: possibly undefined macro: AC_ENABLE_SHARED configure.ac:27: error: possibly undefined macro: AC_LIBTOOL_DLOPEN configure.ac:28: error: possibly undefined macro: AC_PROG_LIBTOOL
- Be sure to have automake-1.6 or higher package installed (tested with 1.7 version). After package installation dont forget to update your /etc/alternatives/automake and /etc/alternatives/aclocal symlinks (tested on Ubuntu).
lrwxrwxrwx 1 root root 20 2007-06-27 21:43 /etc/alternatives/aclocal -> /usr/bin/aclocal-1.7 lrwxrwxrwx 1 root root 21 2007-06-27 21:39 /etc/alternatives/automake -> /usr/bin/automake-1.7
- In Buildroot, if you don't have configured the C++ cross-compiler yet:
$ make menuconfig Toolchain Options ---> [*] Build/install c++ compiler and libstdc++? [*] Build/install a shared libgcc?