Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
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[1]: *** [kernel/capability.o] Error 1
make: *** [kernel] Error 2
I really didnt understand. Let me repeat, the changes you made must be effecting the compilation of the kernel either post your changes or look for mistakes and typos..
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 ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.