Hi,
the new glxext.h declares GLX_OML_sync_control stuff only if the C standard is set to c99. Mesa's linux-dri-x86 target sets -std=c99. DRI CVS does not, so the build fails. Replacing -ansi with -std=c99 in host.def fixes it for me. I suspect X.Org is affected too.
I'm about to leave on vacation so I don't have time to look into this one. Ian, maybe?
The second problem is in the server-side GLX code. The definition of GL_FOG_COORD_SOURCE is missing in glxext.h which is needed in singlesize.c. I don't know if this should be fixed in glxext.h or in singlesize.c.
Not glxext.h, that's for sure.
I can't find any reference to GL_FOG_COORD_SOURCE in singlesize.c. But anyway, the correct name for the token is now GL_FOG_COORDINATE_SOURCE (see appendix H of the OpenGL 1.5 spec).
I'd put something like this in singlesize.c (or wherever it's needed):
#ifndef GL_FOG_COORD_SRC #define GL_FOG_COORD_SRC 0x8450 #endif
I know, DRI CVS is dead. But as long as not all drivers compile in X.Org and/or Mesa and as long as the snapshots are still produced with DRI CVS I'd like to keep it building.
Agreed.
-Brian
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id040&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
