* [PATCH]snd_seq_midi_event: Unknown symbol cleanup_module [PATCH] Unknown symbol init_module and cleanup_module in snd_seq_midi_event
@ 2005-02-20 16:56 Mikael Magnusson
2005-02-22 21:02 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Mikael Magnusson @ 2005-02-20 16:56 UTC (permalink / raw)
To: alsa-devel
I had problems loading the snd_seq_midi_event compiled from ALSA cvs.
I'm using Debian Sarge with the following kernel packages:
kernel-headers-2.6.10-1-k7 2.6.10-4
kernel-image-2.6.10-1-k7 2.6.10-4
The problem was caused by undefined symbols in snd_seq_midi_event.
snd_seq_midi_event: Unknown symbol cleanup_module
snd_seq_midi_event: Unknown symbol init_module
I solved it by adding an init and exit function to seq_midi_event.c. Is
this a bug in ALSA or Debian?
Regards,
Mikael
Index: ../alsa-kernel/core/seq/seq_midi_event.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/seq/seq_midi_event.c,v
retrieving revision 1.14
diff -u -r1.14 seq_midi_event.c
--- ../alsa-kernel/core/seq/seq_midi_event.c 29 Nov 2004 14:09:45 -0000
1.14
+++ ../alsa-kernel/core/seq/seq_midi_event.c 20 Feb 2005 16:51:01 -0000
@@ -511,6 +511,19 @@
return idx;
}
+
+static int __init alsa_seq_midi_event_init(void)
+{
+ return 0;
+}
+
+static void __exit alsa_seq_midi_event_exit(void)
+{
+}
+
+module_init(alsa_seq_midi_event_init)
+module_exit(alsa_seq_midi_event_exit)
+
/*
* exports
*/
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH]snd_seq_midi_event: Unknown symbol cleanup_module [PATCH] Unknown symbol init_module and cleanup_module in snd_seq_midi_event
2005-02-20 16:56 [PATCH]snd_seq_midi_event: Unknown symbol cleanup_module [PATCH] Unknown symbol init_module and cleanup_module in snd_seq_midi_event Mikael Magnusson
@ 2005-02-22 21:02 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2005-02-22 21:02 UTC (permalink / raw)
To: Mikael Magnusson; +Cc: alsa-devel
At Sun, 20 Feb 2005 17:56:51 +0100,
Mikael Magnusson wrote:
>
> I had problems loading the snd_seq_midi_event compiled from ALSA cvs.
> I'm using Debian Sarge with the following kernel packages:
>
> kernel-headers-2.6.10-1-k7 2.6.10-4
> kernel-image-2.6.10-1-k7 2.6.10-4
>
> The problem was caused by undefined symbols in snd_seq_midi_event.
>
> snd_seq_midi_event: Unknown symbol cleanup_module
> snd_seq_midi_event: Unknown symbol init_module
>
> I solved it by adding an init and exit function to seq_midi_event.c. Is
> this a bug in ALSA or Debian?
I don't know. At least, this is no problem on my SUSE system.
Anyway, adding them must be harmless, so I applied your patch.
Thanks.
Takashi
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-22 21:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-20 16:56 [PATCH]snd_seq_midi_event: Unknown symbol cleanup_module [PATCH] Unknown symbol init_module and cleanup_module in snd_seq_midi_event Mikael Magnusson
2005-02-22 21:02 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.