lkml.org 
[lkml]   [2000]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.2.18pre2 compilation failure
In article <87zolqt7ex.fsf@tsumakin.woot.au> you wrote:
> This came up today.

[snip]
> /usr/src/linux/include/linux/kernel_stat.h: In function `kstat_irqs':
> /usr/src/linux/include/linux/kernel_stat.h:47: `smp_num_cpus' undeclared (first use in this function)
> /usr/src/linux/include/linux/kernel_stat.h:47: (Each undeclared identifier is reported only once
> /usr/src/linux/include/linux/kernel_stat.h:47: for each function it appears in.)make[3]: *** [ksyms.o] Error 1

Hi,

This is caused by you changing from UP to SMP without "make mrproper".
This is a (so far unfixed) bug in the 2.2 build system.
So the solution is to copy the .config to a safe place, type "make
mrproper", copy the .config back and then type "make oldconfig".
If you see more things that don't compile, try the patch at
http://www.fenrus.demon.nl/2.2.18/compile.diff
to see if that fixes it.

Greetings,
Arjan van de Ven
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.043 / U:39.304 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site