the error is this, and it's in the ./configure of alsa-driver. checking whether gcc needs -traditional... no checking for current directory... /var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2 checking cross compile... checking for directory with kernel source... /usr/src/linux checking for kernel version... The file /usr/src/linux/include/linux/version.h does not exist. Please, install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /usr/src/linux). !!! ERROR: media-sound/alsa-driver-0.9.0_rc2 failed. !!! Function src_compile, Line 58, Exitcode 1 !!! ./configure failed newton linux # vim /usr/portage/media-sound/alsa-driver/alsa-driver-0.9.0_rc2.ebuild I have reported a similar problem with iproute, wich also said that I must have my kernel sources compiled.(bug http://bugs.gentoo.org/show_bug.cgi?id=33831) The problem is that my kernel sources are configured, compiled and properly laid out on /usr/src/linux newton linux # emerge info Portage 2.0.49-r15 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-ben2) ================================================================= System uname: 2.4.22-ben2 ppc Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=750 -mpowerpc-gfxopt" CHOST="powerpc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=750 -mpowerpc-gfxopt" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox usersandbox ccache distcc userpriv fixpackages" GENTOO_MIRRORS="ftp://ftp.rnl.ist.utl.pt/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://ftp.rnl.ist.utl.pt/gentoo-portage" USE="oss dvd xv libwww jpeg nls mitshm gif png truetype ppc cups foomaticdb gnome-libs gdbm berkdb slang readline arts tcltk sdl gpm tcpd perl python esd imlib oggvorbis motif opengl mozilla radeon cdr zlib pam crypt ssl kerberos ldap ipv6 java junit acl threads xft X gtk gtk2 ncurses moznoirc moznocompose avi mpeg quicktime tiff -kde -qt -gnome alsa -selinux" Miguel
from the /usr/src/linux dir please try make include/linux/version.h and try to emerge it again.
newton linux # make include/linux/version.h make: `include/linux/version.h' is up to date. and still the same error> checking for kernel version... The file /usr/src/linux/include/linux/version.h does not exist. Please, install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /usr/src/linux). newton linux # ll /usr/src/linux/include/linux/version.h -rw-rw---- 1 root root 131 Nov 16 01:57 /usr/src/linux/include/linux/version.h
Please try a newer alsa-driver ebuild as this one is getting dated and preferably using ppc-sources or ppc-sources-dev as these are the recommended 2.4-branch kernel sources.