Folks , I geting in trouble when trying to rebuild/recompile the 7.0 Air
default kernel (2.2.14-15mdksecure)

Ie installed all the kernel sources from the CD (during the OS install)
When I cd into /usr/src/linux  , I make the trivial stuff (make
menuconfig, make dep, make clean , make bzImage blah blah...)  , But
when make bzImage starts , it outputs some error messages (see above)
and finishes with an error "make: *** [_dir_kernel] Error 2"

Am I missing something? With all the previos linux distros I've used
before , I've never got this kind of problems.  Is there a Mandrake
expert out there to help me? I dunno if this is the right place to put
questions like that ,sorry if I made a mistake , but I'm a little lost
and new to mandrake distro.

Thank all of you , guys. Mandrake rulez.


here goes a piece of the warning/errors  messages during make bzImage


-------------------starts-here----------------------------------


In file included from
/usr/src/linux/include/linux/modversions-secure.h:31,
                 from /usr/src/linux/include/linux/modversions.h:35,
                 from /usr/src/linux/include/linux/module.h:19,
                 from signal.c:10:
/usr/src/linux/include/linux/modules-secure/i386_ksyms.ver:62: warning:
`cpu_data' redefined
/usr/src/linux/include/asm/processor.h:96: warning: this is the location
of the previous definition
/usr/src/linux/include/linux/modules-secure/i386_ksyms.ver:72: warning:
`smp_num_cpus' redefined
/usr/src/linux/include/linux/smp.h:77: warning: this is the location of
the previous definition
/usr/src/linux/include/linux/modules-secure/i386_ksyms.ver:98: warning:
`smp_call_function' redefined
/usr/src/linux/include/linux/smp.h:83: warning: this is the location of
the previous definition
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -O3 -fomit-frame-pointer
-fno-exceptions -fno-rtti -pipe -s -mpentium -mcpu=pentium
-march=pentium -ffast-math -fexpensive-optimizations -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-secure.h:31,
                 from /usr/src/linux/include/linux/modversions.h:35,
                 from /usr/src/linux/include/linux/module.h:19,
                 from ksyms.c:14:
/usr/src/linux/include/linux/modules-secure/i386_ksyms.ver:62: warning:
`cpu_data' redefined
/usr/src/linux/include/asm/processor.h:96: warning: this is the location
of the previous definition
/usr/src/linux/include/linux/modules-secure/i386_ksyms.ver:72: warning:
`smp_num_cpus' redefined
/usr/src/linux/include/linux/smp.h:77: warning: this is the location of
the previous definition
/usr/src/linux/include/linux/modules-secure/i386_ksyms.ver:98: warning:
`smp_call_function' redefined
/usr/src/linux/include/linux/smp.h:83: 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/hardirq.h:23: warning: `synchronize_irq'
redefined
/usr/src/linux/include/linux/modules-secure/i386_ksyms.ver:78: warning:
this is the location of the previous definition
In file included from /usr/src/linux/include/linux/interrupt.h:52,
                 from ksyms.c:21:
/usr/src/linux/include/asm/softirq.h:72: warning: `synchronize_bh'
redefined
/usr/src/linux/include/linux/modules-secure/i386_ksyms.ver:80: warning:
this is the location of the previous definition
In file included from ksyms.c:17:
/usr/src/linux/include/linux/kernel_stat.h: In function `kstat_irqs':
/usr/src/linux/include/linux/kernel_stat.h:44: `smp_num_cpus' undeclared
(first use in 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.14/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.14/kernel'
make: *** [_dir_kernel] Error 2


------------------------------Ends-here----------------------------------------------------

Reply via email to