lkml.org 
[lkml]   [2000]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectsmp_num_cpus undeclared compile error in 2.4.0-test8
Date
Hi,

I found a bug on the 2.4.0-test8 release:

I was not able to build linux-2.4.0-test8 on my dual PIII box if I did NOT choose the "smp support".

Here is the compile error message:

/usr/src/linux/include/linux/kernel_stat.h:48: `smp_num_cpus' undeclared (first use in this function)
/usr/src/linux/include/linux/kernel_stat.h:48: (Each undeclared identifier is reported only once
/usr/src/linux/include/linux/kernel_stat.h:48: for each function it appears in.)

I think the simple fix is to check "#ifdef CONFIG_SMP" in this kstat_irq(int) routine.

I could compile the code just fine if I choose the "smp support".

Best regards,

Hao Xu
---------------------------------------------
Email: xuhao@cs.pdx.edu
Xu Hao homepage: http://www.cs.pdx.edu/~xuhao
-
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.032 / U:1.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site