compile problem synaptics driver against 6.8.99.15
Christoph Brill
egore at gmx.de
Sat Jul 23 07:26:37 PDT 2005
I guess they could. I played with to provided Makefile to do that, but
it didn't work that well. "Biggest" problem is, that you need the X.org
SDK to build it.
Sadly the license of synaptics is incompatible with X.org's and the
original author(s) are unreachable to ask them for a license
change :( So it will never get merged into X.org ...
Am Samstag, den 23.07.2005, 15:15 +0200 schrieb wuno at lsvw.de:
> >
> >Try this patch. The synaptics driver comes with deprecated headers.
> >
> >
> >--- orig-synaptics-0.14.2/Xincludes/usr/X11R6/include/X11/Xfuncproto.h
> >2005-03-29 00:29:50.000000000 +0800
> >+++ synaptics-0.14.2/Xincludes/usr/X11R6/include/X11/Xfuncproto.h
> > 2005-03-29 00:29:50.000000000 +0800
> >@@ -69,4 +69,12 @@
> > #endif
> > #endif /* _XFUNCPROTOBEGIN */
> >
> >+#if defined(__GNUC__) && (__GNUC__ >= 4)
> >+# define _X_SENTINEL(x) __attribute__ ((__sentinel__(x)))
> >+# define _X_ATTRIBUTE_PRINTF(x,y)
> >__attribute__((__format__(__printf__,x,y)))
> >+#else
> >+# define _X_SENTINEL(x)
> >+# define _X_ATTRIBUTE_PRINTF(x,y)
> >+#endif /* GNUC >= 4 */
> >+
> > #endif /* _XFUNCPROTO_H_ */
> >
>
> worked fine, many thanks
> Couldnt synaptics use the Xorg-headers?
>
More information about the xorg
mailing list