I've been trying to install a Trust 5300 tablet using this guide https://help.ubuntu.com/community/TabletSetupWizardpen; however, after the line
Code:
sudo ./configure --with-xorg-module-dir=/usr/lib/xorg/modules && make
&& make install
all I get is an error:
Code:
make[1]: Leaving directory `/home/eldon/wizardpen-0.6.0.2/wizardpen-0.6.0.2'
make[1]: Entering directory `/home/eldon/wizardpen-0.6.0.2/wizardpen-0.6.0.2'
Making all in src
make[2]: Entering directory `/home/eldon/wizardpen-0.6.0.2/wizardpen-0.6.0.2/src'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -MT wizardpen.lo -MD -MP -MF .deps/wizardpen.Tpo -c -o wizardpen.lo wizardpen.c
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -MT wizardpen.lo -MD -MP -MF .deps/wizardpen.Tpo -c wizardpen.c -fPIC -DPIC -o .libs/wizardpen.o
wizardpen.c:212: warning: initializer-string for array of chars is too long
wizardpen.c: In function 'DeviceInit':
wizardpen.c:648: warning: passing argument 3 of 'InitValuatorClassDeviceStruct' makes integer from pointer without a cast
/usr/include/xorg/input.h:281: note: expected 'int' but argument is of type 'int (*)(struct _DeviceIntRec *, struct xTimecoord *, long unsigned int, long unsigned int, struct _Screen *, BOOL)'
wizardpen.c:648: error: too many arguments to function 'InitValuatorClassDeviceStruct'
make[2]: *** [wizardpen.lo] Error 1
make[2]: Leaving directory `/home/eldon/wizardpen-0.6.0.2/wizardpen-0.6.0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/eldon/wizardpen-0.6.0.2/wizardpen-0.6.0.2'
make: *** [all] Error 2
Help much appreciated
Bookmarks