Compile error
Simon Čahuk
simon.cahuk at gmail.com
Sun Feb 19 15:41:06 PST 2006
On Monday 20 February 2006 00:02, Simon Čahuk wrote:
> On Sunday 19 February 2006 19:35, David Reveman wrote:
> > 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.
>
> I'm using glitz CVS, Mesa CVS and the xgl-0-0-1 branch.
Ok, xgl compiles fine now. I had several glitz libraries
(in /opt/lib, /usr/local/lib) and I think that was the problem.
Simon
>
> Simon
>
> > 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
> >
> > _______________________________________________
> > xorg mailing list
> > xorg at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/xorg
>
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
More information about the xorg
mailing list