On Mon, Apr 03, 2006 at 02:16:22AM +1000, Drew Parsons wrote:
> On Sun, 2006-04-02 at 13:30 +0200, Kurt Roeckx wrote:
> > 
> > Your package is failing to build with the following error:
> > gcc -c -O2 -fno-strength-reduce  -ansi -pedantic -Wall -Wpointer-arith 
> > -Wstrict-prototypes                       -Wmissing-prototypes 
> > -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef    
> > -I../.. -I../../exports/include   -Dlinux -D__amd64__ 
> > -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE 
> > -D_SVID_SOURCE                             -D_GNU_SOURCE -DFUNCPROTO=15 
> > -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    
> > -DMALLOC_0_RETURNS_NULL     -fPIC XpAttr.c
> > In file included from ../../exports/include/X11/extensions/Printstr.h:66,
> >                  from XpAttr.c:41:
> > /usr/include/X11/Xlib.h:3578: error: syntax error before '_X_SENTINEL'
> 
> It's never been a problem before (I last compiled yesterday, albeit from
> upstream CVS). Note the error comes from /usr/include/X11/Xlib.h
> (package libx11-dev), not from Xprint.
> 
> What version of libx11-dev do you have?  Which version gcc?  Which
> system (processor architecture)?

For a full buildd log see:
http://buildd.debian.org/fetch.php?&pkg=xprint&ver=1%3A0.1.0.alpha1-13&arch=amd64&stamp=1143594439&file=log&as=raw

I can also reproduce this in a current sid chroot on i386.

Note that _X_SENTINEL is defined in <X11/Xfuncproto.h>, and that
Xlib.h does include that, the problem however seems to be that
it's using ../../exports/include/X11/Xfuncproto.h, which doesn't
have that.


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to