# make Making all in include make[1]: Entering directory `/tmp/libX11-X11R7.1-1.0.1/include' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/tmp/libX11-X11R7.1-1.0.1/include' Making all in src make[1]: Entering directory `/tmp/libX11-X11R7.1-1.0.1/src' cd util; make make[2]: Entering directory `/tmp/libX11-X11R7.1-1.0.1/src/util' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/libX11-X11R7.1-1.0.1/src/util' make all-recursive make[2]: Entering directory `/tmp/libX11-X11R7.1-1.0.1/src' Making all in util make[3]: Entering directory `/tmp/libX11-X11R7.1-1.0.1/src/util' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/tmp/libX11-X11R7.1-1.0.1/src/util' Making all in xcms make[3]: Entering directory `/tmp/libX11-X11R7.1-1.0.1/src/xcms' if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../include/X11 -I../../include -I../../include/X11 -I../../include -I../../include/X11 -I../../src/xcms -I../../src/xkb -I../../src/xlibi18n -I../../src -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -DHASXDMAUTH -D_BSD_SOURCE -DMALLOC_0_RETURNS_NULL -s -O3 -march=i686 -MT AddDIC.lo -MD -MP -MF ".deps/AddDIC.Tpo" -c -o AddDIC.lo AddDIC.c; \ then mv -f ".deps/AddDIC.Tpo" ".deps/AddDIC.Plo"; else rm -f ".deps/AddDIC.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../include/X11 -I../../include -I../../include/X11 -I../../include -I../../include/X11 -I../../src/xcms -I../../src/xkb -I../../src/xlibi18n -I../../src -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -DHASXDMAUTH -D_BSD_SOURCE -DMALLOC_0_RETURNS_NULL -s -O3 -march=i686 -MT AddDIC.lo -MD -MP -MF .deps/AddDIC.Tpo -c AddDIC.c -fPIC -DPIC -o .libs/AddDIC.o In file included from ../../include/X11/Xlibint.h:43, from AddDIC.c:40: ../../include/X11/Xlib.h:3573: error: parse error before "_X_SENTINEL" ../../include/X11/Xlib.h:3573: warning: type defaults to `int' in declaration of `_X_SENTINEL' ../../include/X11/Xlib.h:3573: warning: function declaration isn't a prototype ../../include/X11/Xlib.h:3573: warning: data definition has no type or storage class ../../include/X11/Xlib.h:3578: error: parse error before "_X_SENTINEL" ../../include/X11/Xlib.h:3578: warning: type defaults to `int' in declaration of `_X_SENTINEL' ../../include/X11/Xlib.h:3578: warning: function declaration isn't a prototype ../../include/X11/Xlib.h:3578: warning: data definition has no type or storage class ../../include/X11/Xlib.h:3591: error: parse error before "_X_SENTINEL" ../../include/X11/Xlib.h:3591: warning: type defaults to `int' in declaration of `_X_SENTINEL' ../../include/X11/Xlib.h:3591: warning: function declaration isn't a prototype ../../include/X11/Xlib.h:3591: warning: data definition has no type or storage class ../../include/X11/Xlib.h:3604: error: parse error before "_X_SENTINEL" ../../include/X11/Xlib.h:3604: warning: type defaults to `int' in declaration of `_X_SENTINEL' ../../include/X11/Xlib.h:3604: warning: function declaration isn't a prototype ../../include/X11/Xlib.h:3604: warning: data definition has no type or storage class ../../include/X11/Xlib.h:3609: error: parse error before "_X_SENTINEL" ../../include/X11/Xlib.h:3609: warning: type defaults to `int' in declaration of `_X_SENTINEL' ../../include/X11/Xlib.h:3609: warning: function declaration isn't a prototype ../../include/X11/Xlib.h:3609: warning: data definition has no type or storage class ../../include/X11/Xlib.h:3841: error: parse error before "_X_SENTINEL" ../../include/X11/Xlib.h:3841: warning: type defaults to `int' in declaration of `_X_SENTINEL' ../../include/X11/Xlib.h:3841: warning: function declaration isn't a prototype ../../include/X11/Xlib.h:3841: warning: data definition has no type or storage class ../../include/X11/Xlib.h:3845: error: parse error before "_X_SENTINEL" ../../include/X11/Xlib.h:3845: warning: type defaults to `int' in declaration of `_X_SENTINEL' ../../include/X11/Xlib.h:3845: warning: function declaration isn't a prototype ../../include/X11/Xlib.h:3845: warning: data definition has no type or storage class ../../include/X11/Xlib.h:3857: error: parse error before "_X_SENTINEL" ../../include/X11/Xlib.h:3857: warning: type defaults to `int' in declaration of `_X_SENTINEL' ../../include/X11/Xlib.h:3857: warning: function declaration isn't a prototype ../../include/X11/Xlib.h:3857: warning: data definition has no type or storage class ../../include/X11/Xlib.h:3885: error: parse error before "_X_SENTINEL" ../../include/X11/Xlib.h:3885: warning: type defaults to `int' in declaration of `_X_SENTINEL' ../../include/X11/Xlib.h:3885: warning: function declaration isn't a prototype ../../include/X11/Xlib.h:3885: warning: data definition has no type or storage class ../../include/X11/Xlib.h:3889: error: parse error before "_X_SENTINEL" ../../include/X11/Xlib.h:3889: warning: type defaults to `int' in declaration of `_X_SENTINEL' ../../include/X11/Xlib.h:3889: warning: function declaration isn't a prototype ../../include/X11/Xlib.h:3889: warning: data definition has no type or storage class ../../include/X11/Xlib.h:3929: error: parse error before "_X_SENTINEL" ../../include/X11/Xlib.h:3929: warning: type defaults to `int' in declaration of `_X_SENTINEL' ../../include/X11/Xlib.h:3929: warning: function declaration isn't a prototype ../../include/X11/Xlib.h:3929: warning: data definition has no type or storage class make[3]: *** [AddDIC.lo] Error 1 make[3]: Leaving directory `/tmp/libX11-X11R7.1-1.0.1/src/xcms' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/libX11-X11R7.1-1.0.1/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/tmp/libX11-X11R7.1-1.0.1/src' make: *** [all-recursive] Error 1
Are you experiencing the same problem with the latest version of libX11 (i e 1.0.3)?
_X_SENTINEL is defined in the <X11/Xfuncproto.h> included in the proto/X11 package. Have you previously installed that modular package and are you building with it?
Where can the 1.0.3 version be found ?
Alan: are you talking about the xproto-X11R7 package ?
Yes - the xproto tarball is generated from the source CVS at proto/X11 - I forgot the tarball was differently named since I'm used to working directly with the source repositories.
(In reply to comment #3) > Where can the 1.0.3 version be found ? > http://lists.freedesktop.org/archives/xorg-announce/2006-June/000107.html
I didn't have installed the xproto-X11R7.1 package before. If it's needed, maybe a check for it could be added to the configure script ?
After installing the xproto-X11R7.1 package, I don't have this error anymore. It compiles successfully.
Closing.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.