Messages in this thread | | | Date | Sun, 16 Mar 2003 20:10:13 +0100 | From | Adrian Bunk <> | Subject | 2.5.64-mm8: link error with CONFIG_NUMA and !CONFIG_SMP |
| |
I get many errors at the final linking when compiling a kernel with CONFIG_NUMA enabled but CONFIG_SMP disabled:
<-- snip -->
... /home/bunk/linux/kernel-2.5/linux-2.5.64-mm8/include/asm/topology.h:41: undefined reference to `cpu_2_node' ...
<-- snip -->
the problem is that include/asm-i386/topology.h says:
<-- snip -->
... #ifdef CONFIG_NUMA ... extern volatile int cpu_2_node[]; ...
<-- snip -->
but cpu_2_node is in arch/i386/kernel/smpboot.c that only gets included with CONFIG_SMP.
cu Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed
- 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/
| |