Summary: | alsa-driver build error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sven Wermke <svenwermke> |
Component: | Current packages | Assignee: | Arcady Genkin (RETIRED) <agenkin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 1.2 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sven Wermke
2002-07-13 14:45:22 UTC
I have this same problem, although the end error is slightly different. Gentoo 1.2, Duron 1.2, latest mjc-sources kernel. This happens immediately after installing the new kernel, rebooting to rebuild alsa-driver. lm_sensors rebuild completes fine. Here are the last few lines of the emerge process: /var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver- 0.9.0rc2/include/sound/core.h:262: warning: `snd_malloc_isa_pages_fallback' redefined /usr/src/linux/include/linux/modules/sound.ver:22: warning: this is the location of the previous def inition In file included from ../alsa-kernel/core/info.c:32, from info.c:1: /usr/src/linux/include/linux/proc_fs.h:238: redefinition of `PDE' /var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver- 0.9.0rc2/include/adriver.h:111: `PDE' previo usly defined here make[1]: *** [info.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa- driver-0.9.0rc2/acore' make: *** [compile] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -15, Exitcode 2 !!! Parallel Make Failed !!! emerge aborting on /usr/portage/media-sound/alsa-driver/alsa-driver- 0.9.0_rc2.ebuild . Jesh I feel like an idiot. I figured out my problem. The newer mjc-sources has options for alsa drivers in the kernel. You have to disable normal sound support to see the alsa sound options. Sven, the output that you sent suggests that it's an internal compiler error. I suggest that you file a bug with the GCC people instead. Hi! I got the same error (Trident driver) and found a Workaround: The alsa-driver ebuild compiles ALSA by default with ALSA_CARDS=all wich means, support for all sound cards. Also the buggy(?) Trident. My workaround is, to do a export ALSA_CARDS=mychip before emerging. As long as you dont have a Trident, it should work for you :) And it compiles even faster because it only compiles your chip, plus you dont waste diskspace for modules you dont need. A list of all supported soundcards along with the chipnames can be found here: http://alsa-project.org/~goemon/ In my case it was "export ALSA_CARDS=ens1371" because I have a SB 128 PCI. Hope that helps! Regards, bAZiK Thanks for the tip. Setting ALSA_CARDS to my sound module also let me dodge the buggy trident module. BTW running 1.3b Mark Sven, are you still unable to compile alsa-driver? Whoops, almost forgot about this bug. I just tried it on my K6-2 400 with Gentoo 1.4-rc1 and now it works. Time to close this one. |