> I think this should be fixed in CVS, though I couldn't test due to libGL > issues. Could you test and see if it works now?
I just tried a build and got this error: [EMAIL PROTECTED] ~/source/Mesa $ make linux-dri-x86 (cd configs && rm -f current && ln -s linux-dri-x86 current) make default make[1]: Entering directory `/home/atg/source/Mesa' make[2]: Entering directory `/home/atg/source/Mesa/src' Making sources for linux-dri-x86 make[3]: Entering directory `/home/atg/source/Mesa/src/glx/x11' gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common `pkg-config --cflags libdrm` -I/usr/X11R6/include -Wall -O -g -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 -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -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 -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER indirect.c -o indirect.o Package libdrm was not found in the pkg-config search path. Perhaps you should add the directory containing `libdrm.pc' to the PKG_CONFIG_PATH environment variable No package 'libdrm' found In file included from ../../../include/GL/internal/dri_interface.h:42, from glxclient.h:82, from indirect.h:56, from indirect.c:30: /usr/local/include/xf86drm.h:39:17: drm.h: No such file or directory In file included from ../../../include/GL/internal/dri_interface.h:42, from glxclient.h:82, from indirect.h:56, from indirect.c:30: /usr/local/include/xf86drm.h:224: error: syntax error before "drm_context_t" /usr/local/include/xf86drm.h:234: error: syntax error before '}' token /usr/local/include/xf86drm.h:237: error: syntax error before "drm_handle_t" /usr/local/include/xf86drm.h:241: error: syntax error before '}' token /usr/local/include/xf86drm.h:494: error: syntax error before "drm_magic_t" /usr/local/include/xf86drm.h:498: error: syntax error before "drm_handle_t" /usr/local/include/xf86drm.h:518: error: syntax error before "drm_magic_t" /usr/local/include/xf86drm.h:520: error: syntax error before "drm_handle_t" /usr/local/include/xf86drm.h:525: error: syntax error before "drm_handle_t" /usr/local/include/xf86drm.h:526: error: syntax error before "drm_context_t" /usr/local/include/xf86drm.h:533: error: syntax error before "drm_context_t" /usr/local/include/xf86drm.h:534: error: syntax error before "drm_context_t" /usr/local/include/xf86drm.h:536: error: syntax error before "drm_context_t" /usr/local/include/xf86drm.h:538: error: syntax error before "drm_context_t" /usr/local/include/xf86drm.h:539: error: syntax error before "drm_context_t" /usr/local/include/xf86drm.h:540: error: syntax error before "drm_context_t" /usr/local/include/xf86drm.h:541: error: syntax error before '*' token /usr/local/include/xf86drm.h:542: error: syntax error before '*' token /usr/local/include/xf86drm.h:543: error: syntax error before "drm_context_t" /usr/local/include/xf86drm.h:544: error: syntax error before "drm_context_t" /usr/local/include/xf86drm.h:545: error: syntax error before "drm_drawable_t" /usr/local/include/xf86drm.h:546: error: syntax error before "drm_drawable_t" /usr/local/include/xf86drm.h:557: error: syntax error before "drm_handle_t" /usr/local/include/xf86drm.h:564: error: syntax error before "drmDMAReqPtr" /usr/local/include/xf86drm.h:567: error: syntax error before "drm_context_t" /usr/local/include/xf86drm.h:569: error: syntax error before "drm_context_t" /usr/local/include/xf86drm.h:571: error: syntax error before "drm_context_t" In file included from glxclient.h:82, from indirect.h:56, from indirect.c:30: ../../../include/GL/internal/dri_interface.h:43:17: drm.h: No such file or directory In file included from glxclient.h:82, from indirect.h:56, from indirect.c:30: ../../../include/GL/internal/dri_interface.h:189: error: syntax error before "drm_context_t" ../../../include/GL/internal/dri_interface.h:201: error: syntax error before "drm_drawable_t" ../../../include/GL/internal/dri_interface.h:216: error: syntax error before "drm_clip_rect_t" In file included from indirect.c:30: indirect.h:67: warning: `fastcall' attribute directive ignored indirect.h:70: warning: `fastcall' attribute directive ignored In file included from indirect.c:32: indirect_size.h:64: warning: `fastcall' attribute directive ignored indirect_size.h:65: warning: `fastcall' attribute directive ignored indirect_size.h:66: warning: `fastcall' attribute directive ignored indirect_size.h:67: warning: `fastcall' attribute directive ignored indirect_size.h:68: warning: `fastcall' attribute directive ignored indirect_size.h:69: warning: `fastcall' attribute directive ignored indirect_size.h:70: warning: `fastcall' attribute directive ignored indirect_size.h:71: warning: `fastcall' attribute directive ignored indirect_size.h:72: warning: `fastcall' attribute directive ignored indirect_size.h:73: warning: `fastcall' attribute directive ignored indirect_size.h:74: warning: `fastcall' attribute directive ignored indirect_size.h:75: warning: `fastcall' attribute directive ignored indirect_size.h:76: warning: `fastcall' attribute directive ignored indirect_size.h:77: warning: `fastcall' attribute directive ignored indirect_size.h:78: warning: `fastcall' attribute directive ignored indirect_size.h:79: warning: `fastcall' attribute directive ignored indirect_size.h:80: warning: `fastcall' attribute directive ignored indirect_size.h:81: warning: `fastcall' attribute directive ignored indirect_size.h:82: warning: `fastcall' attribute directive ignored indirect_size.h:83: warning: `fastcall' attribute directive ignored indirect_size.h:84: warning: `fastcall' attribute directive ignored indirect_size.h:85: warning: `fastcall' attribute directive ignored indirect_size.h:86: warning: `fastcall' attribute directive ignored indirect_size.h:87: warning: `fastcall' attribute directive ignored indirect_size.h:88: warning: `fastcall' attribute directive ignored indirect_size.h:89: warning: `fastcall' attribute directive ignored indirect.c:136: warning: `fastcall' attribute directive ignored indirect.c:151: warning: `fastcall' attribute directive ignored indirect.c:180: warning: `fastcall' attribute directive ignored indirect.c:192: warning: `fastcall' attribute directive ignored indirect.c:204: warning: `fastcall' attribute directive ignored indirect.c:216: warning: `fastcall' attribute directive ignored indirect.c:228: warning: `fastcall' attribute directive ignored indirect.c:240: warning: `fastcall' attribute directive ignored indirect.c:252: warning: `fastcall' attribute directive ignored indirect.c:264: warning: `fastcall' attribute directive ignored indirect.c: In function `__indirect_glGetPolygonStipple': indirect.c:3684: warning: unused variable `state' make[3]: *** [indirect.o] Error 1 make[3]: Leaving directory `/home/atg/source/Mesa/src/glx/x11' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/home/atg/source/Mesa/src' make[1]: *** [default] Error 1 make[1]: Leaving directory `/home/atg/source/Mesa' make: *** [linux-dri-x86] Error 2 [EMAIL PROTECTED] ~/source/Mesa $ #################################### [EMAIL PROTECTED] /usr/local/include/drm $ ls drm.h i915_drv.h mach64_drv.h mga_ucode.h radeon_drm.h savage_drv.h sis_ds.h via_drm.h via_mm.h drm_sarea.h imagine_drv.h mga_drm.h r128_drm.h radeon_drv.h sis_drm.h tdfx_drv.h via_drv.h via_verifier.h i915_drm.h mach64_drm.h mga_drv.h r128_drv.h savage_drm.h sis_drv.h via_3d_reg.h via_ds.h [EMAIL PROTECTED] /usr/local/include/drm $ #################################### Because I use Gentoo, I am extremely reluctant to touch /usr/* by any means except emerge, therefore I make install'd to /usr/include... Apparently there needs to be some detection to locate where libdrm is installed... (Unix sucks). -- Friends don't let friends use GCC 3.4.4 GCC 3.3.6 produces code that's twice as fast on x86! Non-sequiter item: Charleston, South Carolina ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel