Martin Hovang wrote:
>
> Hi!
>
> I have a newly installed RH6.1 with the latest patches on the RH home
> page. I also have a K6-2 and a Voodoo 2 card and try to build Mesa
> 3.2CVS. I have installed Glide3X devel.
>
> Any help appreciated!
> Martin
>
> ...
> osmesa.c: In function `OSMesaCreateContext':
> osmesa.c:99: warning: `alphaBits' might be used uninitialized in this
> function
> ../../src/tritemp.h: In function `smooth_rgba_z_triangle':
> ../../src/tritemp.h:546: warning: `fxLeftEdge' might be used
> uninitialized in this function
> ../../src/tritemp.h:546: warning: `fxRightEdge' might be used
> uninitialized in this function
> ../../src/tritemp.h:546: warning: `fdxLeftEdge' might be used
> uninitialized in this function
> ../../src/tritemp.h:546: warning: `fdxRightEdge' might be used
> uninitialized in this function
> ../../src/tritemp.h:550: warning: `fError' might be used uninitialized
> in this function
> ../../src/tritemp.h:550: warning: `fdError' might be used uninitialized
> in this function
> ../../src/tritemp.h:553: warning: `iy' might be used uninitialized in
> this function
> ../../src/tritemp.h:559: warning: `zRow' might be used uninitialized in
> this function
> ../../src/tritemp.h:560: warning: `dZRowOuter' might be used
> uninitialized in this function
> ../../src/tritemp.h:561: warning: `fz' might be used uninitialized in
> this function
> ../../src/tritemp.h:561: warning: `fdzOuter' might be used uninitialized
> in this function
> ../../src/tritemp.h:564: warning: `fr' might be used uninitialized in
> this function
> ../../src/tritemp.h:564: warning: `fdrOuter' might be used uninitialized
> in this function
> ../../src/tritemp.h:565: warning: `fg' might be used uninitialized in
> this function
> ../../src/tritemp.h:565: warning: `fdgOuter' might be used uninitialized
> in this function
> ../../src/tritemp.h:566: warning: `fb' might be used uninitialized in
> this function
> ../../src/tritemp.h:566: warning: `fdbOuter' might be used uninitialized
> in this function
> ../../src/tritemp.h:574: warning: `fa' might be used uninitialized in
> this function
> ../../src/tritemp.h:574: warning: `fdaOuter' might be used uninitialized
> in this function
> ../../src/tritemp.h: In function `flat_rgba_z_triangle':
> ../../src/tritemp.h:546: warning: `fxLeftEdge' might be used
> uninitialized in this function
> ../../src/tritemp.h:546: warning: `fxRightEdge' might be used
> uninitialized in this function
> ../../src/tritemp.h:546: warning: `fdxLeftEdge' might be used
> uninitialized in this function
> ../../src/tritemp.h:546: warning: `fdxRightEdge' might be used
> uninitialized in this function
> ../../src/tritemp.h:550: warning: `fError' might be used uninitialized
> in this function
> ../../src/tritemp.h:550: warning: `fdError' might be used uninitialized
> in this function
> ../../src/tritemp.h:553: warning: `iy' might be used uninitialized in
> this function
> ../../src/tritemp.h:559: warning: `zRow' might be used uninitialized in
> this function
> ../../src/tritemp.h:560: warning: `dZRowOuter' might be used
> uninitialized in this function
> ../../src/tritemp.h:561: warning: `fz' might be used uninitialized in
> this function
> ../../src/tritemp.h:561: warning: `fdzOuter' might be used uninitialized
> in this function
> /bin/sh ../../libtool --mode=link gcc -g -O2 -Wall -fomit-frame-pointer
> -ffast-math -fexpensive-optimizations -malign
> -loops=2 -malign-jumps=2 -malign-functions=2 -o libMesaOS.la
> osmesa.lo
> mkdir .libs
> ar cru .libs/libMesaOS.al osmesa.lo
> ranlib .libs/libMesaOS.al
> creating libMesaOS.la
> (cd .libs && rm -f libMesaOS.la && ln -s ../libMesaOS.la libMesaOS.la)
> make[3]: Leaving directory `/home/mhg/storage/3d/Mesa/src/OSmesa'
> Making all in SVGA
> make[3]: Entering directory `/home/mhg/storage/3d/Mesa/src/SVGA'
> /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
> -I../../include -I../../src -g -O2 -Wall-fomit-frame-pointer
> -ffast-math -fexpensive-optimizations -malign-loops=2 -malign-jumps=2
> -malign-functions=2 -c svga
> mesa.c
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src -g -O2
> -Wall -fomit-frame-pointer -ffast-math -fexpens
> ive-optimizations -malign-loops=2 -malign-jumps=2 -malign-functions=2
> -Wp,-MD,.deps/svgamesa.pp -c -fPIC -DPIC svgame
> sa.c -o svgamesa.lo
> svgamesa.c: In function `svgamesa_update_state':
> svgamesa.c:374: structure has no member named `SetBuffer'
> svgamesa.c: In function `SVGAMesaCreateContext':
> svgamesa.c:456: too few arguments to function `gl_create_framebuffer'
> make[3]: *** [svgamesa.lo] Error 1
> make[3]: Leaving directory `/home/mhg/storage/3d/Mesa/src/SVGA'
> make[2]: *** [all-recursive] Error 1
It looks to me like you're actually using Mesa 3.3. The device driver
SetBuffer() function has been replaced by ReadBuffer and DrawBuffer
functions and gl_create_framebuffer() now has a few more parameters.
When you get the Mesa sources, you should do this to get 3.2:
cvs update -r mesa_3_2_dev
-Brian
_______________________________________________
Mesa-bug maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-bug
_______________________________________________
Mesa-dev maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev