Re: 2.5.47-ac5:undefined reference to `boot_gdt_table'

From: J.E.J. Bottomley (James.Bottomley@steeleye.com)
Date: Sat Nov 16 2002 - 10:26:36 EST


> ld -m elf_i386 -e stext -T arch/i386/vmlinux.lds.s arch/i386/kernel/
> head.o \ arch/i386/kernel/init_task.o init/built-in.o --start-group
> usr/built-in.o \ arch/i386/kernel/built-in.o arch/i386/mm/built-in.o
> \ arch/i386/mach-generic/built-in.o kernel/built-in.o mm/built-in.o
> fs/built-in.o \ ipc/built-in.o security/built-in.o crypto/
> built-in.o drivers/built-in.o \ sound/built-in.o arch/i386/pci/
> built-in.o net/built-in.o lib/lib.a \ arch/i386/lib/lib.a
> --end-group -o .tmp_vmlinux1 \ arch/i386/kernel/built-in.o(.data+0x15a
> 5): In function `gdt_48': : undefined \
> reference to `boot_gdt_table' make: ***
> [.tmp_vmlinux1] Error 1

I think this is because -ac5 has X86_TRAMPOLINE dependent on X86_LOCAL_APIC.
If you change

config X86_TRAMPOLINE
        bool
        depends on SMP || (VOYAGER && SMP) || X86_LOCAL_APIC

to

        depends on SMP

in arch/i386/Kconfig

does this fix the problem?

Alan: I'm just getting -ac5 up and running on voyager now, so I'll send in
this as part of the rebased patches.

James

-
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/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:17 EST