On Friday 21 January 2005 13:11, Dieter NÃtzel wrote:
> With Mesa CVS (6.3) or without (6.2.1 under xorg/xc/extras/Mesa/)
> it didn't compile.
>
> Mesa CVS hangs in "shader" (but I'm working on this; I used Mesa CVS all
> day long before) and pdx.freedesktop.org/cvs/xorg stops in bufferobj.c:
>
> extras/Mesa/src/mesa -I../../../../lib/GL/dri
> -I/tmp/INSTALL/SOURCE/dri-trunk/xorg/xc/extras/Mesa/include
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This looks extremely suspicious.  Imake paths are normally relative to the 
project root.

> -I../../../../lib/GL/include  -I../../../.. -I../../../../exports/include
> -I/usr/X11R6/include  -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L
> -D_POSIX_SOURCE -D_XOPEN_SOURCE
>                                 -D_BSD_SOURCE -D_SVID_SOURCE
>          -D_GNU_SOURCE                            -DFUNCPROTO=15
> -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API   
> -DMALLOC_0_RETURNS_NULL -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING
> -DGLX_USE_DLOPEN -DGLX_USE_MESA bufferobj.c
> bufferobj.c:397: error: conflicting types for `_mesa_validate_pbo_access'
> bufferobj.h:84: error: previous declaration of `_mesa_validate_pbo_access'

bufferobj.h does not declare this function on this line in Xorg CVS, but it 
does in Mesa CVS:

http://freedesktop.org/cgi-bin/viewcvs.cgi/xorg/xc/extras/Mesa/src/mesa/main/bufferobj.h?annotate=1.1.1.1
http://freedesktop.org/cgi-bin/viewcvs.cgi/mesa/Mesa/src/mesa/main/bufferobj.h?annotate=1.11

So, I don't know what you're doing, but it's wrong.

http://dri.freedesktop.org/wiki/Building

- ajax

Attachment: pgpLH8HRcE7qJ.pgp
Description: PGP signature

Reply via email to