Hi, I'm certainly not an authority here, but I suffered some minor pains getting alsa to work after upgrading gcc. I referred to the Alsa Gentoo Linux Guide.
Marc Morrisette wrote: > I just got done following the GCC migration guide on 3 computers. It > went smoothly on 2 of them, everything works fine, but on the third, > after I recompiled the kernel, alsa-driver won't compile. I'm using > vanilla-sources 2.6.14.2 <http://2.6.14.2>, the kernel options are all > identical to what they were before I did the GCC migration. It's > getting stuck very early in the ALSA compile: > > In file included from > /var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/include/adriver.h:765, > > from > /var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/acore/sgbuf.c:13: > > include/linux/pci.h:392: error: parse error before numeric constant > make[4]: *** > [/var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/acore/sgbuf.o] > Error 1 > make[3]: *** > [/var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/acore] > Error 2 > make[2]: *** > [_module_/var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3] > Error 2 > make[1]: *** [modules] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.14.2 <http://2.6.14.2>' > make: *** [compile] Error 2 > > !!! ERROR: media-sound/alsa-driver-1.0.10_rc3 failed. > !!! Function src_compile, Line 96, Exitcode 2 > !!! Make Failed > !!! If you need support, post the topmost build error, NOT this status > message. >From this, it looks like you are trying to install alsa-driver and according to the guide, if you install the driver, you do not compile alsa with the kernel. At least that's what worked for me. I selected to compile sound into the kernel and then emerged alsa driver and followed the remaining steps in the Guide and alsa works fine. HTH. Colleen -- gentoo-user@gentoo.org mailing list