If I start by unpacking the original tar distribution and never
configure an SMP version, it works OK.
-lda
----
# make dep clean bzImage
[ ... ]
rm -f .tmp*
rm -f drivers/char/consolemap_deftbl.c drivers/video/promcon_tbl.c
rm -f drivers/char/conmakehash
rm -f drivers/sound/bin2hex drivers/sound/hex2hex
if [ -d modules ]; then \
rm -f core `find modules/ -type f -print`; \
fi
rm -f submenu*
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o init/main.o init/main.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c
make -C kernel
make[1]: Entering directory `/usr/src/linux/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux/kernel'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DEXPORT_SYMTAB -c signal.c
In file included from /usr/src/linux/include/linux/modversions.h:17,
from /usr/src/linux/include/linux/module.h:19,
from signal.c:10:
/usr/src/linux/include/linux/modules/i386_ksyms.ver:58: warning: `cpu_data' redefined
/usr/src/linux/include/asm/processor.h:95: warning: this is the location of the previous definition
/usr/src/linux/include/linux/modules/i386_ksyms.ver:66: warning: `smp_num_cpus' redefined
/usr/src/linux/include/linux/smp.h:71: warning: this is the location of the previous definition
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DEXPORT_SYMTAB -c ksyms.c
In file included from /usr/src/linux/include/linux/modversions.h:17,
from /usr/src/linux/include/linux/module.h:19,
from ksyms.c:14:
/usr/src/linux/include/linux/modules/i386_ksyms.ver:58: warning: `cpu_data' redefined
/usr/src/linux/include/asm/processor.h:95: warning: this is the location of the previous definition
/usr/src/linux/include/linux/modules/i386_ksyms.ver:66: warning: `smp_num_cpus' redefined
/usr/src/linux/include/linux/smp.h:71: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/interrupt.h:50,
from ksyms.c:21:
/usr/src/linux/include/asm/hardirq.h:23: warning: `synchronize_irq' redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:68: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/interrupt.h:51,
from ksyms.c:21:
/usr/src/linux/include/asm/softirq.h:90: warning: `synchronize_bh' redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:70: warning: this is the location of the previous definition
/usr/src/linux/include/linux/kernel_stat.h: In function `kstat_irqs':
In file included from ksyms.c:17:
/usr/src/linux/include/linux/kernel_stat.h:44: `smp_num_cpus' undeclared (first use this function)
/usr/src/linux/include/linux/kernel_stat.h:44: (Each undeclared identifier is reported only once
/usr/src/linux/include/linux/kernel_stat.h:44: 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/