Lionel Ulmer wrote:

> On Mon, Jul 17, 2000 at 03:42:39AM -0500, David Elliott wrote:
> > Received the following error messages:
> > gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -fPIC -D__WINE__
> > -D_REENTRANT -I/usr/X11R6/include -o d3ddevice/mesa.o d3ddevice/mesa.c
> > d3ddevice/mesa.c: In function `fill_device_capabilities':
> > d3ddevice/mesa.c:130: `PFNGLCOLORTABLEEXTPROC' undeclared (first use in this
> > function)
> > d3ddevice/mesa.c:130: (Each undeclared identifier is reported only once
> > d3ddevice/mesa.c:130: for each function it appears in.)
> > d3ddevice/mesa.c:130: parse error before `glXGetProcAddressARB'
> >
> > Fixed with attached patch (which is probably not correct, but will at least
> > make it compile).
>
> Hi,
>
> Could you tell me where you did get your 'glext.h' file ? The OpenGL
> ABI (now finalized, in its 1.0 version) says that the 'glext.h' file
> MUST provide, for each extension, the corresponding typedef (as
> PFNGLCOLORTABLEEXTPROC here). The one from XFree 4.x definitely does.
>
> I plan to add a new check in 'configure' for 1.0 compliant OpenGL
> implementations in the near future (as soon as the headers are
> upgraded in an official XFree 4.0 release) and to not support anything
> else.
>
> For once that a standard exist on Linux, it would be nice not to
> introduce new hacks to support non-standard old stuff :-)
>
> --
>                Lionel Ulmer   -   [EMAIL PROTECTED]
>     My Advogato Wine diary : http://www.advogato.org/person/bbrox/

Hey, I just saw patrick's fix, delete config.cache and rerun configure. I am
using XFree86 4.0 and I ripped that straight out of the GL/glext.h file. I think
Patrick's fix is more correct actually, probably a bunch of crap left over in my
config.cache from an earlier version of Mesa. I'll see if removing it works.

Later,
-Dave

Reply via email to