/usr/include/linux/Joystick.h -> :(
Hey people! Thats the second time I am having problems with this file...the first was when I tried to install wmWidgets from the source, I had to use: ./configure --disable-joystick. Now I am trying to install wine from the source, and I am having also problems with this file, but now ./configure --disable-joystick didn't work. Let's say I don't have the option to install wine.tgz from linuxpackages.net, because I am compiling from the source to try to solve another error. So, is there anything I can do, please? What kind of error is this?
make[2]: Entering directory `/mnt/hdb5/Bkp1/packages/Test/wine-0.9.17/dlls/dinput'
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o device.o device.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o dinput_main.o dinput_main.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o effect_linuxinput.o effect_linuxinput.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o joystick_linux.o joystick_linux.c
In file included from /usr/include/linux/joystick.h:33,
from joystick_linux.c:54:
/usr/include/linux/input.h:801: error: syntax error before "kernel_ulong_t"
/usr/include/linux/input.h:805: error: syntax error before "evbit"
/usr/include/linux/input.h:805: error: `BITS_PER_LONG' undeclared here (not in a function)
/usr/include/linux/input.h:806: error: syntax error before "keybit"
/usr/include/linux/input.h:807: error: syntax error before "relbit"
/usr/include/linux/input.h:808: error: syntax error before "absbit"
/usr/include/linux/input.h:809: error: syntax error before "mscbit"
/usr/include/linux/input.h:810: error: syntax error before "ledbit"
/usr/include/linux/input.h:811: error: syntax error before "sndbit"
/usr/include/linux/input.h:812: error: syntax error before "ffbit"
/usr/include/linux/input.h:813: error: syntax error before "swbit"
/usr/include/linux/input.h:815: error: syntax error before "driver_info"
/usr/include/linux/input.h:805: error: storage size of `evbit' isn't known
/usr/include/linux/input.h:806: error: storage size of `keybit' isn't known
/usr/include/linux/input.h:807: error: storage size of `relbit' isn't known
/usr/include/linux/input.h:808: error: storage size of `absbit' isn't known
/usr/include/linux/input.h:809: error: storage size of `mscbit' isn't known
/usr/include/linux/input.h:810: error: storage size of `ledbit' isn't known
/usr/include/linux/input.h:811: error: storage size of `sndbit' isn't known
/usr/include/linux/input.h:812: error: storage size of `ffbit' isn't known
/usr/include/linux/input.h:813: error: storage size of `swbit' isn't known
make[2]: *** [joystick_linux.o] Error 1
make[2]: Leaving directory `/mnt/hdb5/Bkp1/packages/Test/wine-0.9.17/dlls/dinput'
make[1]: *** [dinput] Error 2
make[1]: Leaving directory `/mnt/hdb5/Bkp1/packages/Test/wine-0.9.17/dlls'
make: *** [dlls] Error 2
bash-3.1#
|