> Message: 10 > Date: Tue, 02 Aug 2005 09:31:24 -0700 > From: thewade <pdman@xxxxxxxxxxxxxxxx> > Subject: [linux-audio-user] __bad_spinlock_type build error > realtime-preempt-2.6.13-rc4-RT-V0.7.52-07 > To: Linux-Audio-User <linux-audio-user@xxxxxxxxxxxxxxxxxx> > Message-ID: <42EF9FDC.6070305@xxxxxxxxxxxxxxxx> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hello lau! > How have you been? GREAT! Glad to hear it! > Me? Well... > > I am trying to build the realtime-preempt 2.6.13-rc4-RT-V0.7.52-07 > kernel but I think a file is missing an include .h reference somewhere, > 'cause I keep getting: > > LD .tmp_vmlinux1 > net/built-in.o(.text+0x1d4dc): In function `rt_check_expire': > : undefined reference to `__bad_spinlock_type' > net/built-in.o(.text+0x1d4fe): In function `rt_check_expire': > : undefined reference to `__bad_spinlock_type' > net/built-in.o(.text+0x1d5e1): In function `rt_run_flush': > : undefined reference to `__bad_spinlock_type' > net/built-in.o(.text+0x1d5f9): In function `rt_run_flush': > : undefined reference to `__bad_spinlock_type' > net/built-in.o(.text+0x1d862): In function `rt_garbage_collect': > : undefined reference to `__bad_spinlock_type' > net/built-in.o(.text+0x1d890): more undefined references to > `__bad_spinlock_type' follow > make: *** [.tmp_vmlinux1] Error 1 > > My machine is a p3 dell laptop running Fedora Core 3. > Thank you Lau for any help you can offer, and the steamy night we shared > out behind that Perkins last friday. > > With love, > -thewade I remember seeing the same error message, and a solution on LKML... Ah, here it is: "Newsgroups: linux.kernel Date: Mon, 01 Aug 2005 01:00:13 +0200 You can resolve it if you enable SMP . Daniel On Mon, 2005-08-01 at 08:18 +1000, Shayne O'Connor wrote: > trying to compile 2.6.13.rc4 with ingo's RT patch > (realtime-preempt-2.6.13-rc4-RT-V0.7.52-07) but keep getting this error > near the end of compilation: > > GEN .version > CHK include/linux/compile.h > UPD include/linux/compile.h > CC init/version.o > LD init/built-in.o > LD .tmp_vmlinux1 > net/built-in.o(.text+0x2220c): In function `rt_check_expire': > : undefined reference to `__bad_spinlock_type' > net/built-in.o(.text+0x2222e): In function `rt_check_expire': > : undefined reference to `__bad_spinlock_type' > net/built-in.o(.text+0x22321): In function `rt_run_flush': > : undefined reference to `__bad_spinlock_type' > net/built-in.o(.text+0x22339): In function `rt_run_flush': > : undefined reference to `__bad_spinlock_type' > net/built-in.o(.text+0x22593): In function `rt_garbage_collect': > : undefined reference to `__bad_spinlock_type' > net/built-in.o(.text+0x225c1): more undefined references to > `__bad_spinlock_type' follow > make: *** [.tmp_vmlinux1] Error 1 > [mrmachine@localhost linux-2.6.12]$ > > > i am trying to compile it with PREEMPT_DESKTOP .... > > > (please CC me on any replies!) > > > shayne > -" PS: I though we'd agreed to keep quiet about last friday? You know how jealous alsa-user can get.