lkml.org 
[lkml]   [2002]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.171 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site