Skip to contentSkip to conversation

`smp_num_cpus' undeclared in 2.4.3

DISCUSSION Jaswinder Singh 1 participant 1 message May 8, 2001

lore
Share & tools
lore
#0 lore raw

Dear linux-kernel mailing list,

I am trying to build 2.4.3 for Intel machine .

But i am getting this error when i say no to 'CONFIG_SMP' :-

In file included from ksyms.c:17:
/usr/src/linux-2.4.3/include/linux/kernel_stat.h:48: `smp_num_cpus' undeclared (first use in this function) /usr/src/linux-2.4.3/include/linux/kernel_stat.h:48: (Each undeclared identifier is reported only once /usr/src/linux-2.4.3/include/linux/kernel_stat.h:48: for each function it appears in.)
make[2]: *** [ksyms.o] Error 1

but when i say yes to 'CONFIG_SMP' , there is no compilation error.

I am attaching autoconf.h for reference.

Thanks ,

Best Regards,

Jaswinder.
--
These are my opinions not 3Di.