LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-16-2006, 05:38 PM   #1
stevesk
Member
 
Registered: Dec 2004
Distribution: Slackware-current
Posts: 207

Rep: Reputation: 30
/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#
 
Old 07-16-2006, 05:53 PM   #2
stevesk
Member
 
Registered: Dec 2004
Distribution: Slackware-current
Posts: 207

Original Poster
Rep: Reputation: 30
On configure:

checking linux/hdreg.h presence... yes
checking for linux/hdreg.h... yes
checking linux/input.h usability... no
checking linux/input.h presence... yes
configure: WARNING: linux/input.h: present but cannot be compiled
configure: WARNING: linux/input.h: check for missing prerequisite headers?
configure: WARNING: linux/input.h: see the Autoconf documentation
configure: WARNING: linux/input.h: section "Present But Cannot Be Compiled"
configure: WARNING: linux/input.h: proceeding with the preprocessor's result
configure: WARNING: linux/input.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to wine-devel@winehq.org ##
configure: WARNING: ## ------------------------------------ ##
checking for linux/input.h... yes
checking linux/ioctl.h usability... yes
checking linux/ioctl.h presence... yes
checking for linux/ioctl.h... yes
checking linux/joystick.h usability... no
checking linux/joystick.h presence... yes
configure: WARNING: linux/joystick.h: present but cannot be compiled
configure: WARNING: linux/joystick.h: check for missing prerequisite headers?
configure: WARNING: linux/joystick.h: see the Autoconf documentation
configure: WARNING: linux/joystick.h: section "Present But Cannot Be Compiled"
configure: WARNING: linux/joystick.h: proceeding with the preprocessor's result
configure: WARNING: linux/joystick.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to wine-devel@winehq.org ##
configure: WARNING: ## ------------------------------------ ##
checking for linux/joystick.h... yes
checking linux/major.h usability... yes
checking linux/major.h presence... yes
checking for linux/major.h... yes
 
Old 07-16-2006, 07:04 PM   #3
stevesk
Member
 
Registered: Dec 2004
Distribution: Slackware-current
Posts: 207

Original Poster
Rep: Reputation: 30
Ok I replaced the headers and seems to be working now...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VMware and /usr/src/linux/include neraka Linux - Newbie 6 03-21-2009 10:01 PM
problem in /usr/include/linux/timer.h santhosh.linux Linux - Software 0 12-01-2005 11:49 PM
/usr/include/linux revsteban Debian 1 02-22-2005 11:41 PM
/usr/include/linux contains? alaios Linux - General 4 11-11-2004 11:34 PM
/usr/include/linux/version.h #error ? jeppe Linux - Newbie 6 09-01-2003 02:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration