LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-13-2006, 04:02 PM   #1
liquidrabbit
Member
 
Registered: Dec 2005
Location: New Jersey
Distribution: Slackware 10.2
Posts: 42

Rep: Reputation: 15
Compiling X11 6.9.0 Without Joystick


How can I do it? I neither want nor need joystick functions, and I get the following when compiling:
Code:
In file included from xf86Ur-98.c:12:
/usr/include/linux/joystick.h:131: error: syntax error before "__s64"
/usr/include/linux/joystick.h:135: error: syntax error before '}' token
 
Old 05-13-2006, 04:21 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
This is just a guess, but it's worth a try. Within the xc directory, run these commands
Code:
sed -i '/CONFIG_H/i #include <linux/types.h>' programs/Xserver/hw/xfree86/input/ur98/xf86Ur-98.c
 
  


Reply



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
X11 - GCC compiling options nawin_g Programming 2 04-23-2006 12:01 PM
Joystick Driver and API under kernel 2.6.12.3 using an USB joystick dispatcher Linux - Newbie 1 08-06-2005 09:43 AM
compiling MPlayer, can't detect X11 during configure. carboncopy Linux - Software 4 07-15-2005 07:56 AM
Compiling Joystick Driver barry2811 Linux - Software 3 06-04-2005 12:00 PM
Problems with X11 by compiling MPlayer 0.92 on Suse 8.0 Trancebone Linux - Software 1 11-02-2003 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:44 AM.

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