Summary: | strange alsa-driver compile failure | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Elan Ruusamäe <glen> |
Component: | [OLD] Unspecified | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED WORKSFORME | ||
Severity: | minor | CC: | msulli1355 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Output from another failed compile of alsa-driver |
Description
Elan Ruusamäe
2004-09-28 10:27:52 UTC
latexer, do youu think you could have a look at this? this is reproduceable - i also use 2.6.8 ck sources and have alsa built into the kernel- so alsa-driver build fails every time- I had to use gentoo sources in order to get the make process to even begin when emerge alsa-driver was run- and it failed with the same errors as previously mentioned from rate.c:2: /usr/src/linux/include/linux/poll.h:4:22: asm/poll.h: No such file or directory /usr/src/linux/include/linux/poll.h:11:25: asm/uaccess.h: No such file or directory In file included from /var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a/include/sound/pcm.h:29, from /var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a/alsa-kernel/core/oss/rate.c:25, from rate.c:2: /usr/src/linux/include/linux/bitops.h:69:24: asm/bitops.h: No such file or directory make[3]: *** [fastdep] Error 1 make[3]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a/acore/oss' make[2]: *** [_sfdep_oss] Error 2 make[2]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a/acore' make[1]: *** [dep] Error 1 make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a' make: *** [include/sndversions.h] Error 2 !!! ERROR: media-sound/alsa-driver-1.0.6a failed. !!! Function src_compile, Line 91, Exitcode 2 !!! Parallel Make Failed !!! If you need support, post the topmost build error, NOT this status message. Not to cool to have to emerge genkernel and build a fake kernel just to install some drivers which arent needed and wont be used by the real kernel- this is breaking the installation of apps that have alsa-driver listed as a dependency such as kde-base and kde-libs others have this issue too - see http://forums.gentoo.org/posting.php?mode=reply&t=192097 workaround is to link kernel sources to /usr/src/linux and generate a kernel with no alsa or alsa as a module or - i didnt have to change permission like the other reporter did- easiest automated solution is to emerge gentoo-sources emerge genkernel (if you dont already have it) genkernel all then emerge alsa-driver will work Created attachment 46374 [details]
Output from another failed compile of alsa-driver
This is the output from my attempted installation of alsa-driver.
Michael: I get the same error as you. Did you find a fix? Using 2.4.26-gentoo-r14. Compiled with genkernel. Tossing back to sound. Got lost in the dust. Jeremy: This is just a matter of "alsa-driver has to build against a built kernel sources" problem. As to the deps the users are refering to, that's a dep problem, which is complicated by the aforementioned kernel issue. yeah, this loooks like your kernel sources aren't compiled yet. You need to have /usr/src/linux point to a compiled kernel tree. |