Problem with emerge alsa-driver on Gentoo
Follow @ggarronAs you know I am new to Gentoo, and I am experimenting some problems which I may call "Newbie problems" one of them was this.
When I tried to update my Gentoo Operating System, and I run.
sudo emerge --sync
And then,
sudo emerge --update --newuse --deep world
I got this problem:
Failed to emerge media-sound/alsa-driver-1.0.18a, Log file: >>> '/var/tmp/portage/media-sound/alsa-driver-1.0.18a/temp/build.log' * Messages for package media-sound/alsa-driver-1.0.18a: * * ERROR: media-sound/alsa-driver-1.0.18a failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3951: Called die * The specific snippet of code: * emake LDFLAGS="$(raw-ldflags)" HOSTCC="$(tc-getBUILD_CC)" CC="$(tc-getCC)" || die "Make Failed"; * The die message: * Make Failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-sound/alsa-driver-1.0.18a/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/alsa-driver-1.0.18a/temp/environment'. *
Well, the problem just go away as soon as I recompile the new kernel sources that was downloaded in a prior intend to update the system.
I went from kernel 2.6.25-gentoo-r8 to 2.6.27-gentoo-r8 and then I was able to run
sudo emerge alsa-driver
Actually I do not know the why was this, but I think it was because the newer version of alsa-driver needed the newer version of kernel to properly work.
Hope this may help somebody.