[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] Kernel Install Problem



Hi,

Another problem here =o) I'm trying to install the 2.4.16 kernel on Mandrake 
8.1. I should have all the configurations correct but when I run make bzImage 
I get the following error...

[root@hal linux]# make bzImage
. scripts/mkversion > .tmpversion
gcc -D__KERNEL__ -I/root/linux/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common 
-pipe -mpreferred-stack-boundary=2 -march=athlon   -DUTS_MACHINE='"i386"' -c 
-o init/version.o init/version.c
make CFLAGS="-D__KERNEL__ -I/root/linux/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common 
-pipe -mpreferred-stack-boundary=2 -march=athlon  " -C  kernel
make[1]: Entering directory `/root/linux/kernel'
make all_targets
make[2]: Entering directory `/root/linux/kernel'
gcc -D__KERNEL__ -I/root/linux/include -Wall -Wstrict-prototypes 
-Wno-trigraphs
-O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe 
-mpreferred-stack-boundary=2 -march=athlon     -DEXPORT_SYMTAB -c ksyms.c
In file included from ksyms.c:17:
/root/linux/include/linux/kernel_stat.h: In function `kstat_irqs':
/root/linux/include/linux/kernel_stat.h:48: `smp_num_cpus' undeclared (first 
use in this function)
/root/linux/include/linux/kernel_stat.h:48: (Each undeclared identifier is 
reported only once
/root/linux/include/linux/kernel_stat.h:48: for each function it appears in.)
make[2]: *** [ksyms.o] Error 1
make[2]: Leaving directory `/root/linux/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/root/linux/kernel'
make: *** [_dir_kernel] Error 2
[root@hal linux]#

Can anyone help?

Darrell
___________________________________________________________________

Sheffield Linux User's Group - http://www.sheflug.co.uk . 
To unsubscribe from this list send mail to 
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.