Re: [Xpert]HEAD compile failure - programs/x11perf/do_traps.c
On Fri, 3 Jan 2003, Daniel Stone wrote: > do_traps.c from HEAD fails, ostensibly because XTrapezoid is undefined: > gcc -g -O2 -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes > -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls > -Wnested-externs -Wundef -I/usr/include -I/usr/include/freetype2 ^^^ These are causing your build to pick up stale headers. > -I../.. -I../../exports/include -Dlinux -D__i386__ > -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE > -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO-DMITSHM > -DXFT -DXRENDER-c -o do_traps.o do_traps.c > do_traps.c:113: parse error before `*' > do_traps.c:113: warning: type defaults to `int' in declaration of `traps' > do_traps.c:113: ANSI C forbids data definition with no type or storage class > do_traps.c: In function `InitFixedTrapezoids': > do_traps.c:125: `XTrapezoid' undeclared (first use in this function) > do_traps.c:125: (Each undeclared identifier is reported only once > do_traps.c:125: for each function it appears in.) > do_traps.c:125: `curTrap' undeclared (first use in this function) > do_traps.c:125: warning: statement with no effect > do_traps.c:126: parse error before `color' > do_traps.c:132: parse error before `)' > do_traps.c:158: `color' undeclared (first use in this function) > do_traps.c:186: warning: implicit declaration of function `XDoubleToFixed' > do_traps.c:185: warning: value computed is not used > do_traps.c: In function `DoFixedTrapezoids': > do_traps.c:222: `XTrapezoid' undeclared (first use in this function) > do_traps.c:222: `curTrap' undeclared (first use in this function) > do_traps.c:222: warning: statement with no effect > do_traps.c:223: parse error before `white' > do_traps.c:225: `white' undeclared (first use in this function) > do_traps.c:225: warning: implicit declaration of function `XftDrawSrcPicture' > do_traps.c:226: `black' undeclared (first use in this function) > do_traps.c:227: `dst' undeclared (first use in this function) > do_traps.c:227: warning: implicit declaration of function `XftDrawPicture' > do_traps.c:229: `src' undeclared (first use in this function) > do_traps.c:232: warning: implicit declaration of function >`XRenderCompositeTrapezoids' > make[5]: *** [do_traps.o] Error 1 > -- > This is with an untouched do_traps.c, and x11perf in general. The lines > above it include , which is where XTrapezoid > is defined ... any ideas? Marc. +--+---+ | Marc Aurele La France | work: 1-780-492-9310 | | Computing and Network Services | fax:1-780-492-1729 | | 352 General Services Building | email: [EMAIL PROTECTED] | | University of Alberta +---+ | Edmonton, Alberta | | | T6G 2H1 | Standard disclaimers apply| | CANADA | | +--+---+ XFree86 Core Team member. ATI driver and X server internals. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert] Re: [Xpert]HEAD compile failure - programs/x11perf/do_traps.c
On Fri, Jan 03, 2003 at 06:37:27AM -0700, Marc Aurele La France scrawled: > On Fri, 3 Jan 2003, Daniel Stone wrote: > > do_traps.c from HEAD fails, ostensibly because XTrapezoid is undefined: > > > gcc -g -O2 -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes > > -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls > > -Wnested-externs -Wundef -I/usr/include -I/usr/include/freetype2 > ^^^ > > These are causing your build to pick up stale headers. We #define HasFreetype YES, because we have a pretty recent Freetype. What version is required? Is 2.1.2 sufficient, or 2.1.3, or is CVS needed? :) d ("we" == Debian). -- Daniel Stone <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Developer - http://kopete.kde.org, http://www.kde.org msg11914/pgp0.pgp Description: PGP signature
[Xpert] Re: [Xpert]HEAD compile failure - programs/x11perf/do_traps.c
On Fri, Jan 03, 2003 at 06:37:27AM -0700, Marc Aurele La France scrawled: > On Fri, 3 Jan 2003, Daniel Stone wrote: > > > do_traps.c from HEAD fails, ostensibly because XTrapezoid is undefined: > > > gcc -g -O2 -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes > > -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls > > -Wnested-externs -Wundef -I/usr/include -I/usr/include/freetype2 > ^^^ > > These are causing your build to pick up stale headers. I have Freetype 2.1.3 installed from the Debian packages; as an addendum, it worked fine with a snapshot from 28th Nov 2002, but fails with 3-1-2003. -- Daniel Stone <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Developer - http://kopete.kde.org, http://www.kde.org msg11918/pgp0.pgp Description: PGP signature
Re: [Xpert] Re: [Xpert]HEAD compile failure - programs/x11perf/do_traps.c
On Sat, 4 Jan 2003, Daniel Stone wrote: > > > do_traps.c from HEAD fails, ostensibly because XTrapezoid is undefined: > > > gcc -g -O2 -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes > > > -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls > > > -Wnested-externs -Wundef -I/usr/include -I/usr/include/freetype2 > > These are causing your build to pick up stale headers. > I have Freetype 2.1.3 installed from the Debian packages; as an > addendum, it worked fine with a snapshot from 28th Nov 2002, but fails > with 3-1-2003. A previous installation of Freetype is not the issue here. A previous installation of Xrender headers is. Marc. +--+---+ | Marc Aurele La France | work: 1-780-492-9310 | | Computing and Network Services | fax:1-780-492-1729 | | 352 General Services Building | email: [EMAIL PROTECTED] | | University of Alberta +---+ | Edmonton, Alberta | | | T6G 2H1 | Standard disclaimers apply| | CANADA | | +--+---+ XFree86 Core Team member. ATI driver and X server internals. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert