Compilation fails with the following error: CC [M] /var/tmp/portage/media-sound/alsa-driver-1.0.16/work/alsa-driver-1.0.16/acore/timer.o /var/tmp/portage/media-sound/alsa-driver-1.0.16/work/alsa-driver-1.0.16/acore/timer.c: In function 'snd_timer_request': /var/tmp/portage/media-sound/alsa-driver-1.0.16/work/alsa-driver-1.0.16/acore/timer.c:155: error: wrong type argument to unary exclamation mark make[3]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.16/work/alsa-driver-1.0.16/acore/timer.o] Error 1 make[2]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.16/work/alsa-driver-1.0.16/acore] Error 2 make[1]: *** [_module_/var/tmp/portage/media-sound/alsa-driver-1.0.16/work/alsa-driver-1.0.16] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.25.3' make: *** [compile] Error 2 This has been fixed in the hg repo Reproducible: Always
Created attachment 153093 [details, diff] Patch to fix compilation with 2.6.25 kernels from upstream hg Taken from alsa-kernel changest 5876 (http://hg.alsa-project.org/alsa-kernel/rev/2d6164f0bf0e)
(In reply to comment #1) > Created an attachment (id=153093) [edit] > Patch to fix compilation with 2.6.25 kernels from upstream hg This applies in the alsa-kernel/ directory in the source tree.
Created attachment 154521 [details] Working ebuild. Working ebuild.
*** Bug 225289 has been marked as a duplicate of this bug. ***
Can the revision be added in portage then? Thank you.
(In reply to comment #5) > Can the revision be added in portage then? Thank you. > I second that. I need this working ebuild. Please add it
Created attachment 160540 [details, diff] Patch to fix compilation with 2.6.26 kernels from upstream hg This patch is needed for compilation with 2.6.26 (should work just fine with older kernels as well as per kernel commit log at http://is.gd/UH0). This too applies withing the alsa-kernel/ directory.
1.0.17 ebuilds http://bugs.gentoo.org/show_bug.cgi?id=232160
*** This bug has been marked as a duplicate of bug 227045 ***