From: Mikael Magnusson <mikaelmagnusson@glocalnet.net>
To: alsa-devel@lists.sourceforge.net
Subject: [PATCH]snd_seq_midi_event: Unknown symbol cleanup_module [PATCH] Unknown symbol init_module and cleanup_module in snd_seq_midi_event
Date: Sun, 20 Feb 2005 17:56:51 +0100 [thread overview]
Message-ID: <4218C153.6030207@glocalnet.net> (raw)
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
next reply other threads:[~2005-02-20 16:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-20 16:56 Mikael Magnusson [this message]
2005-02-22 21:02 ` [PATCH]snd_seq_midi_event: Unknown symbol cleanup_module [PATCH] Unknown symbol init_module and cleanup_module in snd_seq_midi_event Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4218C153.6030207@glocalnet.net \
--to=mikaelmagnusson@glocalnet.net \
--cc=alsa-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.