On Wed, Jun 4, 2008 at 3:56 AM, Richard Melville
<[EMAIL PROTECTED]> wrote:
>
> Thanks for the advice.  I pressed on and ran a diff on the two files and
> they didn't look much different, so I took a chance and symlinked
> *slang_version_syn.h* to *slang_pp_version_syn.h* and it built OK.  I
> haven't tested it yet though.

I wouldn't worry about them being different at all. They're internal
mesa headers, so they're free to be whatever they want. You built
mesa-6.5.2 using them, so they're working.

Building GLcore is a special case, though. GLcore is written as a
sort-of mesa 3d driver. In order to build GLcore, it needs to link
against the mesa driver interfaces. These are part of an internal
library, libmesa.a, which is statically linked into all the DRI
libraries you installed earlier.

So, to build GLcore, you need a copy of all the mesa source in order
to build this static library again. Unfortunately, xorg-server uses
automake, and mesa uses it's own thing entirely. To rebuild the static
library with libtool, all the names of the mesa source files are
hardcoded into xorg-server Makefiles and this other hacky script,
symlink-mesa.sh.

I imagine the problem is simply that the list of sources is out of
sync from when xorg-server-1.1 was released (with whatever mesa
release was available at the time) and mesa-6.5.2. So, it just needs
to be resynced.

Like I said, this stuff has finally gone away in mesa and xserver
master. Now when you build mesa, you get a software DRI driver in
addition to the hardware ones. The xserver falls back to using this
when it can't find an appropriate DRI driver.

> I did run into another problem later on with *lnx_agp.c* when building
> xorg-server with *glibc 2.3.4*.  I found your remedy on the freedesktop
> lists, and it worked a treat.  It really had me beaten.

I think that was DJ that put together that fix, and I thought it was
in one of the BLFS books. You just picked up me proliferating it onto
the xorg lists.

> I can't thank you enough - you really do know your stuff.

You're welcome. This happens to be an area that I find very interesting.

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to