[linux] Problem s kompilovanim jadra

Jarry guru jarry na gmx.net
Úterý Prosinec 7 09:51:26 CET 1999


Dado Jan wrote:

> Nie ze by, ale ten error si vynechal....
> Mozno niekto kto s as tym stretol ti bude vediet narychlo odpovedat, ale
> ak nie, tak budes musiet poslat aj ten error

OK, uz ma tu ktosi sfukol za posielanie dlhych mailov, ale ked
to inak nejde, tak tu to je:

[root na zerin]# make bzImage
<vypustene riadky ktore boli OK, no warnings/errors>
/usr/src/linux-2.2.10/include/linux/modules/i386_ksyms.ver:60: warning:
 `cpu_data' redefined
/usr/src/linux-2.2.10/include/asm/processor.h:96: warning: this is the
 location of the previous definition
/usr/src/linux-2.2.10/include/linux/modules/i386_ksyms.ver:70: warning: 
`smp_num_cpus' redefined
/usr/src/linux-2.2.10/include/linux/smp.h:77: warning: this is the
location
 of the previous definition
/usr/src/linux-2.2.10/include/linux/modules/i386_ksyms.ver:94: warning: 
`smp_call_function' redefined
/usr/src/linux-2.2.10/include/linux/smp.h:83: warning: this is the
location
 of the previous definition
gcc -D__KERNEL__ -I/usr/src/linux-2.2.10/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -march=pentiumpro
 -DCPU=686   -DEXPORT_SYMTAB -c ksyms.c
In file included from
/usr/src/linux-2.2.10/include/linux/modversions.h:45,
                 from /usr/src/linux-2.2.10/include/linux/module.h:19,
                 from ksyms.c:14:
/usr/src/linux-2.2.10/include/linux/modules/i386_ksyms.ver:60: warning: 
`cpu_data' redefined
/usr/src/linux-2.2.10/include/asm/processor.h:96: warning: this is the 
location of the previous definition
/usr/src/linux-2.2.10/include/linux/modules/i386_ksyms.ver:70: warning: 
`smp_num_cpus' redefined
/usr/src/linux-2.2.10/include/linux/smp.h:77: warning: this is the
location of the previous definition
/usr/src/linux-2.2.10/include/linux/modules/i386_ksyms.ver:94: warning: 
`smp_call_function' redefined
/usr/src/linux-2.2.10/include/linux/smp.h:83: warning: this is the
location of the previous definition
In file included from /usr/src/linux-2.2.10/include/linux/interrupt.h:51,
                 from ksyms.c:21:
/usr/src/linux-2.2.10/include/asm/hardirq.h:23: warning: `synchronize_irq'

redefined
/usr/src/linux-2.2.10/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.10/include/linux/interrupt.h:52,
                 from ksyms.c:21:
/usr/src/linux-2.2.10/include/asm/softirq.h:90: warning: `synchronize_bh' 
redefined
/usr/src/linux-2.2.10/include/linux/modules/i386_ksyms.ver:78: warning:
 this is the location of the previous definition
/usr/src/linux-2.2.10/include/linux/kernel_stat.h: In function
`kstat_irqs':
In file included from ksyms.c:17:
/usr/src/linux-2.2.10/include/linux/kernel_stat.h:44: `smp_num_cpus' 
undeclared (first use in this function)
/usr/src/linux-2.2.10/include/linux/kernel_stat.h:44: (Each undeclared 
identifier is reported only once
/usr/src/linux-2.2.10/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.10/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.10/kernel'
make: *** [_dir_kernel] Error 2
[root na zerin]#

Tak co, je teraz z toho niekto mudrejsi?

Jarry

-- 
Sent through Global Message Exchange - http://www.gmx.net



Další informace o konferenci linux