[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SB Live



On Fri, Nov 05, 1999 at 01:42:36AM +0100, Jean-Yves BARBIER wrote:
> I finally found what's wrong with sound.h :
> The program refers to /usr/include/.....
> instead of: /usr/src/linux/include/......

Raaahhh, too simple: there are many things to change :((((((
(BTW I work under 2.2.12, and the part which is compiled is the
 one for < 0x20100 ?????? WHY such a cruelty ?)
Sorry its a bit long, I don't know how to make a patch:

in 'platform.h':

//#include <linux/sound.h>
#include "/usr/src/linux/include/linux/sound.h"
......
//#include <linux/soundcard.h>
#include "/usr/src/linux/include/linux/soundcard.h"
......
in the block defining 'typedef int spinlock_t', comment all lines
(from this one, to 'else'), and change:
//#include <asm/spinlock.h>
#include "/usr/src/linux/include/asm/spinlock.h"
comment then 'endif

=================================================

in 'main.c':

Lines # 294, 304, 314 & 323, replace the FIRST calls to
'register_sound_.....' with the following (the one with a 
final '-1')

Ouf, c'est fini :))

JY
-- 
Jean-Yves F. Barbier <jybarbier@wanadoo.fr>
 The Macintosh is Xerox technology at its best.


Reply to: