You are not logged in.

#1 2012-03-04 11:25:04

BorsukZbigniew
Member
Registered: 2012-03-04
Posts: 1

Problems building xf86-input-wacom-git

Hi,
I have a tablet that's not supported by current kernel, and I can't get the AUR version of input-wacom to build. The tablet itself shows up in lsusb, and I was able to get it running on Ubuntu/Mint by replacing the wacom.ko kernel module.

configure: creating ./config.status
config.status: creating Makefile
config.status: creating conf/Makefile
config.status: creating doc/Makefile
config.status: creating doc/doxygen.conf
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating include/Makefile
config.status: creating tools/Makefile
config.status: creating test/Makefile
config.status: creating xorg-wacom.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make  all-recursive
make[1]: Wejście do katalogu `/tmp/yaourt-tmp-miuosz/aur-xf86-input-wacom-git/src/xf86-input-wacom-build'
Making all in conf
make[2]: Wejście do katalogu `/tmp/yaourt-tmp-miuosz/aur-xf86-input-wacom-git/src/xf86-input-wacom-build/conf'
make[2]: Nie ma nic do zrobienia w `all'.
make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-miuosz/aur-xf86-input-wacom-git/src/xf86-input-wacom-build/conf'
Making all in doc
make[2]: Wejście do katalogu `/tmp/yaourt-tmp-miuosz/aur-xf86-input-wacom-git/src/xf86-input-wacom-build/doc'
make[2]: Nie ma nic do zrobienia w `all'.
make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-miuosz/aur-xf86-input-wacom-git/src/xf86-input-wacom-build/doc'
Making all in src
make[2]: Wejście do katalogu `/tmp/yaourt-tmp-miuosz/aur-xf86-input-wacom-git/src/xf86-input-wacom-build/src'
  CC     xf86Wacom.lo
In file included from /usr/include/xorg/privates.h:145:0,
                 from /usr/include/xorg/cursor.h:54,
                 from /usr/include/xorg/scrnintstr.h:54,
                 from /usr/include/xorg/xf86str.h:39,
                 from /usr/include/xorg/xf86.h:44,
                 from ../src/xf86Wacom.h:33,
                 from ../src/xf86Wacom.c:46:
/usr/include/xorg/dix.h:532:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls]
../src/xf86Wacom.c: In function 'wcmInitAxes':
../src/xf86Wacom.c:152:2: warning: passing argument 1 of 'XIGetKnownProperty' discards 'const' qualifier from pointer target type [enabled by default]
/usr/include/xorg/exevents.h:105:23: note: expected 'char *' but argument is of type 'const char *'
../src/xf86Wacom.c:171:2: warning: passing argument 1 of 'XIGetKnownProperty' discards 'const' qualifier from pointer target type [enabled by default]
/usr/include/xorg/exevents.h:105:23: note: expected 'char *' but argument is of type 'const char *'
../src/xf86Wacom.c:198:3: warning: passing argument 1 of 'XIGetKnownProperty' discards 'const' qualifier from pointer target type [enabled by default]
/usr/include/xorg/exevents.h:105:23: note: expected 'char *' but argument is of type 'const char *'
../src/xf86Wacom.c:226:3: warning: passing argument 1 of 'XIGetKnownProperty' discards 'const' qualifier from pointer target type [enabled by default]
/usr/include/xorg/exevents.h:105:23: note: expected 'char *' but argument is of type 'const char *'
../src/xf86Wacom.c:242:4: warning: passing argument 1 of 'XIGetKnownProperty' discards 'const' qualifier from pointer target type [enabled by default]
/usr/include/xorg/exevents.h:105:23: note: expected 'char *' but argument is of type 'const char *'
../src/xf86Wacom.c:263:3: warning: passing argument 1 of 'XIGetKnownProperty' discards 'const' qualifier from pointer target type [enabled by default]
/usr/include/xorg/exevents.h:105:23: note: expected 'char *' but argument is of type 'const char *'
../src/xf86Wacom.c:279:3: warning: passing argument 1 of 'XIGetKnownProperty' discards 'const' qualifier from pointer target type [enabled by default]
/usr/include/xorg/exevents.h:105:23: note: expected 'char *' but argument is of type 'const char *'
../src/xf86Wacom.c:300:3: warning: passing argument 1 of 'XIGetKnownProperty' discards 'const' qualifier from pointer target type [enabled by default]
/usr/include/xorg/exevents.h:105:23: note: expected 'char *' but argument is of type 'const char *'
../src/xf86Wacom.c:308:3: warning: passing argument 1 of 'XIGetKnownProperty' discards 'const' qualifier from pointer target type [enabled by default]
/usr/include/xorg/exevents.h:105:23: note: expected 'char *' but argument is of type 'const char *'
  CC     wcmCommon.lo
In file included from /usr/include/xorg/privates.h:145:0,
                 from /usr/include/xorg/cursor.h:54,
                 from /usr/include/xorg/scrnintstr.h:54,
                 from /usr/include/xorg/xf86str.h:39,
                 from /usr/include/xorg/xf86.h:44,
                 from ../src/xf86Wacom.h:33,
                 from ../src/wcmCommon.c:24:
/usr/include/xorg/dix.h:532:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls]
../src/wcmCommon.c: In function 'getScrollDelta':
../src/wcmCommon.c:333:13: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast]
../src/wcmCommon.c:334:9: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast]
../src/wcmCommon.c:335:10: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast]
  CC     wcmConfig.lo
In file included from /usr/include/xorg/privates.h:145:0,
                 from /usr/include/xorg/cursor.h:54,
                 from /usr/include/xorg/scrnintstr.h:54,
                 from /usr/include/xorg/xf86str.h:39,
                 from /usr/include/xorg/xf86.h:44,
                 from ../src/xf86Wacom.h:33,
                 from ../src/wcmConfig.c:24:
/usr/include/xorg/dix.h:532:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls]
../src/wcmConfig.c: In function 'wcmSetType':
../src/wcmConfig.c:145:20: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmConfig.c:154:20: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmConfig.c:158:20: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmConfig.c:162:20: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmConfig.c:166:20: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmConfig.c: At top level:
../src/wcmConfig.c:212:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmConfig.c:212:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmConfig.c:213:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmConfig.c:213:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmConfig.c:214:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmConfig.c:214:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmConfig.c:215:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmConfig.c:215:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmConfig.c:216:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmConfig.c:216:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmConfig.c:217:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmConfig.c:217:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmConfig.c: In function 'wcmIsHotpluggedDevice':
../src/wcmConfig.c:440:2: warning: passing argument 3 of 'xf86CheckStrOption' discards 'const' qualifier from pointer target type [enabled by default]
/usr/include/xorg/xf86Opt.h:79:24: note: expected 'char *' but argument is of type 'const char *'
../src/wcmConfig.c: At top level:
../src/wcmConfig.c:599:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
  CC     wcmISDV4.lo
In file included from /usr/include/xorg/privates.h:145:0,
                 from /usr/include/xorg/cursor.h:54,
                 from /usr/include/xorg/scrnintstr.h:54,
                 from /usr/include/xorg/xf86str.h:39,
                 from /usr/include/xorg/xf86.h:44,
                 from ../src/xf86Wacom.h:33,
                 from ../src/wcmISDV4.c:24:
/usr/include/xorg/dix.h:532:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls]
../src/wcmISDV4.c: In function 'wcmSerialValidate':
../src/wcmISDV4.c:167:7: warning: declaration of 'n' shadows a previous local [-Wshadow]
../src/wcmISDV4.c:161:6: warning: shadowed declaration is here [-Wshadow]
../src/wcmISDV4.c: In function 'model_from_sysfs':
../src/wcmISDV4.c:980:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
../src/wcmISDV4.c: In function 'isdv4ProbeKeys':
../src/wcmISDV4.c:1021:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
  CC     wcmFilter.lo
In file included from /usr/include/xorg/privates.h:145:0,
                 from /usr/include/xorg/cursor.h:54,
                 from /usr/include/xorg/scrnintstr.h:54,
                 from /usr/include/xorg/xf86str.h:39,
                 from /usr/include/xorg/xf86.h:44,
                 from ../src/xf86Wacom.h:33,
                 from ../src/wcmFilter.c:25:
/usr/include/xorg/dix.h:532:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls]
../src/wcmFilter.c: In function 'wcmCheckPressureCurveValues':
../src/wcmFilter.c:44:45: warning: declaration of 'y0' shadows a global declaration [-Wshadow]
../src/wcmFilter.c:44:61: warning: declaration of 'y1' shadows a global declaration [-Wshadow]
../src/wcmFilter.c: In function 'wcmSetPressureCurve':
../src/wcmFilter.c:54:59: warning: declaration of 'y0' shadows a global declaration [-Wshadow]
../src/wcmFilter.c:55:14: warning: declaration of 'y1' shadows a global declaration [-Wshadow]
../src/wcmFilter.c: In function 'filterNearestPoint':
../src/wcmFilter.c:94:50: warning: declaration of 'y0' shadows a global declaration [-Wshadow]
../src/wcmFilter.c:94:72: warning: declaration of 'y1' shadows a global declaration [-Wshadow]
../src/wcmFilter.c: In function 'filterOnLine':
../src/wcmFilter.c:125:43: warning: declaration of 'y0' shadows a global declaration [-Wshadow]
../src/wcmFilter.c:125:65: warning: declaration of 'y1' shadows a global declaration [-Wshadow]
../src/wcmFilter.c: In function 'filterCurveToLine':
../src/wcmFilter.c:134:72: warning: declaration of 'y0' shadows a global declaration [-Wshadow]
../src/wcmFilter.c:135:21: warning: declaration of 'y1' shadows a global declaration [-Wshadow]
../src/wcmFilter.c: In function 'filterLine':
../src/wcmFilter.c:167:59: warning: declaration of 'y0' shadows a global declaration [-Wshadow]
../src/wcmFilter.c:167:75: warning: declaration of 'y1' shadows a global declaration [-Wshadow]
  CC     wcmUSB.lo
In file included from /usr/include/xorg/privates.h:145:0,
                 from /usr/include/xorg/cursor.h:54,
                 from /usr/include/xorg/scrnintstr.h:54,
                 from /usr/include/xorg/xf86str.h:39,
                 from /usr/include/xorg/xf86.h:44,
                 from ../src/xf86Wacom.h:33,
                 from ../src/wcmUSB.c:24:
/usr/include/xorg/dix.h:532:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls]
../src/wcmUSB.c: In function 'usbWcmGetRanges':
../src/wcmUSB.c:451:16: warning: declaration of 'abs' shadows a global declaration [-Wshadow]
../src/wcmUSB.c: In function 'usbInitToolType':
../src/wcmUSB.c:1368:30: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
../src/wcmUSB.c: In function 'usbGenericTouchscreenQuirks':
../src/wcmUSB.c:1629:21: warning: declaration of 'abs' shadows a global declaration [-Wshadow]
../src/wcmUSB.c: In function 'usbProbeKeys':
../src/wcmUSB.c:1660:16: warning: declaration of 'abs' shadows a global declaration [-Wshadow]
  CC     wcmXCommand.lo
In file included from /usr/include/xorg/privates.h:145:0,
                 from /usr/include/xorg/cursor.h:54,
                 from /usr/include/xorg/scrnintstr.h:54,
                 from /usr/include/xorg/xf86str.h:39,
                 from /usr/include/xorg/xf86.h:44,
                 from ../src/xf86Wacom.h:33,
                 from ../src/wcmXCommand.c:24:
/usr/include/xorg/dix.h:532:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls]
../src/wcmXCommand.c: In function 'InitWcmDeviceProperties':
../src/wcmXCommand.c:175:3: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *'
../src/wcmXCommand.c:179:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *'
../src/wcmXCommand.c:186:3: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *'
../src/wcmXCommand.c:194:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *'
../src/wcmXCommand.c:197:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *'
../src/wcmXCommand.c:201:3: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *'
../src/wcmXCommand.c:205:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *'
../src/wcmXCommand.c:209:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *'
../src/wcmXCommand.c:212:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *'
../src/wcmXCommand.c:216:3: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *'
../src/wcmXCommand.c:220:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *'
../src/wcmXCommand.c:225:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *'
../src/wcmXCommand.c:228:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *'
../src/wcmXCommand.c:234:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *'
../src/wcmXCommand.c:238:3: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *'
../src/wcmXCommand.c:244:3: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *'
../src/wcmXCommand.c:249:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *'
../src/wcmXCommand.c:254:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default]
../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *'
../src/wcmXCommand.c: In function 'wcmGetProperty':
../src/wcmXCommand.c:879:9: error: array subscript is above array bounds [-Werror=array-bounds]
cc1: some warnings being treated as errors

make[2]: *** [wcmXCommand.lo] Błąd 1
make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-miuosz/aur-xf86-input-wacom-git/src/xf86-input-wacom-build/src'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/tmp/yaourt-tmp-miuosz/aur-xf86-input-wacom-git/src/xf86-input-wacom-build'
make: *** [all] Błąd 2

This thread seems to be about a similar problem, could someone help me with finding a solution?

Offline

Board footer

Powered by FluxBB