LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   evdev driver compilation problem for X11R6.8.1 (https://www.linuxquestions.org/questions/linux-software-2/evdev-driver-compilation-problem-for-x11r6-8-1-a-626571/)

simopal6 03-08-2008 04:31 AM

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!

bathory 03-08-2008 09:06 AM

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

simopal6 03-09-2008 03:30 AM

I also have the kernel headers and sources. Are they the "headers" you meant?

bathory 03-09-2008 12:18 PM

No, you need the X headers (the x-server header files).


All times are GMT -5. The time now is 09:08 PM.