At Sat, 24 Jan 2004 01:23:28 +0100,
Martin Langer wrote:
> 
> 
> Hi,
> 
> usx2y build by "./configure --with-cards=usb-usx2y" has a dependency problem:
> 
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.23/kernel/sound/usb/usx2y/snd-usb-usx2y.o
> depmod:         snd_usbmidi_disconnect_Rc1a56322
> depmod:         snd_hack_usb_set_interface_R5b6905b8
> depmod:         snd_usb_create_midi_interface_R5a5eff3a
> 
> ./configure --with-cards=usb-usx2y,usb-audio fix this problem, but OTOH it
> looks fine in /alsa-driver/utils/Modules.dep -- usx2y depends there on 
> snd-usb-audio and that seems to be ok.
> 
> Any hints?

try the attached patch.


Takashi
Index: alsa-driver/usb/Makefile
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-driver/usb/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- alsa-driver/usb/Makefile    25 Nov 2003 11:13:35 -0000      1.13
+++ alsa-driver/usb/Makefile    26 Jan 2004 10:19:35 -0000
@@ -10,6 +10,9 @@
 # for compatibility
 extra-snd-usb-audio-objs := usbcompat.o
 
+# usx2y depends on usb-audio
+obj-$(CONFIG_SND_USB_USX2Y) += snd-usb-audio.o
+
 obj-$(CONFIG_SND) += usx2y/
 
 export-objs := usbaudio.o usbmidi.o

Reply via email to