Re: 2.3.99pre2 compile problem for sound blaster

From: Stefan Becker (stefan@die-macht.oph.rwth-aachen.de)
Date: Sat Mar 18 2000 - 18:00:03 EST


Hello!

Thomas Molina wrote:
[...]
> > > drivers/sound/sounddrivers.o: In function `sb_dsp_unload':
> > > drivers/sound/sounddrivers.o(.text+0x3056): undefined reference to
> > > `sbmixnum'
> > > make: *** [vmlinux] Error 1
[...]
> I'll try again, but I don't believe so. It should be a clean 2.3.51
> patched with 2.3.99pre followed by pre2-3.

I have the same problem.
The attached patch solves it but I don't know whether it is the right
solution.

Stefan

--- v2.3.99pre2-5/linux/drivers/sound/sb_mixer.c Sat Mar 18 23:39:43 2000
+++ linux/drivers/sound/sb_mixer.c Sat Mar 18 23:42:57 2000
@@ -215,7 +215,7 @@
   0x00 /* SOUND_MIXER_LINE3 */
 };
 
-static int sbmixnum = 1;
+int sbmixnum = 1;
 
 static void sb_mixer_reset(sb_devc * devc);
 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:25 EST