Am Sonntag 11 Juni 2006 13:37 schrieb Alexander E. Patrakov: > Andrew Benton wrote: > > Uwe Kramer wrote: > >> Hello, > >> > >> I am trying to build a new system with xorg-7.1 according to > >> BLFS-book-cvs-html-2006-06-08. While compiling xorg-server I get > >> following error: > >> > >> In file included from lnx_agp.c:24: > >> /usr/include/linux/agpgart.h:55: error: syntax error before '__u16' > >> /usr/include/linux/agpgart.h:60: error: field 'version' has incomplete > >> type > >> > >> Can anybody help me with this? > > > > sed -i '/CONFIG_H/i #include <linux/types.h>' \ > > hw/xfree86/os-support/linux/lnx_agp.c > > Or, better, since the problem is really in glibc and affects other apps > (e.g. dosemu): > > cd /usr/include/sys > wget -qO- > http://www.linuxfromscratch.org/patches/lfs/development/glibc-2.3.6-linux_t >ypes-1.patch > > | patch -Np6 > > -- > Alexander E. Patrakov
Thank you very much, worked perfectly. Uwe -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page