sudo ./configure --with-xorg-module-dir=/usr/lib/xorg/modules && make
&& make install
Kde som sa sekol.. configure prebehlo v poriadku, ale make konci hlaskou
make all-recursive
make[1]: Entering directory `/home/viktor/wizardpen-0.6.0.2'
Making all in src
make[2]: Entering directory `/home/viktor/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: In function 'DeviceInit':
wizardpen.c:648: warning: passing argument 3 of 'InitValuatorClassDeviceStruct' makes integer from pointer without a cast
wizardpen.c:648: error: too many arguments to function 'InitValuatorClassDeviceStruct'
make[2]: *** [wizardpen.lo] Error 1
make[2]: Leaving directory `/home/viktor/wizardpen-0.6.0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/viktor/wizardpen-0.6.0.2'
make: *** [all] Error 2
Co s tym moze byt? Dakujem
tvar funkcie sa menil
InitValuatorClassDeviceStruct
extern Bool InitValuatorClassDeviceStruct(
DeviceIntPtr /*device*/,
int /*numAxes*/,
- ValuatorMotionProcPtr /* motionProc */,
int /*numMotionEvents*/,
int /*mode*/);
http://cgit.freedesktop.org/xorg/xserver/diff/?id=0877de13ac6ddfb55108aa3456d47f970c6c442c
Mozno pomzoe nevsia, alebo starsia verzia ovladaca
treba vidiet ako vyzera riadok c. 648 v subore
/home/viktor/wizardpen-0.6.0.2/src/wizardpen.c