`smp_num_cpus' undeclared in 2.4.3

From: Jaswinder Singh (jaswinder.singh@3disystems.com)
Date: Tue May 08 2001 - 17:41:18 EST


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.


- 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/



This archive was generated by hypermail 2b29 : Tue May 15 2001 - 21:00:14 EST