From: Joseph Kain <joseph@3d...> - 2000-08-30 17:37:37
> -----Original Message-----
> From: Adam K Kirchhoff [mailto:adamk@...]
> Sent: Wednesday, August 30, 2000 9:58 AM
> To: Alan Hourihane
> Cc: dri-devel
> Subject: Re: [Dri-devel] Building X with new V5 Glide...
> On Wed, 30 Aug 2000, Alan Hourihane wrote:
> > On Tue, Aug 29, 2000 at 08:30:17PM -0400, Adam K Kirchhoff wrote:
> > >
> > > I've built Glide from CVS and installed as instructed.
> Now, however, when
> > > I go to build the DRI, it fails to build tdfx_dri.so,
> unable to link with
> > > glide3. The Glide library is in place. As a work around
> I've installed
> > > the Glide_V3-DRI rpm, built that one piece of the dri,
> uninstalled the
> > > rpm, and then copied over the libglide from the Glide cvs
> build. Any idea
> > > what the problem is?
> > >
> > Yes.
> > In xc/lib/GL/mesa/src/drv/tdfx/Imakefile - you have to
> change the -lglide3
> > to -lglide3x if you are using a V5 board. Do a 'make
> Makefile;make depend' in
> > this directory once the change is done and it should link.
> > For people with a V3 you leave it alone.
> > Alan.
> Hmmm... Is that documented somewhere that I overlooked? It
> might not be
> a bad idea to add it to the DRI compilation guide...
Its probably something that should get fixed in the Glide
build. Both libraries should be named the same way. I
just checked the Glide makefiles and the shared library
names for Voodoo3 and Voodoo5 are both libglide3.so.3.10
but the static library names differ, for Voodoo3 it
libglide3.a but for Voodoo5 its libglide3x.a. I don't
know why the static library name is causing problems, but
I'm quite willing to change it. I would make both libraries
named libglide3.a, any objections? And I would update
the RPM packages on linux.3dfx.com.
Though I guess in the meantime it would be nice to have this
information in the DRI compilation guide.