[gobolinux-users] Compile Synaptics fails

Isaac Dupree isaacdupree at charter.net
Mon Dec 24 06:03:20 NZDT 2007


]Compile Synaptics
...
Compile: Compiling Synaptics version 0.14.6, revision r2.
...
gcc -c -O2 -pedantic -Wall -Wpointer-arith -fno-merge-constants -fPIC 
-I. -I/usr/include/X11 -I/usr/include/X11/extensions -I/usr/include/xorg 
-Dlinux -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE 
-D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB 
-DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP   -DDPMSExtension  -DPIXPRIV 
-DPANORAMIX  -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV 
-DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server 
-DXF86VIDMODE  -DSMART_SCHEDULE -DBUILDDEBUG 
-DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -D__i386__ -DFUNCPROTO=15 
-DNARROWPROTO -DIN_MODULE -DXFree86Module -DVERSION="\"0.14.6\"" 
-DVERSION_ID="(0*10000+14*100+6)"  synaptics.c
In file included from /usr/include/xorg/misc.h:111,
                  from synaptics.c:64:
/usr/include/xorg/os.h:502:19: warning: anonymous variadic macros were 
introduced in C99
In file included from /usr/include/xorg/regionstr.h:53,
                  from /usr/include/xorg/region.h:51,
                  from /usr/include/xorg/window.h:52,
                  from /usr/include/xorg/input.h:55,
                  from /usr/include/xorg/xf86str.h:38,
                  from /usr/include/xorg/xf86.h:45,
                  from synaptics.c:65:
/usr/include/xorg/miscstruct.h:54:20: error: pixman.h: No such file or 
directory
...

It turns out that pixman.h is only in directory pixman-1/ ... provided 
by recipe Pixman which is currently part of meta Xorg (I have Xorg 
7.3-r7 installed).  (Cairo >= 1.5 (development version) depends on 
Pixman but only optionally on Xorg, so I think Pixman should sometime be 
factored out as a dependency rather than a part of Xorg.)  Anyway, here, 
somehow the include isn't working properly, even though it's from an 
xorg header and Xorg compiled properly!  Any idea what's wrong?

Isaac


More information about the gobolinux-users mailing list