LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-08-2008, 04:31 AM   #1
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Rep: Reputation: 30
evdev driver compilation problem for X11R6.8.1


Hello,
I can't compile the X evdev driver; after running "configure", make immediately fails:
Code:
In file included from evdev.c:36:
../config.h:4:25: xorg-server.h: No such file or directory
In file included from evdev.c:43:
evdev.h:52:24: xf86Xinput.h: No such file or directory
In file included from evdev.h:74,
                 from evdev.c:43:
and many other lines.

The xorg-server.h and xf86Xinput.h files do not exist, but I've always successfully compiled applications for X, so I don't think that I'm missing some headers or libraries.

Can anybody help me?
Thanks!
 
Old 03-08-2008, 09:06 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,843

Rep: Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868
Quote:
The xorg-server.h and xf86Xinput.h files do not exist, but I've always successfully compiled applications for X, so I don't think that I'm missing some headers or libraries.
Since you're compiling a kernel driver you'll need the header files. The X apps usually need only x libraries to link against, so they can be compiled without the headers.

Regards
 
Old 03-09-2008, 03:30 AM   #3
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Original Poster
Rep: Reputation: 30
I also have the kernel headers and sources. Are they the "headers" you meant?
 
Old 03-09-2008, 12:18 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,843

Rep: Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868
No, you need the X headers (the x-server header files).
 
  


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
How to provide keymaps for Xnest using evdev driver? archangel77 Linux - Software 0 12-17-2006 07:54 AM
alsa-driver compilation problem Fisknils Linux - Software 10 06-12-2006 07:19 AM
Compilation Problem - ASUS LAN Driver ShayA Fedora 3 03-03-2006 02:18 AM
SigmaTel USB-IRDA STIR4210 driver compilation problem on 2.6 qwix Linux - Hardware 0 03-15-2005 01:58 PM
Driver compilation problem - Connexant PCI ADSL modem, Debian Fireice Linux - Hardware 0 04-06-2004 12:17 PM

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

All times are GMT -5. The time now is 07:14 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