Re: 2.1.126 fails compile #2 (sound module)

G. Allen Morris III (gam3@dharma.sehda.com)
Sat, 24 Oct 1998 00:02:53 -0700


This is a multipart MIME message.

--==_Exmh_-6831562050
Content-Type: text/plain; charset=us-ascii

This is just a hack and may not work, but it should get linux to compile.
See attachment.

Allen

>>>Ralf Wierzbicki said:
>
> I have an old SoundBlaster PRO, configured to compile as a module.
> Compilations fails here:
>
> 2 -malign-functions=2 -DCPU=586 -DMODULE -c -o sb_mixer.o sb_mixer.c
> sb_mixer.c: In function `sb_mixer_ioctl':
> sb_mixer.c:357: `SOUND_MIXER_OUTSRC' undeclared (first use this function)
> sb_mixer.c:357: (Each undeclared identifier is reported only once
> sb_mixer.c:357: for each function it appears in.)
> sb_mixer.c:392: `SOUND_MIXER_OUTMASK' undeclared (first use this function)
> make[2]: *** [sb_mixer.o] Error 1
> make[2]: Leaving directory `/usr/src/linux/drivers/sound'
> make[1]: *** [_modsubdir_sound] Error 2
> make[1]: Leaving directory `/usr/src/linux/drivers'
> make: *** [_mod_drivers] Error 2
>
>
>
>
>
> -
> 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/

---------------------------------
G. Allen Morris III

--==_Exmh_-6831562050
Content-Type: text/plain; name="kernel.patch"; charset=us-ascii
Content-Description: kernel sound patch
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="letter"

--- linux/include/linux/soundcard.h.orig Fri Oct 23 23:55:46 1998
+++ linux/include/linux/soundcard.h Fri Oct 23 23:56:28 1998
@@ -771,6 +771,8 @@
#define SOUND_MIXER_CAPS 0xfc
# define SOUND_CAP_EXCL_INPUT 0x00000001 /* Only one recording source at=
a time */
#define SOUND_MIXER_STEREODEVS 0xfb /* Mixer channels supporting stereo =
*/
+#define SOUND_MIXER_OUTSRC 0xfa /* FIXME: Only a guess */
+#define SOUND_MIXER_OUTMASK 0xf9 /* FIXME: Only a guess */
=

/* Device mask bits */
=

--==_Exmh_-6831562050--

-
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/