Red Hat Bugzilla – Bug 114804
XFree86-SDK does not include the header files needed to build the XFree86 Synaptics driver
Last modified: 2007-11-30 17:10:35 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115
Description of problem:
I downloaded and built the XFree86 Synaptics Touchpad driver from
I noticed from my XFree86 logs that it was being built against Xfree86
4.2.0, which I thought was odd. Further digging revealed that the
driver included its own version of the XFree86 SDK headers files in
its build tree.
Apparently, this is because the default XFree86 4.3.0 does not include
all the XFree86 SDK header files needed to build the Synaptics driver.
Still further investigation revealed that the
XFree86-4.3.0-45.0.1.src.rpm contains a patch that is supposed to fix
However, the patch is not being applied. I assume that this is because
patch no longer works.
The patch no longer works because it tries to include a header file
that appears to no longer exist (exevent.h). However, the Synaptics
driver does not appear to need this file because the function
prototypes it uses from this header file are now found in a different
header file (xf86Xinput.h).
Once I fixed the vnc+synaptic patch in the XFree86 source RPM,
modified the RPM's spec file to apply the fixed vnc+synaptic patch
rather than the vnc patch and rebuilt the RPM, I was able to build the
Synaptics driver against the header files installed by the SDK RPM
(after some modifications to the driver's Makefile and synaptics.c files).
It would be nice if this could be the default for the XFree86 RPM.
In case it is of any help, I will attach a diff between the original
vnc+synaptic patch and the fixed vnc+synaptic patch.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 97425 [details]
vnc+synaptic patch fix
Is your working driver available for downloade somewhere? Thanks!
*** This bug has been marked as a duplicate of 99351 ***
I provided my synaptics driver modifications to the maintainer. With
these modifications, the driver will build against the system XFree86
headers if they are available. Otherwise, the driver will build
against its local copy. The driver available at
<http://w1.894.telia.com/~u89404340/touchpad/> now contains these
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.