Re: Linux 2.5.17: compile error: sound/driver/opl3/opl3_oss.c

Takashi Iwai (tiwai@suse.de)
Tue, 21 May 2002 15:47:45 +0200


--Multipart_Tue_May_21_15:47:45_2002-1
Content-Type: text/plain; charset=US-ASCII

At Tue, 21 May 2002 12:05:08 +0200,
Melchior FRANZ wrote:
>
> This is now the third or fourth kernel in a row that exhibits the same
> compile error. The configuration is as follows:

this was fixed on alsa cvs.
please try the attached patch (applied under $KENREL/sound).

Takashi

--Multipart_Tue_May_21_15:47:45_2002-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="opl3-makefile.dif"
Content-Transfer-Encoding: 7bit

Index: drivers/opl3/Makefile
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/drivers/opl3/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- drivers/opl3/Makefile 26 Apr 2002 14:04:39 -0000 1.6
+++ drivers/opl3/Makefile 21 May 2002 13:22:10 -0000 1.7
@@ -8,9 +8,11 @@
export-objs := opl3_lib.o

snd-opl3-lib-objs := opl3_lib.o opl3_synth.o
-snd-opl3-synth-objs := opl3_seq.o opl3_midi.o opl3_drums.o
ifeq ($(subst m,y,$(CONFIG_SND_SEQUENCER)),y)
+snd-opl3-synth-objs := opl3_seq.o opl3_midi.o opl3_drums.o
+ifeq ($(CONFIG_SND_OSSEMUL),y)
snd-opl3-synth-objs += opl3_oss.o
+endif
endif

# Toplevel Module Dependency

--Multipart_Tue_May_21_15:47:45_2002-1--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/