Hi Kevin,

This is probably due to recent changes in Mesa, I did not have this error when compiling, but another popped up.

                       best

                         Vladimir Dergachev


On Wed, 29 Dec 2004, Kevin Hessels wrote:

Hi,
I ran into a bit of trouble compiling the r300 mesa driver.  I'm using the
latest r300_driver from cvs with mesa_6_2_branch, which I presume is the
latest release.  I'm compiling with gcc 3.4.0 and receive the following
message:

...
gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../drm/shared -I../../../../../../drm/linux
-I../../../../../include -I../../../../../include/GL/internal
-I../../../../../src/mesa -I../../../../../src/mesa/main
-I../../../../../src/mesa/glapi -I../../../../../src/mesa/math
-I../../../../../src/mesa/transform -I../../../../../src/mesa/shader
-I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup
-I../dri_client -I../dri_client/imports -DDRI_NEW_INTERFACE_ONLY -Wall -g -O
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -std=c99
-ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE
-D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -I/usr/X11R6/include
-I/usr/X11R6/include/X11/extensions -DCOMPILE_R300 -DGLX_DIRECT_RENDERING
radeon_lock.c -o radeon_lock.o
radeon_lock.c: In function `radeonUpdatePageFlipping':
radeon_lock.c:56: error: subscripted value is neither array nor pointer
...

It seems to be falling over on radeon->glCtx->Color._DrawDestMask[0].  On my
machine _DrawDestMask is a GLbitfield (unsigned int). I had to use the
following patches to get it to compile correctly.  Is this correct or is
there something wrong with my set up?
Thanks
Kevin




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to