mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.5.47-ac5:undefined reference to `boot_gdt_table'
@ 2002-11-16  8:40 Gregoire Favre
  0 siblings, 0 replies; 3+ messages in thread
From: Gregoire Favre @ 2002-11-16  8:40 UTC (permalink / raw)
  To: linux-kernel

Hello,

I can't compil it:

  	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+0x15a5): In function `gdt_48':
: undefined reference to `boot_gdt_table'
make: *** [.tmp_vmlinux1] Error 1

Should I provide other infos?
Sorry if that was already reported and I didn't notice it...

	Grégoire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:greg@ulima.unil.ch

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re:  2.5.47-ac5:undefined reference to `boot_gdt_table'
@ 2002-11-16 15:26 J.E.J. Bottomley
  2002-11-16 21:30 ` Samuli Suonpaa
  0 siblings, 1 reply; 3+ messages in thread
From: J.E.J. Bottomley @ 2002-11-16 15:26 UTC (permalink / raw)
  To: Gregoire Favre; +Cc: linux-kernel, Alan Cox

>   	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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-11-16 21:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-16  8:40 2.5.47-ac5:undefined reference to `boot_gdt_table' Gregoire Favre
2002-11-16 15:26 J.E.J. Bottomley
2002-11-16 21:30 ` Samuli Suonpaa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®