Compile error

David Reveman davidr at novell.com
Sun Feb 19 10:35:26 PST 2006


you need glitz 0.5.3. the configure script should complain, I dont know
how you got it to build hw/xgl without glitz 0.5.3 installed. make sure
you're using xgl-0-0-1 branch.

On Sun, 2006-02-19 at 17:51 +0100, Simon Čahuk wrote:
> make[3]: Entering directory `/home/simon/src/modular/xserver/xorg/hw/xgl'
> if gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include 
> -I../../include -I../../include -I../../include -I../../include 
> -I../../include    -DXGLServer -DXFree86Server -DHAVE_XGL_CONFIG_H 
> -DHAVE_DIX_CONFIG_H -I../../GL/glx -I../../GL/include 
> -I/home/simon/src/modular/Mesa/include 
> -I/home/simon/src/modular/Mesa/src/mesa/glapi  -Wall -Wpointer-arith 
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
> -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN 
> -DHAS_STICKY_DIR_BIT   -I../../include -I../../include -I../../Xext 
> -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi 
> -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr 
> -I../../fb  -g -O2 -MT xglcmap.o -MD -MP -MF ".deps/xglcmap.Tpo" -c -o 
> xglcmap.o xglcmap.c; \
> then mv -f ".deps/xglcmap.Tpo" ".deps/xglcmap.Po"; else rm -f 
> ".deps/xglcmap.Tpo"; exit 1; fi
> xglcmap.c: In function `xglFindBestSurfaceFormat':
> xglcmap.c:196: error: structure has no member named `fourcc'
> xglcmap.c:196: error: `GLITZ_FOURCC_RGB' undeclared (first use in this 
> function)
> xglcmap.c:196: error: (Each undeclared identifier is reported only once
> xglcmap.c:196: error: for each function it appears in.)
> xglcmap.c:197: error: `GLITZ_FORMAT_FOURCC_MASK' undeclared (first use in this 
> function)
> xglcmap.c: In function `xglInitVisual':
> xglcmap.c:252: error: `GLITZ_FORMAT_FOURCC_MASK' undeclared (first use in this 
> function)
> xglcmap.c:269: warning: implicit declaration of function 
> `glitz_find_drawable_format'
> xglcmap.c:269: warning: nested extern declaration of 
> `glitz_find_drawable_format'
> xglcmap.c:270: warning: assignment makes pointer from integer without a cast
> xglcmap.c: In function `xglInitPbufferVisual':
> xglcmap.c:303: error: `GLITZ_FORMAT_FOURCC_MASK' undeclared (first use in this 
> function)
> xglcmap.c:316: warning: implicit declaration of function 
> `glitz_find_pbuffer_format'
> xglcmap.c:316: warning: nested extern declaration of 
> `glitz_find_pbuffer_format'
> xglcmap.c:317: warning: assignment makes pointer from integer without a cast
> make[3]: *** [xglcmap.o] Error 1
> make[3]: Leaving directory `/home/simon/src/modular/xserver/xorg/hw/xgl'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/simon/src/modular/xserver/xorg/hw/xgl'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/simon/src/modular/xserver/xorg/hw'
> make: *** [all-recursive] Error 1
> 
> Simon
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg

-David




More information about the xorg mailing list