I've been trying to get my Wacom Graphire2 tablet working under the 2.6 kernel, but without much success. After downloading the new 0.6.0 driver, I noticed that there is now an ebuild available so decided to try it instead of compiling it by hand. To do so also meant installing XFree86 4.3.99 - twice. (After building it once because linuxwacom demanded it, it then told me I should have added the "sdk" USE flag before building XFree86. Grrr...) To cut a long story short, the build failed due to a "missing" keysym.h header. The file exists as /usr/X11R6/include/X11/keysym.h, so I assume it's an include path issue? Reproducible: Always Steps to Reproduce: 1. Unmask linuxwacom and xfree >= 4.3.99 from /usr/portage/profiles/package.mask 2. Add "sdk" to the USE flags in /etc/make.conf 3. emerge -u xfree 4. emerge linuxwacom Actual Results: Output from "emerge linuxwacom": [snip] source='xsetwacom.c' object='xsetwacom.o' libtool=no \ depfile='.deps/xsetwacom.Po' tmpdepfile='.deps/xsetwacom.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -pedantic -march=athlon-xp -O2 -pipe -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c `test -f 'xsetwacom.c' || echo './'`xsetwacom.c gcc -O2 -march=i386 -mcpu=i686 -pipe -ansi \ -pedantic -Wall -Wpointer-arith -fno-merge-constants \ -I. -I/usr/X11R6/lib/Server/programs/Xserver/hw/xfree86/common \ -I/usr/X11R6/lib/Server/programs/Xserver/hw/xfree86/loader \ -I/usr/X11R6/lib/Server/programs/Xserver/hw/xfree86/os-support \ -I/usr/X11R6/lib/Server/programs/Xserver/include \ -I/usr/X11R6/lib/Server/programs/Xserver/mi \ -I/usr/X11R6/lib/Server/exports/include/X11 \ -I/usr/X11R6/lib/Server/include \ -I/usr/X11R6/lib/Server \ -I/usr/X11R6/lib/Server/exports/include \ -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE \ -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE \ -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY \ -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPIXPRIV -DPANORAMIX \ -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV \ -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER \ -DXFree86Server -DXF86VIDMODE -DXvMCExtension \ -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension \ -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -DFUNCPROTO=15 \ -DNARROWPROTO -DIN_MODULE -DXFree86Module -DLINUX_INPUT -I/usr/src/linux/include \ -o xf86Wacom.o -c xf86Wacom.c In file included from xf86Wacom.c:94: xf86Wacom.h:93:20: keysym.h: No such file or directory xf86Wacom.c:127: error: `XK_F1' undeclared here (not in a function) xf86Wacom.c:127: error: initializer element is not constant xf86Wacom.c:127: error: (near initialization for `wacom_map[8]') xf86Wacom.c:128: error: `XK_F2' undeclared here (not in a function) xf86Wacom.c:128: error: initializer element is not constant xf86Wacom.c:128: error: (near initialization for `wacom_map[9]') xf86Wacom.c:129: error: `XK_F3' undeclared here (not in a function) xf86Wacom.c:129: error: initializer element is not constant xf86Wacom.c:129: error: (near initialization for `wacom_map[10]') xf86Wacom.c:130: error: `XK_F4' undeclared here (not in a function) xf86Wacom.c:130: error: initializer element is not constant xf86Wacom.c:130: error: (near initialization for `wacom_map[11]') xf86Wacom.c:131: error: `XK_F5' undeclared here (not in a function) xf86Wacom.c:131: error: initializer element is not constant xf86Wacom.c:131: error: (near initialization for `wacom_map[12]') xf86Wacom.c:132: error: `XK_F6' undeclared here (not in a function) xf86Wacom.c:132: error: initializer element is not constant xf86Wacom.c:132: error: (near initialization for `wacom_map[13]') xf86Wacom.c:133: error: `XK_F7' undeclared here (not in a function) xf86Wacom.c:133: error: initializer element is not constant xf86Wacom.c:133: error: (near initialization for `wacom_map[14]') xf86Wacom.c:134: error: `XK_F8' undeclared here (not in a function) xf86Wacom.c:134: error: initializer element is not constant xf86Wacom.c:134: error: (near initialization for `wacom_map[15]') xf86Wacom.c:135: error: `XK_F9' undeclared here (not in a function) xf86Wacom.c:135: error: initializer element is not constant xf86Wacom.c:135: error: (near initialization for `wacom_map[16]') xf86Wacom.c:136: error: `XK_F10' undeclared here (not in a function) xf86Wacom.c:136: error: initializer element is not constant xf86Wacom.c:136: error: (near initialization for `wacom_map[17]') xf86Wacom.c:137: error: `XK_F11' undeclared here (not in a function) xf86Wacom.c:137: error: initializer element is not constant xf86Wacom.c:137: error: (near initialization for `wacom_map[18]') xf86Wacom.c:138: error: `XK_F12' undeclared here (not in a function) xf86Wacom.c:138: error: initializer element is not constant xf86Wacom.c:138: error: (near initialization for `wacom_map[19]') xf86Wacom.c:139: error: `XK_F13' undeclared here (not in a function) xf86Wacom.c:139: error: initializer element is not constant xf86Wacom.c:139: error: (near initialization for `wacom_map[20]') xf86Wacom.c:140: error: `XK_F14' undeclared here (not in a function) xf86Wacom.c:140: error: initializer element is not constant xf86Wacom.c:140: error: (near initialization for `wacom_map[21]') xf86Wacom.c:141: error: `XK_F15' undeclared here (not in a function) xf86Wacom.c:141: error: initializer element is not constant xf86Wacom.c:141: error: (near initialization for `wacom_map[22]') xf86Wacom.c:142: error: `XK_F16' undeclared here (not in a function) xf86Wacom.c:142: error: initializer element is not constant xf86Wacom.c:142: error: (near initialization for `wacom_map[23]') xf86Wacom.c:143: error: `XK_F17' undeclared here (not in a function) xf86Wacom.c:143: error: initializer element is not constant xf86Wacom.c:143: error: (near initialization for `wacom_map[24]') xf86Wacom.c:144: error: `XK_F18' undeclared here (not in a function) xf86Wacom.c:144: error: initializer element is not constant xf86Wacom.c:144: error: (near initialization for `wacom_map[25]') xf86Wacom.c:145: error: `XK_F19' undeclared here (not in a function) xf86Wacom.c:145: error: initializer element is not constant xf86Wacom.c:145: error: (near initialization for `wacom_map[26]') xf86Wacom.c:146: error: `XK_F20' undeclared here (not in a function) xf86Wacom.c:146: error: initializer element is not constant xf86Wacom.c:146: error: (near initialization for `wacom_map[27]') xf86Wacom.c:147: error: `XK_F21' undeclared here (not in a function) xf86Wacom.c:147: error: initializer element is not constant xf86Wacom.c:147: error: (near initialization for `wacom_map[28]') xf86Wacom.c:148: error: `XK_F22' undeclared here (not in a function) xf86Wacom.c:148: error: initializer element is not constant xf86Wacom.c:148: error: (near initialization for `wacom_map[29]') xf86Wacom.c:149: error: `XK_F23' undeclared here (not in a function) xf86Wacom.c:149: error: initializer element is not constant xf86Wacom.c:149: error: (near initialization for `wacom_map[30]') xf86Wacom.c:150: error: `XK_F24' undeclared here (not in a function) xf86Wacom.c:150: error: initializer element is not constant xf86Wacom.c:150: error: (near initialization for `wacom_map[31]') xf86Wacom.c:151: error: `XK_F25' undeclared here (not in a function) xf86Wacom.c:151: error: initializer element is not constant xf86Wacom.c:151: error: (near initialization for `wacom_map[32]') xf86Wacom.c:152: error: `XK_F26' undeclared here (not in a function) xf86Wacom.c:152: error: initializer element is not constant xf86Wacom.c:152: error: (near initialization for `wacom_map[33]') xf86Wacom.c:153: error: `XK_F27' undeclared here (not in a function) xf86Wacom.c:153: error: initializer element is not constant xf86Wacom.c:153: error: (near initialization for `wacom_map[34]') xf86Wacom.c:154: error: `XK_F28' undeclared here (not in a function) xf86Wacom.c:154: error: initializer element is not constant xf86Wacom.c:154: error: (near initialization for `wacom_map[35]') xf86Wacom.c:155: error: `XK_F29' undeclared here (not in a function) xf86Wacom.c:155: error: initializer element is not constant xf86Wacom.c:155: error: (near initialization for `wacom_map[36]') xf86Wacom.c:156: error: `XK_F30' undeclared here (not in a function) xf86Wacom.c:156: error: initializer element is not constant xf86Wacom.c:156: error: (near initialization for `wacom_map[37]') xf86Wacom.c:157: error: `XK_F31' undeclared here (not in a function) xf86Wacom.c:157: error: initializer element is not constant xf86Wacom.c:157: error: (near initialization for `wacom_map[38]') xf86Wacom.c:159: error: `XK_F32' undeclared here (not in a function) xf86Wacom.c:159: error: initializer element is not constant xf86Wacom.c:159: error: (near initialization for `wacom_map[39]') xf86Wacom.c: In function `xf86WcmDevProc': xf86Wacom.c:543: warning: void format, _DeviceIntRec arg (arg 2) xf86Wacom.c:543: warning: void format, _WacomDeviceRec arg (arg 3) xf86Wacom.c:553: warning: void format, _DeviceIntRec arg (arg 2) xf86Wacom.c:629: warning: void format, _DeviceIntRec arg (arg 2) xf86Wacom.c:633: warning: void format, _DeviceIntRec arg (arg 2) xf86Wacom.c:642: warning: void format, _DeviceIntRec arg (arg 3) xf86Wacom.c:660: warning: void format, _DeviceIntRec arg (arg 2) xf86Wacom.c:680: warning: void format, _DeviceIntRec arg (arg 3) xf86Wacom.c:680: warning: void format, _WacomDeviceRec arg (arg 4) xf86Wacom.c: In function `xf86WcmDevSwitchMode': xf86Wacom.c:1056: warning: void format, _DeviceIntRec arg (arg 2) xf86Wacom.c:1064: warning: void format, _DeviceIntRec arg (arg 2) xf86Wacom.c: In function `xf86WcmDevChangeControl': xf86Wacom.c:1101: warning: format argument is not a pointer (arg 2) xf86Wacom.c:1101: warning: format argument is not a pointer (arg 3) make[3]: *** [xf86Wacom.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/linuxwacom-0.6.0/work/linuxwacom-0.6.0/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/linuxwacom-0.6.0/work/linuxwacom-0.6.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/linuxwacom-0.6.0/work/linuxwacom-0.6.0' make: *** [all] Error 2 !!! ERROR: x11-misc/linuxwacom-0.6.0 failed. !!! Function src_compile, Line 46, Exitcode 2 !!! build failed. Expected Results: Successful compilation. Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-gentoo-r1) ================================================================= System uname: 2.6.3-gentoo-r1 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="3dnow X acpi alsa apm arts avi berkdb cdr crypt cups dvd encode fbcon foomaticdb freetype gdbm gif gpm gps gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nptl oggvorbis opengl pam pdflib perl png ppds python quicktime readline sdk sdl slang spell sse ssl svga tcpd truetype usb x86 xml2 xv zlib"
It's intended for 4.3.0-r6, the fact that it works on 4.3.99 is an unfortunate problem with portage's inability to have dependencies on certain ranges. However it's probably a decent idea to add a 4.3.99 that can handle it, so I'll do so. A required patch isn't present in the current 4.3.99 stuff.
BTW: Unfortunately battousai's comment in package.mask explains none of this. Bryan maybe you want to make it more detailed? # <battousai@gentoo.org> (19 Feb 2004) # New driver, needs testing x11-misc/linuxwacom
New package.mask comments, now with flavor! Get 'em while they're hot.
Okay, thanks. After running another "emerge sync", the latests ebuilds are 4.3.0-r5 and 4.3.99.902-r2 respectively. Any ideas when the linuxwacom supported versions will be available?
When they're ready. That's all I can say in any meaningful way.
LOL! Sounds perfectly reasonable to me.
Fixed in 4.3.0-r6.