Хотел прикрутить планшет.
Он даже в списке поддерживаемых есть...
Засел за faq.
http://help.ubuntu.ru/wiki/tabletsetup
Дошел до пункта с make.
Тут начинаются ворнинги и ерроры :/
wizardpen.h:111:42: error: expected ')
Погуглил, ничего толкового не нашел.
Только у маководов нашел такую-же ошибку.
Убунта 11.04
ps. под рутом тоже самое.
pss. make all тоже не работает.
server1@home-server:/tmp/wizardpen-0.7.0-alpha2$ make
make all-recursive
make[1]: Вход в каталог `/tmp/wizardpen-0.7.0-alpha2'
Making all in src
make[2]: Вход в каталог `/tmp/wizardpen-0.7.0-alpha2/src'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -fvisibility=hidden -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 -fvisibility=hidden -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
In file included from wizardpen.c:76:0:
wizardpen.h:110:1: warning: parameter names (without types) in function declaration
wizardpen.h:111:42: error: expected ')' before 'int'
wizardpen.h:112:49: error: expected ')' before 'int'
wizardpen.h:116:54: error: expected declaration specifiers or '...' before 'IDevPtr'
wizardpen.h:118:1: warning: parameter names (without types) in function declaration
wizardpen.h:119:1: warning: parameter names (without types) in function declaration
wizardpen.h:121:51: error: expected ')' before 'int'
wizardpen.c:104:2: warning: initialization from incompatible pointer type
wizardpen.c:223:38: error: expected ')' before 'local'
wizardpen.c:296:38: error: expected declaration specifiers or '...' before 'IDevPtr'
wizardpen.c: In function 'WizardPenPreInit':
wizardpen.c:298:5: error: 'LocalDevicePtr' undeclared (first use in this function)
wizardpen.c:298:5: note: each undeclared identifier is reported only once for each function it appears in
wizardpen.c:298:20: error: expected ';' before 'local'
wizardpen.c:299:5: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:226)
wizardpen.c:304:11: error: 'local' undeclared (first use in this function)
wizardpen.c:309:19: error: 'dev' undeclared (first use in this function)
wizardpen.c:311:20: error: 'XI86_POINTER_CAPABLE' undeclared (first use in this function)
wizardpen.c:311:43: error: 'XI86_SEND_DRAG_EVENTS' undeclared (first use in this function)
wizardpen.c:315:30: error: 'ConvertProc' undeclared (first use in this function)
wizardpen.c:316:38: error: 'ReverseConvertProc' undeclared (first use in this function)
wizardpen.c:323:5: error: too many arguments to function 'xf86CollectInputOptions'
/usr/include/xorg/xf86Xinput.h:185:23: note: declared here
wizardpen.c:479:21: error: 'XI86_CONFIGURED' undeclared (first use in this function)
wizardpen.c:504:9: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:235)
wizardpen.c: In function 'DeviceOn':
wizardpen.c:539:5: error: 'LocalDevicePtr' undeclared (first use in this function)
wizardpen.c:539:20: error: expected ';' before 'local'
wizardpen.c:540:55: error: 'local' undeclared (first use in this function)
wizardpen.c: In function 'DeviceOff':
wizardpen.c:582:5: error: 'LocalDevicePtr' undeclared (first use in this function)
wizardpen.c:582:20: error: expected ';' before 'local'
wizardpen.c:583:55: error: 'local' undeclared (first use in this function)
wizardpen.c: In function 'DeviceClose':
wizardpen.c:607:5: error: 'LocalDevicePtr' undeclared (first use in this function)
wizardpen.c:607:20: error: expected ';' before 'local'
wizardpen.c:609:49: error: 'local' undeclared (first use in this function)
wizardpen.c: In function 'ControlProc':
wizardpen.c:617:5: error: 'LocalDevicePtr' undeclared (first use in this function)
wizardpen.c:617:20: error: expected ';' before 'local'
wizardpen.c:619:49: error: 'local' undeclared (first use in this function)
wizardpen.c: In function 'DeviceInit':
wizardpen.c:626:5: error: 'LocalDevicePtr' undeclared (first use in this function)
wizardpen.c:626:20: error: expected ';' before 'local'
wizardpen.c:627:55: error: 'local' undeclared (first use in this function)
wizardpen.c:636:5: warning: passing argument 3 of 'InitButtonClassDeviceStruct' from incompatible pointer type
/usr/include/xorg/input.h:296:23: note: expected 'Atom *' but argument is of type 'unsigned char *'
wizardpen.c:636:5: error: too few arguments to function 'InitButtonClassDeviceStruct'
/usr/include/xorg/input.h:296:23: note: declared here
wizardpen.c:662:17: error: too few arguments to function 'InitValuatorClassDeviceStruct'
/usr/include/xorg/input.h:302:23: note: declared here
wizardpen.c:677:17: error: too few arguments to function 'InitValuatorAxisStruct'
/usr/include/xorg/exevents.h:43:23: note: declared here
wizardpen.c:685:17: error: too few arguments to function 'InitValuatorAxisStruct'
/usr/include/xorg/exevents.h:43:23: note: declared here
wizardpen.c:693:17: error: too few arguments to function 'InitValuatorAxisStruct'
/usr/include/xorg/exevents.h:43:23: note: declared here
wizardpen.c: At top level:
wizardpen.c:739:30: error: expected ')' before 'local'
wizardpen.c:1087:27: error: expected ')' before 'local'
wizardpen.c:1097:29: error: expected ')' before 'local'
wizardpen.c:1124:36: error: expected ')' before 'local'
wizardpen.c:1190:34: error: expected ')' before 'local'
wizardpen.h:110:13: warning: 'CloseProc' used but never defined
wizardpen.h:118:13: warning: 'USBReadInput' used but never defined
wizardpen.h:119:13: warning: 'USBQueryHardware' used but never defined
make[2]: *** [wizardpen.lo] Ошибка 1
make[2]: Выход из каталога `/tmp/wizardpen-0.7.0-alpha2/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Выход из каталога `/tmp/wizardpen-0.7.0-alpha2'
make: *** [all] Ошибка 2
server1@home-server:/tmp/wizardpen-0.7.0-alpha2$