07-15-2010, 09:20 AM
(This post was last modified: 07-15-2010, 09:20 AM by gamesfirst.)
Hi all!
well, i was following the Fragaholics Kernel Optimization Guide, and when i get this error:
Any help??
im using stock Centos 5.5 32bit
well, i was following the Fragaholics Kernel Optimization Guide, and when i get this error:
Quote:[root@xxx linux-2.6.26.8]# make bzImage; make modules
make[2]: Warning: File `/usr/include/sys/types.h' has modification time 7e+06 s in the future
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Warning: File `/usr/include/locale.h' has modification time 7e+06 s in the future
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
make[2]: warning: Clock skew detected. Your build may be incomplete.
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
make[1]: Warning: File `/usr/include/sys/types.h' has modification time 7e+06 s in the future
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
make[1]: warning: Clock skew detected. Your build may be incomplete.
CC kernel/bounds.s
GEN include/linux/bounds.h
CC arch/x86/kernel/asm-offsets.s
In file included from include/linux/notifier.h:14,
from include/linux/memory_hotplug.h:6,
from include/linux/mmzone.h:560,
from include/linux/gfp.h:4,
from include/linux/slab.h:12,
from include/linux/percpu.h:5,
from include/linux/rcupdate.h:39,
from include/linux/tracepoint.h:18,
from include/linux/module.h:19,
from include/linux/crypto.h:21,
from arch/x86/kernel/asm-offsets_32.c:7,
from arch/x86/kernel/asm-offsets.c:2:
include/linux/rwsem.h:150: error: redefinition of ârwsem_is_lockedâ
include/asm/rwsem.h:261: error: previous definition of ârwsem_is_lockedâ was here
include/linux/rwsem.h: In function ârwsem_is_lockedâ:
include/linux/rwsem.h:151: error: implicit declaration of function âcompat_rwsem_is_lockedâ
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
CHK include/linux/version.h
CHK include/linux/utsrelease.h
make[1]: Warning: File `/usr/include/sys/types.h' has modification time 7e+06 s in the future
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
make[1]: warning: Clock skew detected. Your build may be incomplete.
CC arch/x86/kernel/asm-offsets.s
In file included from include/linux/notifier.h:14,
from include/linux/memory_hotplug.h:6,
from include/linux/mmzone.h:560,
from include/linux/gfp.h:4,
from include/linux/slab.h:12,
from include/linux/percpu.h:5,
from include/linux/rcupdate.h:39,
from include/linux/tracepoint.h:18,
from include/linux/module.h:19,
from include/linux/crypto.h:21,
from arch/x86/kernel/asm-offsets_32.c:7,
from arch/x86/kernel/asm-offsets.c:2:
include/linux/rwsem.h:150: error: redefinition of ârwsem_is_lockedâ
include/asm/rwsem.h:261: error: previous definition of ârwsem_is_lockedâ was here
include/linux/rwsem.h: In function ârwsem_is_lockedâ:
include/linux/rwsem.h:151: error: implicit declaration of function âcompat_rwsem_is_lockedâ
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
Any help??
im using stock Centos 5.5 32bit