Compiling against Mesa

Marcus Meissner
Fri, 27 Jul 2001 11:17:33 -0000

In article <3b616411.4100908312@news.dingoblue.net.au>,
Steve Vertigan <vertigan@bigfoot.com> wrote:
>I'm trying to compile wine but running into problems with mesa.  The
>situation is I have a software-only version of mesa that Mandrake spewed all
>over /usr when I installed it and a "good" version in
~/stuff/Mesa-3.4/ that
>I've compiled to use glide and my voodoo2.  So far I've only used
this
>version to compile libraries that I stick into game directories as it
>doesn't seem to have a "make install" method or any way of
installing itself
>to my system.
...
>gcc -c -I. -I. -I../../include -I../../include  -g -O2 -Wall
>-fno-strength-reduce -mpreferred-stack-boundary=2 -fPIC -D__WINE__
>-D_REENTRANT -I/usr/X11R6/include -o d3ddevice/mesa.o d3ddevice/mesa.c
>d3ddevice/mesa.c:36: redefinition of `PFNGLCOLORTABLEEXTPROC'
>/usr/X11R6/include/GL/glext.h:2131: `PFNGLCOLORTABLEEXTPROC' previously
>declared here


This just means you have some old config.cache stuff lying around.

Do:
    make distclean
    ./configure --enable-opengl
    make depend && make

Ciao, Marcus