Could someone help me compiling kernel module? I have never did this so I blindly step by tutorials and I failed. So what I did: Code: sudo apt-get build-dep --no-install-recommends linux-image-$(uname -r) mkdir ufs && cd ufs sudo apt-get source linux-image-$(uname -r) sudo apt-get source linux-headers-$(uname -r) sudo apt-get install libncurses5-dev libncursesw5-dev Then I changed config in amd64 from: "CONFIG_UFS_FS=m" to Code: CONFIG_UFS_FS=m CONFIG_UFS_FS_WRITE=y And trying compile it. This is what I got: What am I doing wrong? PS: Linux Mint 18.3.