On 6/1/06, Eloi Primaux <[EMAIL PROTECTED]> wrote:
I encountered some problem while compiling xorg-7.1-RC* and xorg-7.1
about agpgart.h with lfs-6.1.1, lfs-svn-20060420 and HLFS-20060510, i got over 
it by following this post :
http://lists.freedesktop.org/archives/xorg/2005-December/011626.html

it says that we have to modify sys/kd.h :

Well, it didn't take long for this to come up again.  We have a patch
now in LFS svn since that header is installed by Glibc.  See here:

http://www.linuxfromscratch.org/patches/lfs/development/glibc-2.3.6-linux_types-1.patch

You can probably just patch /usr/include/sys/kd.h in place, but I
haven't tried it, so it's no guarantee.

If you'd prefer not to patch that header, you can workaround it in
xorg by using this sed:

sed -i.bak '/CONFIG_H/i #include <linux/types.h>' \
   hw/xfree86/os-support/linux/lnx_agp.c

I think that the book should say that xorg require modified lfs headers

DJ, can we put something back in the book?

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

Reply via email to