Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 67953

Summary: kernel linux-2.6.9-rc4-mm1 alsa sound/core/seq/seq_device.c: In function `snd_seq_device_register_driver' error.
Product: Gentoo Linux Reporter: Michael Evans <mjevans1983>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED UPSTREAM    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.ussg.iu.edu/hypermail/linux/kernel/0410.1/0867.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Evans 2004-10-17 16:44:47 UTC
I ran in to Exactly the same problem as the URL I linked during normal selections for my system.


They patched the .c file, however I decided to move the added line in to include/sound/seq_device.h .

(Paste from URL)

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@xxxxxxxxx>
 
 --- 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>
 
 -
 To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
 the body of a message to majordomo@xxxxxxxxxxxxxxx
 More majordomo info at http://vger.kernel.org/majordomo-info.html
 Please read the FAQ at http://www.tux.org/lkml/

(end Paste)

Reproducible: Always
Steps to Reproduce:

Actual Results:  
Kernel Build Fails 

Expected Results:  
Kernel Build Succeed 

http://www.ussg.iu.edu/hypermail/linux/kernel/0410.1/0867.html
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-10-18 09:56:07 UTC
We don't support the -mm kernel, sorry.  This is an upstream issue.