lkml.org 
[lkml]   [1999]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.2.9 UP compile problem
No compile problem when compiling for SMP, but 
I get the following error when I compile for single processor:

gcc -D__KERNEL__ -I/usr/src/linux-2.2/include -Wall -Wstrict-prototypes -O2 -fom
it-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=
2 -malign-functions=2 -DCPU=686 -DEXPORT_SYMTAB -c signal.c
In file included from /usr/src/linux-2.2/include/linux/modversions.h:15,
from /usr/src/linux-2.2/include/linux/module.h:19,
from signal.c:10:
/usr/src/linux-2.2/include/linux/modules/i386_ksyms.ver:60: warning: `cpu_data'
redefined
/usr/src/linux-2.2/include/asm/processor.h:96: warning: this is the location of
the previous definition
/usr/src/linux-2.2/include/linux/modules/i386_ksyms.ver:70: warning: `smp_num_cp
us' redefined
/usr/src/linux-2.2/include/linux/smp.h:77: warning: this is the location of the
previous definition
/usr/src/linux-2.2/include/linux/modules/i386_ksyms.ver:94: warning: `smp_call_f
unction' redefined
/usr/src/linux-2.2/include/linux/smp.h:83: warning: this is the location of the
previous definition
gcc -D__KERNEL__ -I/usr/src/linux-2.2/include -Wall -Wstrict-prototypes -O2 -fom
it-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=
2 -malign-functions=2 -DCPU=686 -DEXPORT_SYMTAB -c ksyms.c
In file included from /usr/src/linux-2.2/include/linux/modversions.h:15,
from /usr/src/linux-2.2/include/linux/module.h:19,
from ksyms.c:14:
/usr/src/linux-2.2/include/linux/modules/i386_ksyms.ver:60: warning: `cpu_data'
redefined
/usr/src/linux-2.2/include/asm/processor.h:96: warning: this is the location of
the previous definition
/usr/src/linux-2.2/include/linux/modules/i386_ksyms.ver:70: warning: `smp_num_cp
us' redefined
/usr/src/linux-2.2/include/linux/smp.h:77: warning: this is the location of the
previous definition
/usr/src/linux-2.2/include/linux/modules/i386_ksyms.ver:94: warning: `smp_call_f
unction' redefined
/usr/src/linux-2.2/include/linux/smp.h:83: warning: this is the location of the
previous definition
In file included from /usr/src/linux-2.2/include/linux/interrupt.h:50,
from ksyms.c:21:
/usr/src/linux-2.2/include/asm/hardirq.h:23: warning: `synchronize_irq' redefine
d
/usr/src/linux-2.2/include/linux/modules/i386_ksyms.ver:76: warning: this is the
location of the previous definition
In file included from /usr/src/linux-2.2/include/linux/interrupt.h:51,
from ksyms.c:21:
/usr/src/linux-2.2/include/asm/softirq.h:90: warning: `synchronize_bh' redefined
gcc -D__KERNEL__ -I/usr/src/linux-2.2/include -Wall -Wstrict-prototypes -O2 -fom
it-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=
2 -malign-functions=2 -DCPU=686 -DEXPORT_SYMTAB -c signal.c
In file included from /usr/src/linux-2.2/include/linux/modversions.h:15,
from /usr/src/linux-2.2/include/linux/module.h:19,
from signal.c:10:
/usr/src/linux-2.2/include/linux/modules/i386_ksyms.ver:60: warning: `cpu_data'
redefined
/usr/src/linux-2.2/include/asm/processor.h:96: warning: this is the location of
the previous definition
/usr/src/linux-2.2/include/linux/modules/i386_ksyms.ver:70: warning: `smp_num_cp
us' redefined
/usr/src/linux-2.2/include/linux/smp.h:77: warning: this is the location of the
previous definition
/usr/src/linux-2.2/include/linux/modules/i386_ksyms.ver:94: warning: `smp_call_f
unction' redefined
/usr/src/linux-2.2/include/linux/smp.h:83: warning: this is the location of the
previous definition
gcc -D__KERNEL__ -I/usr/src/linux-2.2/include -Wall -Wstrict-prototypes -O2 -fom
it-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=
2 -malign-functions=2 -DCPU=686 -DEXPORT_SYMTAB -c ksyms.c
In file included from /usr/src/linux-2.2/include/linux/modversions.h:15,
from /usr/src/linux-2.2/include/linux/module.h:19,
from ksyms.c:14:
/usr/src/linux-2.2/include/linux/modules/i386_ksyms.ver:60: warning: `cpu_data'
redefined
/usr/src/linux-2.2/include/asm/processor.h:96: warning: this is the location of
the previous definition
/usr/src/linux-2.2/include/linux/modules/i386_ksyms.ver:70: warning: `smp_num_cp
us' redefined
/usr/src/linux-2.2/include/linux/smp.h:77: warning: this is the location of the
previous definition
/usr/src/linux-2.2/include/linux/modules/i386_ksyms.ver:94: warning: `smp_call_f
unction' redefined
/usr/src/linux-2.2/include/linux/smp.h:83: warning: this is the location of the
previous definition
In file included from /usr/src/linux-2.2/include/linux/interrupt.h:50,
from ksyms.c:21:
/usr/src/linux-2.2/include/asm/hardirq.h:23: warning: `synchronize_irq' redefine
d
/usr/src/linux-2.2/include/linux/modules/i386_ksyms.ver:76: warning: this is the
location of the previous definition
In file included from /usr/src/linux-2.2/include/linux/interrupt.h:51,
from ksyms.c:21:
/usr/src/linux-2.2/include/asm/softirq.h:90: warning: `synchronize_bh' redefined
/usr/src/linux-2.2/include/linux/modules/i386_ksyms.ver:78: warning: this is the
location of the previous definition
/usr/src/linux-2.2/include/linux/kernel_stat.h: In function `kstat_irqs':
In file included from ksyms.c:17:
/usr/src/linux-2.2/include/linux/kernel_stat.h:44: `smp_num_cpus' undeclared (fi
rst use this function)
/usr/src/linux-2.2/include/linux/kernel_stat.h:44: (Each undeclared identifier i
s reported only once
/usr/src/linux-2.2/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/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2/kernel'
make: *** [_dir_kernel] Error 2


Jiann-Ming Su "People seldom do what they believe in. They do
js1@microwave.ph.msstate.edu what is convenient, then repent." --Bob Dylan



-
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.036 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site