lkml.org 
[lkml]   [1997]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectSound problems in 2.1.23
Date
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 13:38    [W:0.062 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site