Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

problem compiling kernel module on fedora 25


i was unable to compile kernel module on fedora 25 but in ubuntu is was very easy,

i install : dnf install kernel-devel kernel-headers --best --allowerasing

and reboot my system again i have same error,

[root@raminfp ~]# uname -r

[root@raminfp kernel_statckoverflow]# make
make -C /lib/modules/4.10.15-200.fc25.x86_64/build M=/root/kernel_statckoverflow make[1]: * /lib/modules/4.8.6-300.fc25.x86_64/build: No such file or directory. Stop. Makefile:8: recipe for target 'all' failed make: * [all] Error 2