Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 22182

Summary: Get ALSA to compile properly for the WOLK kernel
Product: Gentoo Linux Reporter: Dale K Dicks <dale_d>
Component: New packagesAssignee: Arcady Genkin (RETIRED) <agenkin>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aliz, yggsdrasil
Priority: High    
Version: 1.4_rc4   
Hardware: All   
OS: Linux   
URL: http://www.justlinux.com/forum/showthread.php?s=&threadid=102839&highlight=alsa
Whiteboard:
Package list:
Runtime testing required: ---

Description Dale K Dicks 2003-06-03 19:49:12 UTC
CHANGE THIS (include/adriver.h/line # 105): 

#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 4)
#include <linux/fs.h>
static inline struct proc_dir_entry *PDE(const struct inode *inode)
{
return (struct proc_dir_entry *) inode->u.generic_ip;
}
#endif

TO THIS:

#ifndef PDE
#include <linux/fs.h>
static inline struct proc_dir_entry *PDE(const struct inode *inode)
{
return (struct proc_dir_entry *) inode->u.generic_ip;
}
#endif

see URL for reason why the original code is wrong.
Comment 1 Dale K Dicks 2003-06-03 19:53:13 UTC
to clarify the include/adriver.h file is in the alsa-driver source code

Comment 2 Arcady Genkin (RETIRED) gentoo-dev 2003-06-09 13:23:03 UTC

*** This bug has been marked as a duplicate of 22280 ***
Comment 3 Arcady Genkin (RETIRED) gentoo-dev 2003-06-09 13:24:16 UTC
Oops, I meant the other way around.
Comment 4 Arcady Genkin (RETIRED) gentoo-dev 2003-06-09 13:24:40 UTC
*** Bug 22280 has been marked as a duplicate of this bug. ***
Comment 5 kfm 2003-08-10 07:11:21 UTC
Hi guys. This has also been filed as #25635, however the solution shown there is better, simpler and *safer* (it that it can't possibly affect the behaviour of the compilation process on non-WOLK kernels). Please could we get this resolved! :)
Comment 6 kfm 2003-08-10 07:13:50 UTC
Eep, I meant Bug 25731, not Bug 25635. Sorry about that!
Comment 7 Arcady Genkin (RETIRED) gentoo-dev 2003-08-18 11:26:26 UTC

*** This bug has been marked as a duplicate of 25731 ***