2.4.19-rc3-ac5 UP compile error

From: mbs (mbs@mc.com)
Date: Wed Aug 07 2002 - 09:00:20 EST


when compiling for SMP no problems, but when compiling for UP using same
.config with only change being UP instead of SMP I get the following error:

686 -nostdinc -I /usr/lib/gcc-lib/i386-redhat-linux/2.96/include
 -DKBUILD_BASENAME=ksyms -DEXPORT_SYMTAB -c ksyms.c In file included from
 ksyms.c:18:
/usr/src/linux/include/linux/kernel_stat.h: In function `kstat_irqs':
/usr/src/linux/include/linux/kernel_stat.h:46: `smp_num_cpus' undeclared
 (first use in this function) /usr/src/linux/include/linux/kernel_stat.h:46:
 (Each undeclared identifier is reported only once
 /usr/src/linux/include/linux/kernel_stat.h:46: for each function it appears
 in.) make[2]: *** [ksyms.o] Error 1
make[2]: Leaving directory `/usr/src/linux/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux/kernel'
make: *** [_dir_kernel] Error 2

-- 
/**************************************************
**   Mark Salisbury       ||      mbs@mc.com     **
** If you would like to sponsor me for the       **
** Mass Getaway, a 150 mile bicycle ride to for  **
** MS, contact me to donate by cash or check or  **
** click the link below to donate by credit card **
**************************************************/
https://www.nationalmssociety.org/pledge/pledge.asp?participantid=86736
-
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 : Wed Aug 07 2002 - 22:00:36 EST