2002-08-07 13:50:39

by mbs

[permalink] [raw]
Subject: 2.4.19-rc3-ac5 UP compile error


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 || [email protected] **
** 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