|
From: tom <to...@go...> - 2010-07-21 11:24:21
|
Found the solution here: http://ubuntuforums.org/showpost.php?p=9436635&postcount=5 Solution is: sed -i 's/usb_buffer_alloc/usb_alloc_coherent/g' wacom_sys.c sed -i 's/usb_buffer_free/usb_free_coherent/g' wacom_sys.c Cheers, Tom On Mi, 2010-07-21 at 13:04 +0200, tom wrote: > Hi, > i tried to build linuxwacom-0.8.8-6 but that does not work. I use ubuntu > maverick. > > $ uname -a > Linux zitrone 2.6.35-9-generic #14-Ubuntu SMP Sun Jul 18 08:22:30 UTC > 2010 i686 GNU/Linux > > > > > $ tar xfj linuxwacom-0.8.8-6.tar.bz2 > tom@zitrone:~/devel$ cd linuxwacom-0.8.8-6/ > tom@zitrone:~/devel/linuxwacom-0.8.8-6$ ./configure --enable-wacom > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... > no > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for style of include used by make... GNU > checking dependency style of gcc... gcc3 > checking for gawk... (cached) gawk > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking for a sed that does not truncate output... /bin/sed > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for ld used by gcc... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for /usr/bin/ld option to reload object files... -r > checking for BSD-compatible nm... /usr/bin/nm -B > checking whether ln -s works... yes > checking how to recognize dependent libraries... pass_all > checking how to run the C preprocessor... 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 g++... g++ > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking dependency style of g++... gcc3 > checking how to run the C++ preprocessor... g++ -E > checking for g77... no > checking for xlf... no > checking for f77... no > checking for frt... no > checking for pgf77... no > checking for cf77... no > checking for fort77... no > checking for fl32... no > checking for af77... no > checking for xlf90... no > checking for f90... no > checking for pgf90... no > checking for pghpf... no > checking for epcf90... no > checking for gfortran... no > checking for g95... no > checking for xlf95... no > checking for f95... no > checking for fort... no > checking for ifort... no > checking for ifc... no > checking for efc... no > checking for pgf95... no > checking for lf95... no > checking for ftn... 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... 1572864 > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking for objdir... .libs > checking for ar... ar > checking for ranlib... ranlib > checking for strip... strip > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -fPIC > checking if gcc PIC flag -fPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking whether the gcc linker (/usr/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 g++... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking whether the g++ linker (/usr/bin/ld) supports shared > libraries... yes > checking for g++ option to produce PIC... -fPIC > checking if g++ PIC flag -fPIC works... yes > checking if g++ static flag -static works... yes > checking if g++ supports -c -o file.o... yes > checking whether the g++ linker (/usr/bin/ld) supports shared > libraries... yes > checking dynamic linker characteristics... GNU/Linux ld.so > (cached) (cached) checking how to hardcode library paths into > programs... immediate > appending configuration tag "F77" to libtool > checking for pkg-config... /usr/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for HAL... no > checking for arch type... i686-linux-gnu > checking for kernel type... Linux > checking for linux-based kernel... yes > checking for kernel > source/headers... /lib/modules/2.6.35-9-generic/build > checking kernel version... 2.6.35-9-generic > checking for kernel module support... yes > checking for Xlib... yes > checking for XSERVER... yes > checking for xserver libc-wrapper header-files... no > checking if scaling tablet to screen size is needed... no > checking if Xorg server is version 1.4 or later... yes > checking if Xorg is 7.3 or earlier... no > checking if Xorg server is version 1.5.2 or later... yes > checking if Xorg server is version 1.6 or later... yes > checking if Xorg server is version 1.7 or later... yes > checking if Xorg SDK defined IsXExtensionPointer... yes > checking if Xorg SDK defines dixScreenOrigins... yes > checking XInput extension version... >= 2.0 > checking for lib xf86config... checking for X... libraries , headers > checking for gethostbyname... yes > checking for connect... yes > checking for remove... yes > checking for shmat... yes > checking for IceConnectionNumber in -lICE... yes > checking for tclsh... /usr/bin/tclsh > checking for tcl version... 8.4 > checking for tcl header files... configure: WARNING: not found; > tried /usr/include, tcl, and tcl8.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. > *** > checking for tk header files... configure: WARNING: not found; > tried /tk.h and /usr/include/tk.h > *** > *** 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... yes > checking ncurses.h presence... yes > checking for ncurses.h... yes > checking if libwacomcfg should/can be built... yes > checking if libwacomxi should/can be built... configure: WARNING: tcl > environment missing, libwacomxi not built > checking if wacdump should/can be built... yes > checking if xidump should/can be built... yes > checking if xsetwacom should be built... yes > checking if wacomxrrd should be built... checking > X11/extensions/Xrandr.h usability... yes > checking X11/extensions/Xrandr.h presence... yes > checking for X11/extensions/Xrandr.h... yes > yes > checking for Wacom X driver module path... /usr/lib/xorg/modules/input > checking for dynamic driver loading support... yes > checking if wacom_drv.{o,so} should be compiled... yes > 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.6.16/Makefile > config.status: creating src/2.6.18/Makefile > config.status: creating src/2.6.24/Makefile > config.status: creating src/2.6.30/Makefile > config.status: creating src/wacomxi/Makefile > config.status: creating src/wacomxi/wacomcpl > config.status: creating src/include/xdrv-config.h > config.status: creating src/include/kernel-config.h > config.status: creating src/include/util-config.h > config.status: executing depfiles commands > > ---------------------------------------- > BUILD ENVIRONMENT: > architecture - i686-linux-gnu > linux kernel - yes 2.6.30 > module versioning - no > kernel source - yes /lib/modules/2.6.35-9-generic/build > XFree86 source - no > Xorg SDK - yes /usr/include/xorg > XSERVER64 - no > dlloader - yes > XLib - yes /usr/lib > xf86config - no > TCL - no > TK - no > ncurses - yes > > BUILD OPTIONS: > wacom.o - yes > wacdump - no > xidump - no > libwacomcfg - no > libwacomxi - no > xsetwacom - no > wacomxrrd - no > hid.o - no > wacom_drv.so - no /usr/lib/xorg/modules/input > wacom_drv.o - no > wacom*_drv quirks - IsXExtensionPointer key-events dixScreenOrigins > ---------------------------------------- > Building linuxwacom drivers for 2.6 kernel. > ***Note: Drivers not enabled as modules in your kernel config but > requested through configure are NOT built > make -C /lib/modules/2.6.35-9-generic/build > M=/home/tom/devel/linuxwacom-0.8.8-6/src/2.6.30 > make[1]: Entering directory `/usr/src/linux-headers-2.6.35-9-generic' > LD /home/tom/devel/linuxwacom-0.8.8-6/src/2.6.30/built-in.o > CC [M] /home/tom/devel/linuxwacom-0.8.8-6/src/2.6.30/wacom_wac.o > CC [M] /home/tom/devel/linuxwacom-0.8.8-6/src/2.6.30/wacom_sys.o > /home/tom/devel/linuxwacom-0.8.8-6/src/2.6.30/wacom_sys.c: In function > 'wacom_probe': > /home/tom/devel/linuxwacom-0.8.8-6/src/2.6.30/wacom_sys.c:490: error: > implicit declaration of function 'usb_buffer_alloc' > /home/tom/devel/linuxwacom-0.8.8-6/src/2.6.30/wacom_sys.c:491: warning: > assignment makes pointer from integer without a cast > /home/tom/devel/linuxwacom-0.8.8-6/src/2.6.30/wacom_sys.c:561: error: > implicit declaration of function 'usb_buffer_free' > make[2]: *** [/home/tom/devel/linuxwacom-0.8.8-6/src/2.6.30/wacom_sys.o] > Error 1 > make[1]: *** [_module_/home/tom/devel/linuxwacom-0.8.8-6/src/2.6.30] > Error 2 > make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-9-generic' > make: *** [all] Error 2 > > > Your wacom.ko is available under > /home/tom/devel/linuxwacom-0.8.8-6/src/2.6.30 > > > NOTE: this package only supports Xorg server older than 1.7. > You are running a newer version. > Please build the X driver from xf86-input-wacom. > > > > > Any ideas? > > Cheers, > > Tom > > > |