All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: 2.5.22 compile problems
  2002-06-17 10:59 2.5.22 compile problems Hanno Böck
@ 2002-06-17 10:50 ` Zwane Mwaikambo
  2002-06-17 11:11 ` Morten Helgesen
  2002-06-17 11:55 ` [PATCH][2.5] Make SMP/APIC config option earlier Zwane Mwaikambo
  2 siblings, 0 replies; 4+ messages in thread
From: Zwane Mwaikambo @ 2002-06-17 10:50 UTC (permalink / raw)
  To: Hanno Böck; +Cc: linux-kernel

On Mon, 17 Jun 2002, Hanno Böck wrote:

> I tried to compile 2.5.22 and got the following errors:
> 
> arch/i386/kernel/kernel.o(.text.init+0x1450): undefined reference to `apic_read'
> arch/i386/kernel/kernel.o(.text.init+0x149b): undefined reference to `apic_write_around'
> arch/i386/kernel/kernel.o(.text.init+0x14cd): undefined reference to `apic_read'
> arch/i386/kernel/kernel.o(.text.init+0x14e0): undefined reference to `apic_write_around'
> make: *** [vmlinux] Fehler 1

Thanks, I'll look into that.

> I have tried kernels 2.5.18, 2.5.20, 2.5.21 and 2.5.22 and I always had compile problems. Can't someone test the kernel-source with all options activated before it is released?
> I think it doesn't matter if this happens sometimes in the 2.5-series, but it should not become usual.

Well this particular one would actually 'go away' with all options set, so 
you can't win em all.

Cheers,
	Zwane
-- 
http://function.linuxpower.ca
		


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

* 2.5.22 compile problems
@ 2002-06-17 10:59 Hanno Böck
  2002-06-17 10:50 ` Zwane Mwaikambo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hanno Böck @ 2002-06-17 10:59 UTC (permalink / raw)
  To: linux-kernel

I tried to compile 2.5.22 and got the following errors:

   ld -m elf_i386  -r -o init.o main.o version.o do_mounts.o
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/linux-2.5.22/init«
  ld -m elf_i386 -T /usr/src/linux-2.5.22/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/init.o --start-group arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o /usr/src/linux-2.5.22/arch/i386/lib/lib.a lib/lib.a /usr/src/linux-2.5.22/arch/i386/lib/lib.a drivers/built-in.o sound/sound.o arch/i386/pci/pci.o net/network.o --end-group -o vmlinux
arch/i386/kernel/kernel.o: In function `intel_thermal_interrupt':
arch/i386/kernel/kernel.o(.text+0x7821): undefined reference to `ack_APIC_irq'
arch/i386/kernel/kernel.o: In function `intel_init_thermal':
arch/i386/kernel/kernel.o(.text.init+0x1450): undefined reference to `apic_read'
arch/i386/kernel/kernel.o(.text.init+0x149b): undefined reference to `apic_write_around'
arch/i386/kernel/kernel.o(.text.init+0x14cd): undefined reference to `apic_read'
arch/i386/kernel/kernel.o(.text.init+0x14e0): undefined reference to `apic_write_around'
make: *** [vmlinux] Fehler 1



I have tried kernels 2.5.18, 2.5.20, 2.5.21 and 2.5.22 and I always had compile problems. Can't someone test the kernel-source with all options activated before it is released?
I think it doesn't matter if this happens sometimes in the 2.5-series, but it should not become usual.

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

* Re: 2.5.22 compile problems
  2002-06-17 10:59 2.5.22 compile problems Hanno Böck
  2002-06-17 10:50 ` Zwane Mwaikambo
@ 2002-06-17 11:11 ` Morten Helgesen
  2002-06-17 11:55 ` [PATCH][2.5] Make SMP/APIC config option earlier Zwane Mwaikambo
  2 siblings, 0 replies; 4+ messages in thread
From: Morten Helgesen @ 2002-06-17 11:11 UTC (permalink / raw)
  To: Hanno Böck; +Cc: linux-kernel

enable APIC support ... the intel thermal stuff depends on it.

On Mon, Jun 17, 2002 at 12:59:05PM +0200, Hanno B?ck wrote:
> I tried to compile 2.5.22 and got the following errors:
> 
>    ld -m elf_i386  -r -o init.o main.o version.o do_mounts.o
> make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/linux-2.5.22/init«
>   ld -m elf_i386 -T /usr/src/linux-2.5.22/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/init.o --start-group arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o /usr/src/linux-2.5.22/arch/i386/lib/lib.a lib/lib.a /usr/src/linux-2.5.22/arch/i386/lib/lib.a drivers/built-in.o sound/sound.o arch/i386/pci/pci.o net/network.o --end-group -o vmlinux
> arch/i386/kernel/kernel.o: In function `intel_thermal_interrupt':
> arch/i386/kernel/kernel.o(.text+0x7821): undefined reference to `ack_APIC_irq'
> arch/i386/kernel/kernel.o: In function `intel_init_thermal':
> arch/i386/kernel/kernel.o(.text.init+0x1450): undefined reference to `apic_read'
> arch/i386/kernel/kernel.o(.text.init+0x149b): undefined reference to `apic_write_around'
> arch/i386/kernel/kernel.o(.text.init+0x14cd): undefined reference to `apic_read'
> arch/i386/kernel/kernel.o(.text.init+0x14e0): undefined reference to `apic_write_around'
> make: *** [vmlinux] Fehler 1
> 
> 
> 
> I have tried kernels 2.5.18, 2.5.20, 2.5.21 and 2.5.22 and I always had compile problems. Can't someone test the kernel-source with all options activated before it is released?
> I think it doesn't matter if this happens sometimes in the 2.5-series, but it should not become usual.
> -
> 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/

-- 

"Livet er ikke for nybegynnere" - sitat fra en klok person.

mvh
Morten Helgesen 
UNIX System Administrator & C Developer 
Nextframe AS
admin@nextframe.net / 93445641
http://www.nextframe.net

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

* [PATCH][2.5] Make SMP/APIC config option earlier
  2002-06-17 10:59 2.5.22 compile problems Hanno Böck
  2002-06-17 10:50 ` Zwane Mwaikambo
  2002-06-17 11:11 ` Morten Helgesen
@ 2002-06-17 11:55 ` Zwane Mwaikambo
  2 siblings, 0 replies; 4+ messages in thread
From: Zwane Mwaikambo @ 2002-06-17 11:55 UTC (permalink / raw)
  To: Hanno Böck; +Cc: Linux Kernel, Linus Torvalds, Keith Owens

Patch to reorder the APIC configuration so that dependencies are 
determined beforehand for MCE. Keith Owens pointed this out a whiles back 
actually.

Please apply,
	Zwane

--- linux-2.5.22-mk/arch/i386/config.in.orig	Mon Jun 17 13:55:08 2002
+++ linux-2.5.22-mk/arch/i386/config.in	Mon Jun 17 14:03:16 2002
@@ -153,9 +153,24 @@
    define_bool CONFIG_X86_OOSTORE y
 fi
 
+bool 'Symmetric multi-processing support' CONFIG_SMP
+bool 'Preemptible Kernel' CONFIG_PREEMPT
+if [ "$CONFIG_SMP" != "y" ]; then
+   bool 'Local APIC support on uniprocessors' CONFIG_X86_UP_APIC
+   dep_bool 'IO-APIC support on uniprocessors' CONFIG_X86_UP_IOAPIC $CONFIG_X86_UP_APIC
+   if [ "$CONFIG_X86_UP_APIC" = "y" ]; then
+      define_bool CONFIG_X86_LOCAL_APIC y
+   fi
+   if [ "$CONFIG_X86_UP_IOAPIC" = "y" ]; then
+      define_bool CONFIG_X86_IO_APIC y
+   fi
+else
+   bool 'Multiquad NUMA system' CONFIG_MULTIQUAD
+fi
+
 bool 'Machine Check Exception' CONFIG_X86_MCE
 dep_bool 'Check for non-fatal errors on Athlon/Duron' CONFIG_X86_MCE_NONFATAL $CONFIG_X86_MCE
-dep_bool 'check for P4 thermal throttling interrupt.' CONFIG_X86_MCE_P4THERMAL $CONFIG_X86_MCE $CONFIG_X86_LOCAL_APIC
+dep_bool 'check for P4 thermal throttling interrupt.' CONFIG_X86_MCE_P4THERMAL $CONFIG_X86_MCE $CONFIG_X86_UP_APIC
 
 
 tristate 'Toshiba Laptop support' CONFIG_TOSHIBA
@@ -185,20 +200,6 @@
 
 bool 'Math emulation' CONFIG_MATH_EMULATION
 bool 'MTRR (Memory Type Range Register) support' CONFIG_MTRR
-bool 'Symmetric multi-processing support' CONFIG_SMP
-bool 'Preemptible Kernel' CONFIG_PREEMPT
-if [ "$CONFIG_SMP" != "y" ]; then
-   bool 'Local APIC support on uniprocessors' CONFIG_X86_UP_APIC
-   dep_bool 'IO-APIC support on uniprocessors' CONFIG_X86_UP_IOAPIC $CONFIG_X86_UP_APIC
-   if [ "$CONFIG_X86_UP_APIC" = "y" ]; then
-      define_bool CONFIG_X86_LOCAL_APIC y
-   fi
-   if [ "$CONFIG_X86_UP_IOAPIC" = "y" ]; then
-      define_bool CONFIG_X86_IO_APIC y
-   fi
-else
-   bool 'Multiquad NUMA system' CONFIG_MULTIQUAD
-fi
 
 if [ "$CONFIG_SMP" = "y" -o "$CONFIG_PREEMPT" = "y" ]; then
    if [ "$CONFIG_X86_CMPXCHG" = "y" ]; then

		


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

end of thread, other threads:[~2002-06-17 12:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-17 10:59 2.5.22 compile problems Hanno Böck
2002-06-17 10:50 ` Zwane Mwaikambo
2002-06-17 11:11 ` Morten Helgesen
2002-06-17 11:55 ` [PATCH][2.5] Make SMP/APIC config option earlier Zwane Mwaikambo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.