I compiled a new kernel after emerging gentoo-sources 2.4.22-r4 and now alsa-driver will not compile. I emerge it using this command: env ALSA_CARDS='emu10k1' emerge alsa-driver since I have an Audigy Platinum card. I've looked for help on the forums to no avail. ALSA was working perfectly with previous kernels (2.4.20-gentoo-r9, 2.4.22-gentoo-r2) and now for some reason alsa-driver won't compile. I have sound support enabled as a module with nothing else in the sound menu enabled. the Gentoo ALSA guide was followed when configuring initially... Reproducible: Always Steps to Reproduce: 1.Build 2.4.22-gentoo-r4 kernel 2.env ALSA_CARDS='emu10k1' emerge alsa-driver 3. Actual Results: Here's the tail end of the emerge output for alsa-driver: ver-0.9.8/include -I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=i386 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD hwdep.c memalloc.c sgbuf.c memory_wrapper.c pcm.c pcm_native.c pcm_lib.c pcm_timer.c pcm_misc.c pcm_memory.c rawmidi.c timer.c sound.c init.c memory.c info.c control.c misc.c device.c wrappers.c isadma.c sound_oss.c info_oss.c > .depend In file included from sound_oss.c:2: ../alsa-kernel/core/sound_oss.c:27:2: #error "Enable the OSS soundcore multiplexer (CONFIG_SOUND) in the kernel." make[2]: *** [fastdep] Error 1 make[2]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/acore' make[1]: *** [dep] Error 1 make[1]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8' make: *** [include/sndversions.h] Error 2 !!! ERROR: media-sound/alsa-driver-0.9.8 failed. !!! Function src_compile, Line 63, Exitcode 2 !!! Parallel Make Failed Expected Results: I would expect alsa-driver to compile... it has before on quite a few occaisions just fine with new kernel source. Additional configuration: Make.conf: march=athlon-mp -O2 -pipe USE="alsa gtk kde qt perl X xmms -gnome S3TC dvd 3dnow samba moznomail" MAKEOPTS="-j3" MSI K7D Master motherboard, 2x MP1700 CPU's Audigy (1) Platinum soundcard
can you attach the .config from your kernel
Created attachment 23561 [details] this is the kernel config I used
After running an emerge world (emerged latest versions of gcc and glibc) I am still seeing the issue. I have run out of options now short of using a 2.6 kernel, which I would rather not do at this point.
I am having the same problem with alsa-driver-1.0.1. I am running 2.4.20-gaming-r6 and gcc-3.3.2-r5. My emerge info: Portage 2.0.50_pre16 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.4.20-gaming-r6) ================================================================= System uname: 2.4.20-gaming-r6 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.3.12 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://gentoo.noved.org/ http://gentoo.noved.org/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X acpi alsa avi berkdb bonobo cdr crypt cups dvd dvdr encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 imap imlib innodb jack java jpeg libg++ libwww mad maildir mmx mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline scanner sdl slang spell ssl svga tcltk tcpd tiff truetype usb x86 xml2 xmms xv zlib video_cards_radeon" I will attach my kernel config.
Looking in /usr/src/linux/include/linux/autoconf.h, CONFIG_SOUND was not set and neither was CONFIG_SOUND_MODULE. After setting CONFIG_SOUND_MODULE I was able to compile alsa-driver but when I try to start alsasound, I get unresolved symbol errors when it inserts the module.
I've now resorted to running gentoo-dev-sources 2.6.1 and compiling the required driver statically in the kernel... thanks anyway.
I'm going to CANTFIX this, if you have trouble again, reopen, or open a new bug.