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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.