When I try to emerge xfree-drm-4.3.0.-r4, I get the following error: make[3]: Entering directory `/var/tmp/portage/xfree-drm-4.3.0-r4/work/drm' gcc -I/var/tmp/portage/xfree-drm-4.3.0-r4/work/drm -D__KERNEL__ -I/usr/src/linux-2.4.20-gentoo-r5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-gentoo-r5/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=i810_drv -c -o i810_drv.o i810_drv.c In file included from i810_drv.c:46: drm_drv.h: In function `drm_init': drm_drv.h:622: warning: implicit declaration of function `mtrr_add_R56179c5f' drm_drv.h:624: `MTRR_TYPE_WRCOMB' undeclared (first use in this function) drm_drv.h:624: (Each undeclared identifier is reported only once drm_drv.h:624: for each function it appears in.) make[3]: *** [i810_drv.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/xfree-drm-4.3.0-r4/work/drm' make[2]: *** [_mod_/var/tmp/portage/xfree-drm-4.3.0-r4/work/drm] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r5' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/var/tmp/portage/xfree-drm-4.3.0-r4/work/drm' make: *** [i810.o] Error 2 gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer -g -ansi -pedantic -DPOSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -I. -I../../.. dristat.c -o dristat nostrip >>> Install xfree-drm-4.3.0-r4 into /var/tmp/portage/xfree-drm-4.3.0-r4/image/ category x11-base * installing DRM... install -d -m 0755 /var/tmp/portage/xfree-drm-4.3.0-r4/image//lib/modules/2.4.20-gentoo-r5/kernel/drivers/char/drm install: cannot stat `i810.o': No such file or directory install: cannot stat `i830.o': No such file or directory make: *** [install] Error 1 !!! ERROR: x11-base/xfree-drm-4.3.0-r4 failed. !!! Function src_install, Line 143, Exitcode 2 !!! (no error message) # emerge info Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz GENTOO_MIRRORS="http://zazu.ru.ac.za http://zion.ru.ac.za ftp://ftp.is.co.za/linux/distributions/gentoo ftp://trumpetti.atm.tut.fi/gentoo/ ftp://gentoo.linux.no/pub/gentoo/ ftp://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/init.d /etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla snmp acl amd flash gd gtk2 i8x0 ipv6 moznocompose moznoirc moznomail pic samba vim-with-x wmf xosd" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.rucus.ru.ac.za/gentoo-portage" FEATURES="sandbox ccache fixpackages"
Could you try -r5 and see if it works?
Well, it compiled and merged fine. Whether or not it actually works remains to be seen ;-) Thanks.
I'm going to close this for now. Let me know if you have any more problems with it.