* kernel compile error
@ 2003-01-09 2:15 Rodrigo F. Baroni
2003-01-09 2:48 ` Joshua Kwan
2003-01-09 15:26 ` [SOLVED] " Rodrigo F. Baroni
0 siblings, 2 replies; 3+ messages in thread
From: Rodrigo F. Baroni @ 2003-01-09 2:15 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 501 bytes --]
Hello all,
There is a good time that I have trying to compile
a kernel in a pc 233 mhz (motherboard lmr 591 -
chipset sis, all-on-board), and so the follow error
below happen.
Does anybody knows what is going on please ?!
(it's a 2.4.18 kernel in a debian 3)
Rodrigo F Baroni
Computer Science Grad Student
_______________________________________________________________________
Busca Yahoo!
O melhor lugar para encontrar tudo o que você procura na Internet
http://br.busca.yahoo.com/
[-- Attachment #2: kernel_log.txt --]
[-- Type: text/plain, Size: 3284 bytes --]
make[2]: Entering directory `/usr/src/kernel-source-2.4.18/kernel'
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.18/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pi
pe -mpreferred-stack-boundary=2 -march=i586 -DKBUILD_BASENAME=ksyms -DEXPORT_SYMTAB -c ksyms.c
In file included from /usr/src/kernel-source-2.4.18/include/linux/modversions.h:64,
from /usr/src/kernel-source-2.4.18/include/linux/module.h:21,
from ksyms.c:14:
/usr/src/kernel-source-2.4.18/include/linux/modules/dec_and_lock.ver:2: warning: `atomic_dec_and_lock' redefined
/usr/src/kernel-source-2.4.18/include/linux/spinlock.h:48: warning: this is the location of the previous definition
In file included from /usr/src/kernel-source-2.4.18/include/linux/modversions.h:117,
from /usr/src/kernel-source-2.4.18/include/linux/module.h:21,
from ksyms.c:14:
/usr/src/kernel-source-2.4.18/include/linux/modules/i386_ksyms.ver:84: warning: `cpu_data' redefined
/usr/src/kernel-source-2.4.18/include/asm/processor.h:79: warning: this is the location of the previous definition
/usr/src/kernel-source-2.4.18/include/linux/modules/i386_ksyms.ver:88: warning: `smp_num_cpus' redefined
/usr/src/kernel-source-2.4.18/include/linux/smp.h:80: warning: this is the location of the previous definition
/usr/src/kernel-source-2.4.18/include/linux/modules/i386_ksyms.ver:90: warning: `cpu_online_map' redefined
/usr/src/kernel-source-2.4.18/include/linux/smp.h:88: warning: this is the location of the previous definition
/usr/src/kernel-source-2.4.18/include/linux/modules/i386_ksyms.ver:104: warning: `smp_call_function' redefined
/usr/src/kernel-source-2.4.18/include/linux/smp.h:87: warning: this is the location of the previous definition
In file included from /usr/src/kernel-source-2.4.18/include/linux/modversions.h:144,
from /usr/src/kernel-source-2.4.18/include/linux/module.h:21,
from ksyms.c:14:
/usr/src/kernel-source-2.4.18/include/linux/modules/ksyms.ver:526: warning: `del_timer_sync' redefined
/usr/src/kernel-source-2.4.18/include/linux/timer.h:30: warning: this is the location of the previous definition
In file included from /usr/src/kernel-source-2.4.18/include/linux/interrupt.h:45,
from ksyms.c:21:
/usr/src/kernel-source-2.4.18/include/asm/hardirq.h:37: warning: `synchronize_irq' redefined
/usr/src/kernel-source-2.4.18/include/linux/modules/i386_ksyms.ver:92: warning: this is the location of the previous definition
In file included from ksyms.c:17:
/usr/src/kernel-source-2.4.18/include/linux/kernel_stat.h: In function `kstat_irqs':
/usr/src/kernel-source-2.4.18/include/linux/kernel_stat.h:48: `smp_num_cpus' undeclared (first use in this function)
/usr/src/kernel-source-2.4.18/include/linux/kernel_stat.h:48: (Each undeclared identifier is reported only once
/usr/src/kernel-source-2.4.18/include/linux/kernel_stat.h:48: for each function it appears in.)
make[2]: *** [ksyms.o] Error 1
make[2]: Leaving directory `/usr/src/kernel-source-2.4.18/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.18/kernel'
make: *** [_dir_kernel] Error 2
carol:/usr/src/kernel-source-2.4.18#
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: kernel compile error
2003-01-09 2:15 kernel compile error Rodrigo F. Baroni
@ 2003-01-09 2:48 ` Joshua Kwan
2003-01-09 15:26 ` [SOLVED] " Rodrigo F. Baroni
1 sibling, 0 replies; 3+ messages in thread
From: Joshua Kwan @ 2003-01-09 2:48 UTC (permalink / raw)
To: rodrigobaroni; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]
Have you considered grabbing an official 2.4.18 source tree from
kernel.org and see if that works?
BTW, 2.4.20 is current, if you're going to get something might as well
get that...
Regards
Josh
Rabid cheeseburgers forced"Rodrigo F. Baroni"
<rodrigobaroni@yahoo.com.br> to write this on Wed, 8 Jan 2003
23:15:40-0300 (ART):
> Hello all,
>
>
> There is a good time that I have trying to compile
> a kernel in a pc 233 mhz (motherboard lmr 591 -
> chipset sis, all-on-board), and so the follow error
> below happen.
>
>
> Does anybody knows what is going on please ?!
> (it's a 2.4.18 kernel in a debian 3)
>
>
>
>
> Rodrigo F Baroni
> Computer Science Grad Student
>
> _____________________________________________________________________
> __ Busca Yahoo!
> O melhor lugar para encontrar tudo o que você procura na Internet
> http://br.busca.yahoo.com/
--
Joshua Kwan
joshk@mspencer.net
pgp public key at http://joshk.mspencer.net/pubkey_gpg.asc
It's hard to keep your shirt on when you're getting something off your
chest.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [SOLVED] kernel compile error
2003-01-09 2:15 kernel compile error Rodrigo F. Baroni
2003-01-09 2:48 ` Joshua Kwan
@ 2003-01-09 15:26 ` Rodrigo F. Baroni
1 sibling, 0 replies; 3+ messages in thread
From: Rodrigo F. Baroni @ 2003-01-09 15:26 UTC (permalink / raw)
To: linux-kernel
The problem was the 2.4.18 kernel version. I got
another 2.4.18 kernel and the compilation finished
normally -without support to SMP (because I wasn't get
install some modules with that other one).
So, problem solved finally.
----------------------------------------------
--- "Rodrigo F. Baroni" <rodrigobaroni@yahoo.com.br>
escreveu: > Hello all,
>
>
> There is a good time that I have trying to
> compile
> a kernel in a pc 233 mhz (motherboard lmr 591 -
> chipset sis, all-on-board), and so the follow error
> below happen.
>
>
> Does anybody knows what is going on please ?!
> (it's a 2.4.18 kernel in a debian 3)
>
>
>
>
> Rodrigo F Baroni
> Computer Science Grad Student
>
>
_______________________________________________________________________
> Busca Yahoo!
> O melhor lugar para encontrar tudo o que você
> procura na Internet
> http://br.busca.yahoo.com/> make[2]: Entering
directory
> `/usr/src/kernel-source-2.4.18/kernel'
> gcc -D__KERNEL__
> -I/usr/src/kernel-source-2.4.18/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2
> -fomit-frame-pointer -fno-strict-aliasing
> -fno-common -pi
> pe -mpreferred-stack-boundary=2 -march=i586
> -DKBUILD_BASENAME=ksyms -DEXPORT_SYMTAB -c ksyms.c
> In file included from
>
/usr/src/kernel-source-2.4.18/include/linux/modversions.h:64,
> from
>
/usr/src/kernel-source-2.4.18/include/linux/module.h:21,
> from ksyms.c:14:
>
/usr/src/kernel-source-2.4.18/include/linux/modules/dec_and_lock.ver:2:
> warning: `atomic_dec_and_lock' redefined
>
/usr/src/kernel-source-2.4.18/include/linux/spinlock.h:48:
> warning: this is the location of the previous
> definition
> In file included from
>
/usr/src/kernel-source-2.4.18/include/linux/modversions.h:117,
> from
>
/usr/src/kernel-source-2.4.18/include/linux/module.h:21,
> from ksyms.c:14:
>
/usr/src/kernel-source-2.4.18/include/linux/modules/i386_ksyms.ver:84:
> warning: `cpu_data' redefined
>
/usr/src/kernel-source-2.4.18/include/asm/processor.h:79:
> warning: this is the location of the previous
> definition
>
/usr/src/kernel-source-2.4.18/include/linux/modules/i386_ksyms.ver:88:
> warning: `smp_num_cpus' redefined
>
/usr/src/kernel-source-2.4.18/include/linux/smp.h:80:
> warning: this is the location of the previous
> definition
>
/usr/src/kernel-source-2.4.18/include/linux/modules/i386_ksyms.ver:90:
> warning: `cpu_online_map' redefined
>
/usr/src/kernel-source-2.4.18/include/linux/smp.h:88:
> warning: this is the location of the previous
> definition
>
/usr/src/kernel-source-2.4.18/include/linux/modules/i386_ksyms.ver:104:
> warning: `smp_call_function' redefined
>
/usr/src/kernel-source-2.4.18/include/linux/smp.h:87:
> warning: this is the location of the previous
> definition
> In file included from
>
/usr/src/kernel-source-2.4.18/include/linux/modversions.h:144,
> from
>
/usr/src/kernel-source-2.4.18/include/linux/module.h:21,
> from ksyms.c:14:
>
/usr/src/kernel-source-2.4.18/include/linux/modules/ksyms.ver:526:
> warning: `del_timer_sync' redefined
>
/usr/src/kernel-source-2.4.18/include/linux/timer.h:30:
> warning: this is the location of the previous
> definition
> In file included from
>
/usr/src/kernel-source-2.4.18/include/linux/interrupt.h:45,
> from ksyms.c:21:
>
/usr/src/kernel-source-2.4.18/include/asm/hardirq.h:37:
> warning: `synchronize_irq' redefined
>
/usr/src/kernel-source-2.4.18/include/linux/modules/i386_ksyms.ver:92:
> warning: this is the location of the previous
> definition
> In file included from ksyms.c:17:
>
/usr/src/kernel-source-2.4.18/include/linux/kernel_stat.h:
> In function `kstat_irqs':
>
/usr/src/kernel-source-2.4.18/include/linux/kernel_stat.h:48:
> `smp_num_cpus' undeclared (first use in this
> function)
>
/usr/src/kernel-source-2.4.18/include/linux/kernel_stat.h:48:
> (Each undeclared identifier is reported only once
>
/usr/src/kernel-source-2.4.18/include/linux/kernel_stat.h:48:
> for each function it appears in.)
> make[2]: *** [ksyms.o] Error 1
> make[2]: Leaving directory
> `/usr/src/kernel-source-2.4.18/kernel'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory
> `/usr/src/kernel-source-2.4.18/kernel'
> make: *** [_dir_kernel] Error 2
> carol:/usr/src/kernel-source-2.4.18#
>
>
_______________________________________________________________________
Busca Yahoo!
O melhor lugar para encontrar tudo o que você procura na Internet
http://br.busca.yahoo.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-01-09 15:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-09 2:15 kernel compile error Rodrigo F. Baroni
2003-01-09 2:48 ` Joshua Kwan
2003-01-09 15:26 ` [SOLVED] " Rodrigo F. Baroni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.