![]() | |||||||||||||
Messages in this thread |
I tried to compile 2.1.23 last night (after installing up to date versions
of binutils, libc, etc..). I have a Orchid Soundwave 32 which is classed as
a PSS card. While compiling the kernel it ground to a halt with the rude
message:
In file included from sound_config.h:156,
from ad1848.c:29:
sound_calls.h:21: parse error before select_table
sound_calls.h:21: warning: function declaration isn't a prototype
sound_calls.h:39: parse error before select_table
sound_calls.h:39: warning: function declaration isn't a prototype
sound_calls.h:59: parse error before select_table
sound_calls.h:59: warning: function declaration isn't a prototype
sound_calls.h:75: parse error before select_table
sound_calls.h:75: warning: function declaration isn't a prototype
After lots of digging around (and comparing with 2.0) it looks like some
stuff in <linux/wait.h> has changed name.. namely select_table and
select_wait. Inserting a quick dirty fix:
#define select_table poll_table
#define select_wait poll_wait
into drivers/sound/sound_config.h got it compiling and after a good thrashing
recording and playing I have not managed to get it to crash yet.. (famous last
words!)
Wullie Stewart <wullie@hmmz.demon.co.uk>
| ||||||||||||
| Last update: 2005-03-22 12:38 [W:0.086 / U:0.130 seconds] ©2003-2008 Jasper Spaans | |||||||||||||