Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
kernel/capability.c:135: error: redefinition of ‘warn_deprecated_v2’
kernel/capability.c:72: error: previous definition of ‘warn_deprecated_v2’ was here
kernel/capability.c:153: error: redefinition of ‘cap_validate_magic’
kernel/capability.c:90: error: previous definition of ‘cap_validate_magic’ was here
kernel/capability.c:198: error: redefinition of ‘warn_deprecated_v2’
kernel/capability.c:135: error: previous definition of ‘warn_deprecated_v2’ was here
kernel/capability.c:216: error: redefinition of ‘cap_validate_magic’
kernel/capability.c:153: error: previous definition of ‘cap_validate_magic’ was here
make: *** [kernel/capability.o] Error 1
make: *** [kernel] Error 2
make clean in the source tree if you already have tried compilation
then cp /boot/config /usr/src/linux/.config
or zcat /proc/config.gz /usr/src/linux/.config
to copy the config from your current kernel to the fresh source tree. make oldconfig to configure the new tree using te old config make menuconfig - or whatever you prefer - to configure the kernel the way you want it
then make ...