On 7/8/06, Frédéric L. W. Meunier <[EMAIL PROTECTED]> wrote:
> I was able to compile r300 from Mesa 6.5 but CVS after that and
> until now returns:
>
> gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver 
> -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../../../../../src/egl/main -I../../../../../src/egl/drivers/dri 
> `pkg-config --cflags libdrm`  -Wall -Wmissing-prototypes -std=c99 -ffast-math 
> -march=athlon-xp -mfpmath=sse -ansi -pipe -fomit-frame-pointer  -m32 
> -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE 
> -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER 
> -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DUSE_X86_ASM -DUSE_MMX_ASM 
> -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DCOMPILE_R300 -DGLX_DIRECT_RENDERING 
> -DR200_MERGED=0 -DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R300 radeon_screen.c -o 
> radeon_screen.o
> In file included from radeon_screen.c:57:
> r300_context.h:59: error: syntax error before '/' token
> r300_context.h:59: error: syntax error at '#' token
> In file included from radeon_screen.c:57:
> r300_context.h:607: error: syntax error before '/' token
> r300_context.h:607: error: syntax error at '#' token
> r300_context.h:609: error: syntax error at '#' token
> r300_context.h:611: error: syntax error at '#' token
> r300_context.h:633: error: syntax error before '}' token
> r300_context.h:862: warning: "struct r300_vertex_program" declared inside 
> parameter list
> r300_context.h:862: warning: its scope is only this definition or 
> declaration, which is probably not what you want
> r300_context.h:864: warning: "struct r300_vertex_program" declared inside 
> parameter list
> make[6]: *** [radeon_screen.o] Error 1
>
> What's causing that ? Some incompatibility with GCC 3.4.6 or
> CVS has been really broken since then ?
>
> -

Strange, i compile it quite often :) and didn't get that. Could you try
to upgrade your libdrm with the one in cvs (DRM cvs).

best,
Jerome Glisse

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to