compile problem synaptics driver against 6.8.99.15

wuno at lsvw.de wuno at lsvw.de
Sat Jul 23 01:55:40 PDT 2005


>
>Hi,
>having a problem to compile the new synaptics driver (0.14.3) on gentoo.
>(same happens when recompiling the currently installed 0.14.2)
>Xorg-x11-6.8.99.15 snapshot
>Here's the error code:
>ld -r  synaptics.o ps2comm.o eventcomm.o psmcomm.o alpscomm.o -o 
>synaptics_drv.o
>i686-pc-linux-gnu-gcc -o synclient synclient.o -lm
>In file included from syndaemon.c:21:
>/usr/include/X11/Xlib.h:3575: error: syntax error before ‘_X_SENTINEL’
>/usr/include/X11/Xlib.h:3580: error: syntax error before ‘_X_SENTINEL’
>/usr/include/X11/Xlib.h:3593: error: syntax error before ‘_X_SENTINEL’
>/usr/include/X11/Xlib.h:3606: error: syntax error before ‘_X_SENTINEL’
>/usr/include/X11/Xlib.h:3611: error: syntax error before ‘_X_SENTINEL’
>/usr/include/X11/Xlib.h:3843: error: syntax error before ‘_X_SENTINEL’
>/usr/include/X11/Xlib.h:3847: error: syntax error before ‘_X_SENTINEL’
>/usr/include/X11/Xlib.h:3859: error: syntax error before ‘_X_SENTINEL’
>/usr/include/X11/Xlib.h:3887: error: syntax error before ‘_X_SENTINEL’
>/usr/include/X11/Xlib.h:3891: error: syntax error before ‘_X_SENTINEL’
>/usr/include/X11/Xlib.h:3931: error: syntax error before ‘_X_SENTINEL’
>make: *** [syndaemon.o] Error 1
>make: *** Waiting for unfinished jobs....
>
>removing all _X_SENTINEL calls from Xlib.h let the driver compile
>
>gcc-4.0.1 (CFLAGS="-march=athlon-xp -m3dnow -O2 -pipe -fomit-frame-pointer", 
>LDFLAGS='-Wl,-O1 -Wl,--sort-common -s') binutils-2.16.1, glibc-2.3.5.20050421
>
>Any ideas?



More information about the xorg mailing list