Originally Posted by
Kiwinote
No, after running ./configure --prefix=/usr --enable-wacom, when I run make I get the following output. The cp command is run by the make process:
Code:
**username**@**hostname**:~/Desktop/linuxwacom-0.8.4-2$ make
Making all in src
make[1]: Entering directory `/home/**username**/Desktop/linuxwacom-0.8.4-2/src'
Making all in .
make[2]: Entering directory `/home/**username**/Desktop/linuxwacom-0.8.4-2/src'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/**username**/Desktop/linuxwacom-0.8.4-2/src'
Making all in wacomxi
make[2]: Entering directory `/home/**username**/Desktop/linuxwacom-0.8.4-2/src/wacomxi'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/**username**/Desktop/linuxwacom-0.8.4-2/src/wacomxi'
Making all in util
make[2]: Entering directory `/home/**username**/Desktop/linuxwacom-0.8.4-2/src/util'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/**username**/Desktop/linuxwacom-0.8.4-2/src/util'
Making all in xdrv
make[2]: Entering directory `/home/**username**/Desktop/linuxwacom-0.8.4-2/src/xdrv'
gcc -MM -g -O2 -D__amd64__ -I/usr/include/tcl -I../include -I/usr/include/xorg -I/usr/include/xorg -I/usr/include/pixman-1 ./xf86Wacom.c ./wcmSerial.c ./wcmUSB.c ./wcmISDV4.c ./wcmXCommand.c ./wcmCommon.c ./wcmCompat.c ./wcmConfig.c ./wcmFilter.c ./wcmTilt2Rotation.c > .depend
make[2]: Leaving directory `/home/**username**/Desktop/linuxwacom-0.8.4-2/src/xdrv'
make[2]: Entering directory `/home/**username**/Desktop/linuxwacom-0.8.4-2/src/xdrv'
gcc -shared -nostdlib -o wacom_drv.so xf86Wacom.o wcmSerial.o wcmUSB.o wcmISDV4.o wcmXCommand.o wcmCommon.o wcmCompat.o wcmConfig.o wcmFilter.o wcmTilt2Rotation.o -Bstatic -lgcc
make[2]: Leaving directory `/home/**username**/Desktop/linuxwacom-0.8.4-2/src/xdrv'
Making all in 2.6.31
make[2]: Entering directory `/home/**username**/Desktop/linuxwacom-0.8.4-2/src/2.6.31'
cp -f ../2.6.27/wacom.h .
cp -f ../2.6.28/wacom_wac.h .
cp -f ../2.6.28/wacom_sys.c .
cp -f ../2.6.28/wacom_wac.c .
cp /lib/modules/2.6.31-10-generic/build/drivers/hid/hid-ids.h .
cp: cannot stat `/lib/modules/2.6.31-10-generic/build/drivers/hid/hid-ids.h': No such file or directory
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/**username**/Desktop/linuxwacom-0.8.4-2/src/2.6.31'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/**username**/Desktop/linuxwacom-0.8.4-2/src'
make: *** [all-recursive] Error 1
What I ended up doing was download the linux-image-`uname -r` source:
Code:
sudo apt-get build-dep linux-image-`uname -r`
sudo apt-get source linux-image-`uname -r`
Once it was downloaded, I when into the directory and copied the missing file over:
Code:
cd linux-2.6.31
sudo cp drivers/hid/hid-ids.h /lib/modules/`uname -r`/build/drivers/hid/
Bookmarks