Subject: Re: building DRI drivers using libglcore/libglx from the Xorg server?
To: Jared D. McNeill <jmcneill@invisible.ca>
From: Dieter Baron <dillo@danbala.tuwien.ac.at>
List: tech-x11
Date: 03/27/2007 13:24:19
In article <Pine.NEB.4.63.0703270718250.5107@discovery.invisible.ca> Jared wrote:
: On Tue, 27 Mar 2007, Blair Sadewitz wrote:
: > I've been trying to libtoolize the build of DRI drivers in mesa, and
: > it's proving to be a royal pain (I'm getting lots of unresolve symbols
: > from the libmesa.a that it wants to build, and having some other
: > problems).  It occurred to me that the gl/glx libraries built within
: > the X server may contain everything the DRI drivers are looking for,
: > given what's built into libmesa.a (see the  SOLO_OBJECTS list in one
: > of the 'sources' files in Mesa 6.5.2).

: What I ended up doing was building Mesa 6.5.2 separately. The 
: original plan was to libtoolize their build scripts, but it ended up 
: being a huge hassle. In the end, I ended up using the 
: 'Linux'|'OpenBSD'|'GNU' target in their mklib script instead of the 
: completely broken 'NetBSD' target. Saved me a great deal of pain.

  Do you have any patches you could share?  I've been trying to get
Mesa 6.5.2 with DRI support to compile for the past 1.5 days, with
limited success - I get DRI driver .so files, but no libGL.so, or
alternatively build errors in src/glx/x11.

					yours,
					dillo