Skip to contentSkip to conversation

usx2y dependencies

DISCUSSION Martin Langer 2 participants 5 messages Jan 24, 2004 – Feb 3, 2004

lore
Share & tools
lore
#0 lore raw

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?

martin

Signature · 8 lines
The only nice thing about spam is that it doesn't ring.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
#1 lore raw

At Sat, 24 Jan 2004 01:23:28 +0100,

Quoted 12 lines · Martin Langer

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
Quoted 5 lines

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

usb/Makefile +3 -0
diff -u -r1.13 Makefile
@@ -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
#2 lore raw
Quoted 11 lines · Takashi Iwai

At Sat, 24 Jan 2004 01:23:28 +0100,

Quoted 9 lines · Martin Langer

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
Quoted 8 lines
Quoted 5 lines

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

It's perfect :) Please commit it.

martin

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

#3 lore raw
Quoted 4 lines · Martin Langer
Quoted 3 lines · Takashi Iwai

At Sat, 24 Jan 2004 01:23:28 +0100,

Quoted 1 line · Martin Langer
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

usx2y build by "./configure --with-cards=usb-usx2y" has a dependency problem:

try the attached patch.

It's perfect :) Please commit it.

I have an improvement. Because I haven't checked MIDI dependencies before :-( But this patch enables the MIDI stuff now.

martin

Index: alsa-driver/acore/seq/Makefile
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/acore/seq/Makefile,v retrieving revision 1.14

acore/seq/Makefile +1 -0
diff -u -r1.14 Makefile
@@ -12,6 +12,7 @@
 obj-$(CONFIG_SND_AU8810) += snd-seq-midi.o snd-seq.o snd-seq-device.o snd-seq-midi-event.o
 obj-$(CONFIG_SND_AU8820) += snd-seq-midi.o snd-seq.o snd-seq-device.o snd-seq-midi-event.o
 obj-$(CONFIG_SND_AU8830) += snd-seq-midi.o snd-seq.o snd-seq-device.o snd-seq-midi-event.o
+obj-$(CONFIG_SND_USB_USX2Y) += snd-seq-midi.o snd-seq.o snd-seq-device.o snd-seq-midi-event.o
 
 export-objs  := seq_device.o seq.o seq_instr.o seq_midi_emul.o \
 		seq_midi_event.o seq_virmidi.o

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

#4 lore raw

At Mon, 2 Feb 2004 22:08:53 +0100,

Quoted 9 lines · Martin Langer
Quoted 7 lines · Martin Langer
Quoted 6 lines · Takashi Iwai

At Sat, 24 Jan 2004 01:23:28 +0100,

Quoted 3 lines · Martin Langer

usx2y build by "./configure --with-cards=usb-usx2y" has a dependency problem:

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

try the attached patch.

It's perfect :) Please commit it.

I have an improvement. Because I haven't checked MIDI dependencies before :-( But this patch enables the MIDI stuff now.

thanks, now applied to cvs.

Takashi

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn