In file included from sgbuf.c:12: /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/adriver.h:134: redefinition of `PDE' /usr/src/linux/include/linux/proc_fs.h:253: `PDE' previously defined here In file included from /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/sound/driver.h:42, from hwdep.c:22: /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/adriver.h:134: redefinition of `PDE' /usr/src/linux/include/linux/proc_fs.h:253: `PDE' previously defined here In file included from memalloc.inc:11, from memalloc.c:1: /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/adriver.h:134: redefinition of `PDE' /usr/src/linux/include/linux/proc_fs.h:253: `PDE' previously defined here
BTW, is this package needed at all? I think, ALSA drivers are already in the kernel 2.6, but this package is depended on by alsa-tools, alsa-utils etc.
they depend on virtual/alsa which is provided by 2.6 kernels
Hm... that's strange: for some reason portage wanted to compile alsa-driver when I did emerge -pu world: [ebuild U ] media-libs/alsa-lib-0.9.8 [0.9.2] -jack [ebuild U ] media-sound/alsa-utils-0.9.8 [0.9.2] [ebuild N ] media-sound/alsa-driver-0.9.8 +oss [ebuild U ] media-libs/alsa-lib-0.9.8 [0.9.2] -jack [ebuild U ] media-sound/alsa-tools-0.9.8 [0.9.1] [ebuild U ] media-libs/alsa-oss-0.9.8 [0.9.1] kernel 2.6 is already emerged (actually, several kernels), so it should have provided virtual/alsa.
Due a strange reason, it appears that only gentoo-dev-sources may provide alsa: but it's untrue, even development-sources can do it.