Do xorg/xc CVS work for anyone?

2005-01-21 Thread Dieter Nützel
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 
-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.c: In function `_mesa_validate_pbo_access':
bufferobj.c:408: Warnung: passing arg 1 of `_mesa_image_address' makes integer 
from pointer without a cast
bufferobj.c:408: Warnung: passing arg 3 of `_mesa_image_address' makes pointer 
from integer without a cast
bufferobj.c:408: error: too few arguments to function `_mesa_image_address'
bufferobj.c:412: Warnung: passing arg 1 of `_mesa_image_address' makes integer 
from pointer without a cast
bufferobj.c:412: Warnung: passing arg 3 of `_mesa_image_address' makes pointer 
from integer without a cast
bufferobj.c:412: error: too few arguments to function `_mesa_image_address'
bufferobj.c: In function `_mesa_DeleteBuffersARB':
bufferobj.c:602: error: structure has no member named `DeletePending'
bufferobj.c:603: error: structure has no member named `DeletePending'
bufferobj.c: In function `_mesa_IsBufferARB':
bufferobj.c:693: error: structure has no member named `DeletePending'
make[6]: *** [bufferobj.o] Fehler 1

Thanks,
Dieter


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Do xorg/xc CVS work for anyone?

2005-01-21 Thread Adam Jackson
On Friday 21 January 2005 13:11, Dieter Ntzel 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


pgpLH8HRcE7qJ.pgp
Description: PGP signature


Re: Do xorg/xc CVS work for anyone?

2005-01-21 Thread Dieter Nützel
Am Freitag, 21. Januar 2005 19:43 schrieb Adam Jackson:
 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:

Compilation problems were due some old mixed Makefiles from Mesa CVS.

  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 set it in host.cf but commenting was better...;-)

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

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

See above.

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

pdx.freedesktop.org/cvs/xorg ? ;-)

But all radeon/r200 stuff is oudated.

No Hyper-Z, S3TC (force),...

Next step is Mesa CVS integration.

Thanks,
Dieter


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Do xorg/xc CVS work for anyone?

2005-01-21 Thread Adam Jackson
On Friday 21 January 2005 16:22, Dieter Ntzel wrote:
 Am Freitag, 21. Januar 2005 19:43 schrieb Adam Jackson:
  http://dri.freedesktop.org/wiki/Building

 pdx.freedesktop.org/cvs/xorg ? ;-)

 But all radeon/r200 stuff is oudated.

 No Hyper-Z, S3TC (force),...

 Next step is Mesa CVS integration.

Sorry, I'm coming from the other end of things.  I desperately want Mesa out 
of xc/extras, and the sooner the better.  You are not likely to change my 
mind on this subject. ;)

If you want the updated radeon stuff, check out Mesa in its own workspace and 
'make linux-dri-x86', and you get all the updated bits in Mesa/lib.  What 
you're seeing now is how hard it is to import Mesa into Xorg.

- ajax


pgpmqsWdkMd6v.pgp
Description: PGP signature