Messages in this thread | | | Date | Wed, 10 Apr 2002 13:37:37 +0200 | From | Todor Todorov <> | Subject | Re: 2.5.8-pre3 linking error |
| |
Udo A. Steinberg wrote:
>Hi, > >2.5.8-pre3 fails to link here: > >init/main.o: In function `start_kernel': >init/main.o(.text.init+0x681): undefined reference to `setup_per_cpu_areas' > >-Udo. >- >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/ > As you could see a few lines above setup_per_cpu_areas gets defined only of CONFIG_SMP is set. So find the line in the function start_kernel in init/main.c ( about line #320 IIRC ) where setup_per_cpu_areas gets called and put #ifdef CONFIG_SMP and #endif around it.
Cheers, Todor
- 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/
| |