apply following patch to ebuild (with epatch ...) diff -Naur alsa-driver-0.9.6-old/include/adriver.h alsa-driver-0.9.6-new/include/adriver.h --- alsa-driver-0.9.6-old/include/adriver.h 2003-07-03 13:36:16.000000000 +0200 +++ alsa-driver-0.9.6-new/include/adriver.h 2003-08-02 00:27:38.000000000 +0200 @@ -121,7 +121,7 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 3) && !defined(need_resched) #define need_resched() (current->need_resched) #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 4) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 4) && !defined(WE_ARE_WOLKS) #include <linux/fs.h> static inline struct proc_dir_entry *PDE(const struct inode *inode) {
Created attachment 15345 [details, diff] wolk-4.3s patch
*** Bug 25948 has been marked as a duplicate of this bug. ***
k. i'll try and get this in when i get home from work today.
sorry jon, I couldn't wait for this so I've done it. ta sebastian and kerin :) I've not bumped the revision as it was only broken for wolk peeps.
Created attachment 16220 [details] updated alsa-driver-0.9.6.ebuild sry, have it a little longer lying around. cannot test it in course of wolks problems with gcc-3.3.x (meant that the kernel not recognises with which gcc version it is compiled)
Created attachment 16221 [details, diff] the correct working patch please use this patch. it applied correctly.
*** Bug 22182 has been marked as a duplicate of this bug. ***
*** Bug 24730 has been marked as a duplicate of this bug. ***
*** Bug 29473 has been marked as a duplicate of this bug. ***
sound guys, how about mark 0.9.6 as stable ?
I am getting this problem using the latest gs-sources kernel (2.4.23-pre7) and alsa 0.9.2. I tried emerging alsa 0.9.7-rc3 and still received the same error. I have not applied any patches since this bug has apparently been fixed. This is what I am getting: <snip /> gcc -D__KERNEL__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.7-r3/work/alsa-driver-0.9.7c/include -I/usr/src/linux/include -O2 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -DEXPORT_SYMTAB -c hwdep.c gcc -D__KERNEL__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.7-r3/work/alsa-driver-0.9.7c/include -I/usr/src/linux/include -O2 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -DEXPORT_SYMTAB -c memalloc.c In file included from /var/tmp/portage/alsa-driver-0.9.7-r3/work/alsa-driver-0.9.7c/include/sound/driver.h:42, from hwdep.c:22: /var/tmp/portage/alsa-driver-0.9.7-r3/work/alsa-driver-0.9.7c/include/adriver.h:134: redefinition of `PDE' /usr/src/linux/include/linux/proc_fs.h:213: `PDE' previously defined here In file included from memalloc.inc:11, from memalloc.c:1: /var/tmp/portage/alsa-driver-0.9.7-r3/work/alsa-driver-0.9.7c/include/adriver.h:134: redefinition of `PDE' /usr/src/linux/include/linux/proc_fs.h:213: `PDE' previously defined here make[1]: *** [memalloc.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [hwdep.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.7-r3/work/alsa-driver-0.9.7c/acore' make: *** [compile] Error 1 !!! ERROR: media-sound/alsa-driver-0.9.7-r3 failed. !!! Function src_compile, Line 67, Exitcode 2 !!! Parallel Make Failed
James Doherty: please see bug #29965