From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>, Takashi Iwai <tiwai@suse.de>,
perex@suse.cz
Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org
Subject: [patch] 2.6.9-rc4-mm1: ALSA compile error with KMOD=n
Date: Mon, 11 Oct 2004 22:15:33 +0200 [thread overview]
Message-ID: <20041011201533.GB1892@stusta.de> (raw)
In-Reply-To: <20041011032502.299dc88d.akpm@osdl.org>
On Mon, Oct 11, 2004 at 03:25:02AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.9-rc3-mm3:
>...
> bk-alsa.patch
>...
This causes the following compile error with CONFIG_KMOD=n:
<-- snip -->
...
CC sound/core/seq/seq_device.o
sound/core/seq/seq_device.c: In function `snd_seq_device_register_driver':
sound/core/seq/seq_device.c:332: warning: implicit declaration of function `snd_seq_autoload_lock'
sound/core/seq/seq_device.c:335: warning: implicit declaration of function `snd_seq_autoload_unlock'
...
LD .tmp_vmlinux1
sound/built-in.o(.text+0xc9ae1): In function `snd_seq_device_register_driver':
: undefined reference to `snd_seq_autoload_lock'
sound/built-in.o(.text+0xc9af7): In function `snd_seq_device_register_driver':
: undefined reference to `snd_seq_autoload_unlock'
sound/built-in.o(.text+0xc9b27): In function `snd_seq_device_register_driver':
: undefined reference to `snd_seq_autoload_unlock'
sound/built-in.o(.text+0xc9b9e): In function `snd_seq_device_register_driver':
: undefined reference to `snd_seq_autoload_unlock'
make: *** [.tmp_vmlinux1] Error 1
<-- snip -->
The fix is simple:
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.9-rc4-mm1-full/sound/core/seq/seq_device.c.old 2004-10-11 21:40:10.000000000 +0200
+++ linux-2.6.9-rc4-mm1-full/sound/core/seq/seq_device.c 2004-10-11 21:40:38.000000000 +0200
@@ -41,6 +41,7 @@
#include <sound/core.h>
#include <sound/info.h>
#include <sound/seq_device.h>
+#include <sound/seq_kernel.h>
#include <sound/initval.h>
#include <linux/kmod.h>
#include <linux/slab.h>
next prev parent reply other threads:[~2004-10-11 20:16 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-11 10:25 2.6.9-rc4-mm1 Andrew Morton
2004-10-11 11:29 ` 2.6.9-rc4-mm1 Eyal Lebedinsky
2004-10-11 11:37 ` 2.6.9-rc4-mm1 Tim Cambrant
2004-10-11 11:38 ` 2.6.9-rc4-mm1 Nick Piggin
2004-10-11 19:13 ` 2.6.9-rc4-mm1 Andrew Morton
2004-10-11 22:57 ` 2.6.9-rc4-mm1 Nick Piggin
2004-10-11 11:43 ` 2.6.9-rc4-mm1 Brice Goglin
2004-10-11 12:30 ` 2.6.9-rc4-mm1 Con Kolivas
2004-10-11 13:17 ` 2.6.9-rc4-mm1 Alan Cox
2004-10-11 14:23 ` 2.6.9-rc4-mm1 Con Kolivas
2004-10-11 14:30 ` 2.6.9-rc4-mm1 J.A. Magallon
2004-10-11 12:44 ` Unable to handle kernel paging request at virtual address 0000ed9c [was Re: 2.6.9-rc4-mm1] Ramón Rey Vicente
2004-10-11 13:19 ` Tim Cambrant
2004-10-11 13:34 ` Ramón Rey Vicente
2004-10-11 13:43 ` 2.6.9-rc4-mm1 Jack Byer
2004-10-11 21:58 ` 2.6.9-rc4-mm1 Andrew Morton
2004-10-11 22:10 ` 2.6.9-rc4-mm1 Tom Rini
2004-10-11 23:14 ` 2.6.9-rc4-mm1 Thayne Harbaugh
2004-10-12 0:32 ` 2.6.9-rc4-mm1 Jack Byer
2004-10-11 14:22 ` 2.6.9-rc4-mm1 J.A. Magallon
2004-10-11 14:23 ` 2.6.9-rc4-mm1 Eyal Lebedinsky
2004-10-11 15:33 ` 2.6.9-rc4-mm1 [missing i2o patch in the main patch] syrius.ml
2004-10-11 15:47 ` 2.6.9-rc4-mm1 Zwane Mwaikambo
2004-10-11 15:49 ` 2.6.9-rc4-mm1 Andi Kleen
2004-10-11 15:58 ` 2.6.9-rc4-mm1 Zwane Mwaikambo
2004-10-11 16:01 ` 2.6.9-rc4-mm1 Andi Kleen
2004-10-11 19:55 ` 2.6.9-rc4-mm1 Andrew Morton
2004-10-11 21:52 ` 2.6.9-rc4-mm1 Andi Kleen
2004-10-12 14:24 ` 2.6.9-rc4-mm1 Zwane Mwaikambo
2004-10-11 16:08 ` 2.6.9-rc4-mm1 Jeff Garzik
2004-10-11 22:38 ` 2.6.9-rc4-mm1 Lee Revell
2004-10-11 17:57 ` 2.6.9-rc4-mm1 (compile stats) John Cherry
2004-10-11 18:51 ` 2.6.9-rc4-mm1 Brice Goglin
2004-10-11 20:18 ` 2.6.9-rc4-mm1 Adrian Bunk
2004-10-11 20:15 ` Adrian Bunk [this message]
2004-10-12 14:25 ` [patch] 2.6.9-rc4-mm1: USB compile error with PROC_FS=n Adrian Bunk
2004-10-12 16:34 ` Greg KH
2004-10-12 16:36 ` Greg KH
2004-10-12 18:49 ` 2.6.9-rc4-mm1: CRASH_DUMP " Adrian Bunk
2004-10-13 14:30 ` Hariprasad Nellitheertha
2004-10-13 7:42 ` 2.6.9-rc4-mm1 Wen-chien Jesse Sung
2004-10-13 8:16 ` 2.6.9-rc4-mm1 Hideo AOKI
2004-10-13 13:07 ` 2.6.9-rc4-mm1 Jesse Stockall
2004-10-13 13:19 ` 2.6.9-rc4-mm1 Mathieu Segaud
2004-10-13 13:34 ` 2.6.9-rc4-mm1 Jesse Stockall
2004-10-13 17:27 ` 2.6.9-rc4-mm1 Peter Adebahr
2004-10-14 4:42 ` 2.6.9-rc4-mm1 Hiroyuki KAMEZAWA
2004-10-14 4:50 ` 2.6.9-rc4-mm1 Andrew Morton
2004-10-14 5:23 ` 2.6.9-rc4-mm1 Hiroyuki KAMEZAWA
2004-10-14 17:50 ` 2.6.9-rc4-mm1 Christian Borntraeger
2004-10-15 7:08 ` 2.6.9-rc4-mm1 J.A. Magallon
2004-10-15 16:47 ` 2.6.9-rc4-mm1 Lee Revell
2004-10-17 16:15 ` 2.6.9-rc4-mm1: initramfs build fix Martin Waitz
2004-10-17 17:29 ` 2.6.9-rc4-mm1: initramfs build fix [u] Martin Schlemmer [c]
2004-10-17 21:33 ` Sam Ravnborg
2004-10-17 20:12 ` Martin Schlemmer [c]
2004-10-18 19:26 ` Martin Schlemmer [c]
2004-10-20 12:09 ` [patch] 2.6.9-rc4-mm1: compile error with BLK_DEV_IDEDMA=n Adrian Bunk
2004-10-20 14:08 ` Bartlomiej Zolnierkiewicz
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=20041011201533.GB1892@stusta.de \
--to=bunk@stusta.de \
--cc=akpm@osdl.org \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@suse.cz \
--cc=tiwai@suse.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox