lkml.org 
[lkml]   [1999]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectLinux 2.2.4 Symmetric multi-processing support compile failure
Any ideas what could be causing this??? I dont even have a multiple CPU
system, and if that option is off heres what i get. When its on,
kernel compiles fine..



lunar# make bzImage
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-2.2.4/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.2.4/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:23,
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:68: 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:23,
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:68: 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:74: 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:76: 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-2.2.4/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.4/kernel'
make: *** [_dir_kernel] Error 2
lunar#


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

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.053 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site