Re: [BUG] 2.5.47-ac1 fails linking

Dave Jones (davej@codemonkey.org.uk)
Wed, 13 Nov 2002 13:00:36 +0000


On Wed, Nov 13, 2002 at 07:32:04AM -0500, Bill Davidsen wrote:
> arch/i386/kernel/built-in.o: In function `identify_cpu':
> arch/i386/kernel/built-in.o(.init.text+0x25f4): undefined reference to `mcheck_init'
> arch/i386/kernel/built-in.o: In function `gdt_48':
> arch/i386/kernel/built-in.o(.data+0x15b5): undefined reference to `boot_gdt_table'

Easy one. Alan, there's some detritus left hanging around in
arch/i386/kernel/cpu/common.c

The hunk at 319 needs to go..

Back out this bit..

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.2.5.47/arch/i386/kernel/cpu/common.c linux.2.5.47-ac2/arch/i386/kernel/cpu/common.c
--- linux.2.5.47/arch/i386/kernel/cpu/common.c 2002-11-11 16:39:08.000000000 +0000
+++ linux.2.5.47-ac2/arch/i386/kernel/cpu/common.c 2002-11-05 15:57:59.000000000 +0000
@@ -319,6 +315,9 @@
clear_bit(X86_FEATURE_XMM, c->x86_capability);
}

+ /* Init Machine Check Exception if available. */
+ mcheck_init(c);
+
/* If the model name is still unset, do table lookup. */
if ( !c->x86_model_id[0] ) {
char *p;

(Hand-pasted, so may not apply)

Dave

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/