compiling linuxwacom on 10.1.3 on XO-1

Chris Marshall jns-cmarshall at comcast.net
Tue Dec 21 16:16:21 EST 2010


Hi-

I've been trying to get Colors! and the Wacom
Bamboo tablet working for my 2 nieces for Christmas.

I've been trying to build the driversr from the
latest linuxwacom sources at:

   http://prdownloads.sourceforge.net/linuxwacom/linuxwacom-0.8.8-10.tar.bz2

Following the mini-HOWTO from

   http://linuxwacom.sourceforge.net/index.php/minihowto

I've been able to get /./configure --enable-wacom'
to complete.  However, when I 'make' the build fails
in the wacom kernel driver module section with errors
like this:

   make[2]: Leaving directory `/home/olpc/linuxwacom-0.8.8-10/src/xdrv'
   Making all in 2.6.30
   make[2]: Entering directory `/home/olpc/linuxwacom-0.8.8-10/src/2.6.30'
       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.31_xo1-20101119.1249.1.olpc.3781c4e5eac361a/build M=/home/olpc/linuxwacom-0.8.8-10/src/2.6.30
   make[3]: Entering directory `/usr/src/kernels/2.6.31_xo1-20101119.1249.1.olpc.3781c4e5eac361a-i586'
     LD      /home/olpc/linuxwacom-0.8.8-10/src/2.6.30/built-in.o
     CC [M]  /home/olpc/linuxwacom-0.8.8-10/src/2.6.30/wacom_wac.o
   In file included from /home/olpc/linuxwacom-0.8.8-10/src/2.6.30/wacom_wac.h:12,
                    from /home/olpc/linuxwacom-0.8.8-10/src/2.6.30/wacom_wac.c:15:
   include/linux/types.h:4:23: error: asm/types.h: No such file or directory
   In file included from include/linux/types.h:14,
                    from /home/olpc/linuxwacom-0.8.8-10/src/2.6.30/wacom_wac.h:12,
                    from /home/olpc/linuxwacom-0.8.8-10/src/2.6.30/wacom_wac.c:15:
   include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such file or directory
   In file included from /home/olpc/linuxwacom-0.8.8-10/src/2.6.30/wacom_wac.h:12,
                    from /home/olpc/linuxwacom-0.8.8-10/src/2.6.30/wacom_wac.c:15:
   include/linux/types.h:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__kernel_dev_t’
   include/linux/types.h:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dev_t’
   include/linux/types.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ino_t’
   include/linux/types.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mode_t’
   ....and many more lines of same...

Any help would be greatly appreciated as I was
hoping to give my nieces the 10.1.3 upgrade and
the working (again) wacom table for drawing (I
had it working with 802).

Thanks in advance,
Chris

P.S. The activity thread I started with is at
      http://lists.sugarlabs.org/archive/sugar-devel/2010-December/029215.html
      and forward...




More information about the Devel mailing list