Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22182 - Get ALSA to compile properly for the WOLK kernel
Summary: Get ALSA to compile properly for the WOLK kernel
Status: RESOLVED DUPLICATE of bug 25731
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Arcady Genkin (RETIRED)
URL: http://www.justlinux.com/forum/showth...
Whiteboard:
Keywords:
: 22280 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-06-03 19:49 UTC by Dale K Dicks
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***