public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: smp or die ??!?!
  2001-03-16 13:52 smp or die ??!?! Delfim Machado
@ 2001-03-16  5:04 ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2001-03-16  5:04 UTC (permalink / raw)
  To: Delfim Machado; +Cc: linux-kernel

Em Fri, Mar 16, 2001 at 01:52:01PM +0000, Delfim Machado escreveu:
> hi,
> 
> i'm trying to compile my single cpu without the smp and it gives me a 
> long compile errors ...
> 
> with the smp enable, i can compile all the kernel without any problems

make mrproper

?

- Arnaldo

^ permalink raw reply	[flat|nested] 2+ messages in thread

* smp or die ??!?!
@ 2001-03-16 13:52 Delfim Machado
  2001-03-16  5:04 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 2+ messages in thread
From: Delfim Machado @ 2001-03-16 13:52 UTC (permalink / raw)
  To: linux-kernel

hi,

i'm trying to compile my single cpu without the smp and it gives me a 
long compile errors ...

with the smp enable, i can compile all the kernel without any problems

KERNEL : 2.4.2 without any AC patch (hehhe)
CPU: PIII

<FLOOD>
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -march=i686  -DUTS_MACHINE='"i386"' -c -o 
init/version.o init/version.c
make CFLAGS="-D__KERNEL__ -I/usr/src/linux/include -Wall 
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -march=i686 " -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 -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -march=i686    -DEXPORT_SYMTAB -c ksyms.c
In file included from /usr/src/linux/include/linux/modversions.h:94,
                from /usr/src/linux/include/linux/module.h:21,
                from ksyms.c:14:
/usr/src/linux/include/linux/modules/i386_ksyms.ver:76:25: warning: 
"cpu_data" redefined
/usr/src/linux/include/asm/processor.h:78:1: warning: this is the 
location of the previous definition
/usr/src/linux/include/linux/modules/i386_ksyms.ver:80:25: warning: 
"smp_num_cpus" redefined
/usr/src/linux/include/linux/smp.h:80:1: warning: this is the location 
of the previous definition
/usr/src/linux/include/linux/modules/i386_ksyms.ver:82:25: warning: 
"cpu_online_map" redefined
/usr/src/linux/include/linux/smp.h:88:1: warning: this is the location 
of the previous definition
/usr/src/linux/include/linux/modules/i386_ksyms.ver:96:33: warning: 
"smp_call_function" redefined
/usr/src/linux/include/linux/smp.h:87:1: warning: this is the location 
of the previous definition
In file included from /usr/src/linux/include/linux/modversions.h:118,
                from /usr/src/linux/include/linux/module.h:21,
                from ksyms.c:14:
/usr/src/linux/include/linux/modules/ksyms.ver:506:25: warning: 
"del_timer_sync" redefined
/usr/src/linux/include/linux/timer.h:34:1: warning: this is the location 
of the previous definition
In file included from /usr/src/linux/include/linux/interrupt.h:45,
                from ksyms.c:21:
/usr/src/linux/include/asm/hardirq.h:37:24: warning: "synchronize_irq" 
redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:84:1: warning: this 
is the location of the previous definition
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:48: `smp_num_cpus' undeclared 
(first use in this function)
/usr/src/linux/include/linux/kernel_stat.h:48: (Each undeclared 
identifier is reported only once
/usr/src/linux/include/linux/kernel_stat.h:48: 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
</FLOOD>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-03-16 15:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-16 13:52 smp or die ??!?! Delfim Machado
2001-03-16  5:04 ` Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox