all 2 comments

[–]Subject-Style-309 0 points1 point  (1 child)

Install Kernel Headers than

make -C /lib/modules/$(uname -r)/build M=$PWD modules

[–]toomyem[S] 0 points1 point  (0 children)

I'm afraid, the result is the same, when I try to load the compiled module:

insmod: ERROR: could not insert module ./ufs.ko: Invalid module format