Bug 7548 - Problem compiling libX11 1.0.1
Summary: Problem compiling libX11 1.0.1
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.1 (2006.05)
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-16 16:51 UTC by Pierre
Modified: 2006-08-04 02:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Pierre 2006-07-16 16:51:40 UTC
# 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
Comment 1 Erik Andren 2006-07-16 22:48:55 UTC
Are you experiencing the same problem with the latest version of libX11 (i e 1.0.3)?
Comment 2 Alan Coopersmith 2006-07-17 06:54:30 UTC
_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?
Comment 3 Pierre 2006-07-29 11:19:41 UTC
Where can the 1.0.3 version be found ?
Comment 4 Pierre 2006-07-29 11:23:12 UTC
Alan: are you talking about the xproto-X11R7 package ?
Comment 5 Alan Coopersmith 2006-07-30 18:34:03 UTC
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.
Comment 6 Erik Andren 2006-08-01 10:58:45 UTC
(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
Comment 7 Pierre 2006-08-03 13:14:09 UTC
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 ?
Comment 8 Pierre 2006-08-03 23:08:10 UTC
After installing the xproto-X11R7.1 package, I don't have this error anymore.
It compiles successfully.
Comment 9 Erik Andren 2006-08-04 02:10:01 UTC
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.