Hi all,
I updated my kernel packages, as suggested by MandrakeUpdate:
[root@paul linux]# rpm -qa|grep kernel
kernel-2.2.13-7mdk
kernel-BOOT-2.2.13-7mdk
kernelcfg-0.5-6mdk
kernel-2.2.13-22mdk
kernel-doc-2.2.13-22mdk
kernel-headers-2.2.13-22mdk
kernel-source-2.2.13-22mdk
kernel-pcmcia-cs-2.2.13-22mdk
Now when I try to compile the kernel, I get these errors:
[root@paul linux]# make zImage
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=686
-DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c
make -C kernel
make[1]: Entering directory `/usr/src/linux-2.2.13/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.2.13/kernel'
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=686
-DEXPORT_SYMTAB -c ksyms.c
In file included from /usr/src/linux/include/linux/modversions.h:42,
from /usr/src/linux/include/linux/module.h:19,
from ksyms.c:14:
/usr/src/linux/include/linux/modules/i386_ksyms.ver:62: warning:
`cpu_data' redefined
/usr/src/linux/include/asm/processor.h:165: warning: this is the
location of the previous definition
/usr/src/linux/include/linux/modules/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/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/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/i386_ksyms.ver:80: warning: this is
the location of the previous definition
/usr/src/linux/include/linux/kernel_stat.h: In function `kstat_irqs':
In file included from ksyms.c:17:
/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.13/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.13/kernel'
make: *** [_dir_kernel] Error 2
[root@paul
linux]#
Enclosed is my .config file. Thanks for any help!
Paul
#
# Automatically generated make config: don't edit
#
#
# Language for Kernel Configuration
#
CONFIG_CONFIGLANG_ENGLISH=y
# CONFIG_CONFIGLANG_GERMAN is not set
#
# If you change this option, help texts are changed immediately.
#
#
# The tool itself must be restarted to show the new language.
#
#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
#
# Processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
CONFIG_M686=y
# CONFIG_M686FX is not set
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_PN_OFF=y
CONFIG_X86_FX=y
CONFIG_X86_CPU_OPTIMIZATIONS=y
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_SMP is not set
CONFIG_1GB=y
# CONFIG_2GB is not set
#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
#
# General setup
#
CONFIG_BIGMEM=y
CONFIG_NET=y
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_QUIRKS=y
CONFIG_PCI_OPTIMIZE=y
CONFIG_PCI_OLD_PROC=y
# CONFIG_MCA is not set
# CONFIG_VISWS is not set
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
CONFIG_BINFMT_JAVA=m
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
# CONFIG_PARPORT_OTHER is not set
# CONFIG_APM is not set
#
# Plug and Play support
#
CO