* 2.5.11 SMP, APIC, build breaks
@ 2002-04-29 17:15 blitzkrieg
2002-04-30 7:51 ` Zwane Mwaikambo
0 siblings, 1 reply; 2+ messages in thread
From: blitzkrieg @ 2002-04-29 17:15 UTC (permalink / raw)
To: linux-kernel
HI,
I was trying to compile 2.5.11, I noticed that if
# CONFIG_SMP is not set
and
# CONFIG_X86_LOCAL_APIC is not set
# CONFIG_X86_IO_APIC is not set
the build breaks with the following errors
arch/i386/kernel/kernel.o: In function `intel_thermal_interrupt':
arch/i386/kernel/kernel.o(.text+0x7271): undefined reference to `ack_APIC_irq'
arch/i386/kernel/kernel.o: In function `intel_init_thermal':
arch/i386/kernel/kernel.o(.text.init+0x2ad2): undefined reference to `apic_read'
arch/i386/kernel/kernel.o(.text.init+0x2b12): undefined reference to `apic_write_around'
arch/i386/kernel/kernel.o(.text.init+0x2b31): undefined reference to `apic_read'
arch/i386/kernel/kernel.o(.text.init+0x2b41): undefined reference to `apic_write_around'
make: *** [vmlinux] Error 1
moreover, all works fine if
CONFIG_SMP= y
or
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
I have a single processor machine (Celeron (Mendocino)) and, yes, I
did 'make mrproper'
bye bye
-b
--
head --lines=4 $HOME/.signature
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.5.11 SMP, APIC, build breaks
2002-04-29 17:15 2.5.11 SMP, APIC, build breaks blitzkrieg
@ 2002-04-30 7:51 ` Zwane Mwaikambo
0 siblings, 0 replies; 2+ messages in thread
From: Zwane Mwaikambo @ 2002-04-30 7:51 UTC (permalink / raw)
To: blitzkrieg; +Cc: linux-kernel
On Mon, 29 Apr 2002, blitzkrieg wrote:
> HI,
> I was trying to compile 2.5.11, I noticed that if
> # CONFIG_SMP is not set
>
> and
>
> # CONFIG_X86_LOCAL_APIC is not set
> # CONFIG_X86_IO_APIC is not set
Basically, that code needs CONFIG_X86_LOCAL_APIC, which is set for SMP or
Local-APIC on UP (no IOAPIC needed). -dj has the following which fixes
that dependancy.
dep_bool 'check for P4 thermal throttling interrupt.' \
CONFIG_X86_MCE_P4THERMAL $CONFIG_X86_MCE $CONFIG_X86_LOCAL_APIC
It'll get fixed when that stuff gets merged from -dj (where it originates
from). For now simply enabling CONFIG_X86_LOCAL_APIC should suffice.
Thanks,
Zwane Mwaikambo
--
http://function.linuxpower.ca
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-30 8:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-29 17:15 2.5.11 SMP, APIC, build breaks blitzkrieg
2002-04-30 7:51 ` Zwane Mwaikambo
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®