lkml.org 
[lkml]   [2002]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.5.37 : compile failed with undefined reference to find_smp_config with SMP disabled
On Sat, Sep 21, 2002 at 11:59:42AM -0400, Alexis de Bernis wrote:

> This happens with the vanilla 2.5.37 kernel. More information available
> on demand.
>
> Note : I have even more undefined reference with APIC enabled (and even, even more
> with IO-APIC enabled).


The problem is that CONFIG_X86_FIND_SMP_CONFIG gets always enabled when you
enable APIC (CONFIG_X86_LOCAL_APIC).


--- linux-2.5-BKcurr/arch/i386/config.in.orig 2002-09-21 19:32:26.000000000 +0300
+++ linux-2.5-BKcurr/arch/i386/config.in 2002-09-21 19:33:00.000000000 +0300
@@ -440,7 +440,9 @@

if [ "$CONFIG_X86_LOCAL_APIC" = "y" ]; then
define_bool CONFIG_X86_EXTRA_IRQS y
- define_bool CONFIG_X86_FIND_SMP_CONFIG y
+ if [ "$CONFIG_SMP" = "y" ]; then
+ define_bool CONFIG_X86_FIND_SMP_CONFIG y
+ fi
fi

endmenu

--
Dan Aloni
da-x@gmx.net
-
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:29    [W:1.046 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site