|
From: royer f. <ro...@ya...> - 2008-07-17 09:37:42
|
Hello,
I would like to use the wacom tablette with an OMAP3 board, like the beagleboard or the EVM.
this board is based on a ARM processor, and we have a cross-compiler and a linux kerenl running on it.
For the moment no X11 server is well running, but we have some SDL demo where we can use the mouse on a screen.
My problem is that I don't suceed to compile the sources properly, I just want the module wacom.ko to be created.
Here is my configuration :
royerfa@royerfa-laptop:~/linuxwacom-0.8.0-3$ ./configure --program-prefix=arm-none-linux-gnueabi- --enable-wacom --with-kernel=/home/royerfa/OMAP35x_SDK_9.8/2.6_kernel --host=arm-none-linux-gnueabi --without-x --without-xlib --without-x-src --disable-xsetwacom --without-tcl --without-tk --with-arch=arm --without-xorg-sdk --disable-wacomdrv --disable-quirk-tablet-rescale
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-none-linux-gnueabi-strip... arm-none-linux-gnueabi-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for arm-none-linux-gnueabi-gcc... arm-none-linux-gnueabi-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-none-linux-gnueabi-gcc accepts -g... yes
checking for arm-none-linux-gnueabi-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of arm-none-linux-gnueabi-gcc... gcc3
checking for gawk... (cached) gawk
checking build system type... i686-pc-linux-gnu
checking host system type... arm-none-linux-gnueabi
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by arm-none-linux-gnueabi-gcc... /home/royerfa/arm-2008q1/arm-none-linux-gnueabi/bin/ld
checking if the linker (/home/royerfa/arm-2008q1/arm-none-linux-gnueabi/bin/ld) is GNU ld... yes
checking for /home/royerfa/arm-2008q1/arm-none-linux-gnueabi/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /home/royerfa/arm-2008q1/bin/arm-none-linux-gnueabi-nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... arm-none-linux-gnueabi-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for arm-none-linux-gnueabi-g++... arm-none-linux-gnueabi-g++
checking whether we are using the GNU C++ compiler... yes
checking whether arm-none-linux-gnueabi-g++ accepts -g... yes
checking dependency style of arm-none-linux-gnueabi-g++... gcc3
checking how to run the C++ preprocessor... arm-none-linux-gnueabi-g++ -E
checking for arm-none-linux-gnueabi-g77... no
checking for arm-none-linux-gnueabi-f77... no
checking for arm-none-linux-gnueabi-xlf... no
checking for arm-none-linux-gnueabi-frt... no
checking for arm-none-linux-gnueabi-pgf77... no
checking for arm-none-linux-gnueabi-fort77... no
checking for arm-none-linux-gnueabi-fl32... no
checking for arm-none-linux-gnueabi-af77... no
checking for arm-none-linux-gnueabi-f90... no
checking for arm-none-linux-gnueabi-xlf90... no
checking for arm-none-linux-gnueabi-pgf90... no
checking for arm-none-linux-gnueabi-epcf90... no
checking for arm-none-linux-gnueabi-f95... no
checking for arm-none-linux-gnueabi-fort... no
checking for arm-none-linux-gnueabi-xlf95... no
checking for arm-none-linux-gnueabi-ifc... no
checking for arm-none-linux-gnueabi-efc... no
checking for arm-none-linux-gnueabi-pgf95... no
checking for arm-none-linux-gnueabi-lf95... no
checking for arm-none-linux-gnueabi-gfortran... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /home/royerfa/arm-2008q1/bin/arm-none-linux-gnueabi-nm -B output from arm-none-linux-gnueabi-gcc object... ok
checking for objdir... .libs
checking for arm-none-linux-gnueabi-ar... arm-none-linux-gnueabi-ar
checking for arm-none-linux-gnueabi-ranlib... arm-none-linux-gnueabi-ranlib
checking for arm-none-linux-gnueabi-strip... (cached) arm-none-linux-gnueabi-strip
checking if arm-none-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-none-linux-gnueabi-gcc option to produce PIC... -fPIC
checking if arm-none-linux-gnueabi-gcc PIC flag -fPIC works... yes
checking if arm-none-linux-gnueabi-gcc static flag -static works... yes
checking if arm-none-linux-gnueabi-gcc supports -c -o file.o... yes
checking whether the arm-none-linux-gnueabi-gcc linker (/home/royerfa/arm-2008q1/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by arm-none-linux-gnueabi-g++... /home/royerfa/arm-2008q1/arm-none-linux-gnueabi/bin/ld
checking if the linker (/home/royerfa/arm-2008q1/arm-none-linux-gnueabi/bin/ld) is GNU ld... yes
checking whether the arm-none-linux-gnueabi-g++ linker (/home/royerfa/arm-2008q1/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes
checking for arm-none-linux-gnueabi-g++ option to produce PIC... -fPIC
checking if arm-none-linux-gnueabi-g++ PIC flag -fPIC works... yes
checking if arm-none-linux-gnueabi-g++ static flag -static works... yes
checking if arm-none-linux-gnueabi-g++ supports -c -o file.o... yes
checking whether the arm-none-linux-gnueabi-g++ linker (/home/royerfa/arm-2008q1/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for arm-none-linux-gnueabi-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for arch type... arm
checking for kernel type... Linux
checking for linux-based kernel... yes
checking for kernel source/headers... yes, /home/royerfa/OMAP35x_SDK_9.8/2.6_kernel
checking kernel version... 2.6.22.18-omap3
checking for kernel module support... yes
checking for valid XFree86/X.org build environment... xf86Version.h missing
Tried /programs/Xserver/hw/xfree86 and /xc/programs/Xserver/hw/xfree86
checking for xserver libc-wrapper header-files... no
checking if Xorg SDK defines IsXExtensionPointer... no
checking if Xorg SDK defines dixScreenOrigins... no
checking XInput extension version... < 1.0
checking for X... disabled
checking for tclsh... /usr/bin/tclsh
checking for tcl version... 8.4
***
*** The tcl development environment can not be found.
*** The header file tcl.h does not appear at the normal
*** (or provided) include path. Some build features
*** will be unavailable.
***
***
*** The tk development environment can not be found.
*** The header file tk.h does not appear at the normal
*** (or provided) include path. Some build features
*** will be unavailable.
***
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
configure: WARNING: ncurses not available, ncurses UI disabled
checking if libwacomcfg should/can be built... configure: WARNING: XLib environment missing, libwacomcfg not built
checking if libwacomxi should/can be built... configure: WARNING: XLib environment missing, libwacomxi not built
checking if wacdump should/can be built... configure: WARNING: ncurses environment missing, wacdump not built
checking if xidump should/can be built... configure: WARNING: XLib environment missing, xidump not built
checking if xsetwacom should be built... checking for Wacom X driver module path...
checking for dynamic driver loading support... no
checking if wacom_drv.{o,so} should be compiled... no
checking if gcc accepts -fno-merge-constants... yes
checking if gcc accepts -fno-stack-protector... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mkxincludes
config.status: creating src/Makefile
config.status: creating src/util/Makefile
config.status: creating src/xdrv/Makefile
config.status: creating src/2.4/Makefile
config.status: creating src/2.4.22/Makefile
config.status: creating src/2.6.8/Makefile
config.status: creating src/2.6.9/Makefile
config.status: creating src/2.6.10/Makefile
config.status: creating src/2.6.11/Makefile
config.status: creating src/2.6.13/Makefile
config.status: creating src/2.6.14/Makefile
config.status: creating src/2.6.15/Makefile
config.status: creating src/2.6.16/Makefile
config.status: creating src/2.6.18/Makefile
config.status: creating src/2.6.19/Makefile
config.status: creating src/2.6.22/Makefile
config.status: creating src/2.6.24/Makefile
config.status: creating src/wacomxi/Makefile
config.status: creating src/wacomxi/wacomcpl
config.status: creating src/include/xdrv-config.h
config.status: src/include/xdrv-config.h is unchanged
config.status: creating src/include/kernel-config.h
config.status: src/include/kernel-config.h is unchanged
config.status: creating src/include/util-config.h
config.status: src/include/util-config.h is unchanged
config.status: executing depfiles commands
----------------------------------------
BUILD ENVIRONMENT:
architecture - arm
linux kernel - yes 2.6.22
module versioning - no
kernel source - yes /home/royerfa/OMAP35x_SDK_9.8/2.6_kernel
XFree86 source - no
Xorg SDK - no no
XSERVER64 - no
dlloader - no
XLib - no no
TCL - no no
TK - no no
ncurses - no
BUILD OPTIONS:
wacom.o - yes
wacdump - no
xidump - no
libwacomcfg - no
libwacomxi - no
xsetwacom - no
hid.o - no
usbmouse.o - no
evdev.o - no
mousedev.o - no
input.o - no
wacom_drv.so - no
wacom_drv.o - no
wacom*_drv quirks - key-events
----------------------------------------
Here my errors,
royerfa@royerfa-laptop:~/linuxwacom-0.8.0-3$ make
Making all in src
make[1]: Entering directory `/home/royerfa/linuxwacom-0.8.0-3/src'
Making all in .
make[2]: Entering directory `/home/royerfa/linuxwacom-0.8.0-3/src'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/royerfa/linuxwacom-0.8.0-3/src'
Making all in wacomxi
make[2]: Entering directory `/home/royerfa/linuxwacom-0.8.0-3/src/wacomxi'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/royerfa/linuxwacom-0.8.0-3/src/wacomxi'
Making all in util
make[2]: Entering directory `/home/royerfa/linuxwacom-0.8.0-3/src/util'
if /bin/sh ../../libtool --tag=CC --mode=compile arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include -Wall -pedantic -g -O2 -MT wacomcfg.lo -MD -MP -MF ".deps/wacomcfg.Tpo" -c -o wacomcfg.lo wacomcfg.c; \
then mv -f ".deps/wacomcfg.Tpo" ".deps/wacomcfg.Plo"; else rm -f ".deps/wacomcfg.Tpo"; exit 1; fi
mkdir .libs
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include -Wall -pedantic -g -O2 -MT wacomcfg.lo -MD -MP -MF .deps/wacomcfg.Tpo -c wacomcfg.c -fPIC -DPIC -o .libs/wacomcfg.o
In file included from wacomcfg.c:34:
wacomcfg.h:26:22: error: X11/Xlib.h: No such file or directory
wacomcfg.h:27:35: error: X11/extensions/XInput.h: No such file or directory
wacomcfg.h:28:36: error: X11/extensions/XIproto.h: No such file or directory
In file included from wacomcfg.c:34:
wacomcfg.h:58: error: expected specifier-qualifier-list before 'Display'
wacomcfg.h:62: warning: struct has no members
wacomcfg.h:67: error: expected specifier-qualifier-list before 'XDevice'
wacomcfg.h:75: error: expected ')' before '*' token
In file included from wacomcfg.c:37:
../include/Xwacom.h:23:24: error: X11/keysym.h: No such file or directory
wacomcfg.c: In function 'CfgError':
wacomcfg.c:59: error: 'WACOMCONFIG' has no member named 'pfnError'
wacomcfg.c:60: error: 'WACOMCONFIG' has no member named 'pfnError'
wacomcfg.c: In function 'CfgGetDevs':
wacomcfg.c:70: error: 'WACOMCONFIG' has no member named 'pDevs'
wacomcfg.c:70: warning: implicit declaration of function 'XListInputDevices'
wacomcfg.c:70: error: 'WACOMCONFIG' has no member named 'pDisp'
wacomcfg.c:71: error: 'WACOMCONFIG' has no member named 'nDevCnt'
wacomcfg.c:73: error: 'WACOMCONFIG' has no member named 'pDevs
....
As I said We don't have any Xserver running on the Board, so I would like to avoid the compiler to look into the X11 file.
Do you have any idea,
Thx
Royerfa
_____________________________________________________________________________
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr |