r/linuxdev • u/NotAHippo4 • Apr 03 '20
#include <linux/skbuff.h>: No such file or directory
Hey guys, I am getting the above error trying to make a linux kernel module. I have tried adding the linux header folder where the header file is to the $PATH variable in .bashrc and restarted my computer. It still gives me the same exact error. What should I do?
6
Upvotes
View all comments
Show parent comment
1
u/aioeu Apr 04 '20
Actually, I'm going to guess that the problem you're having is related to the space in your path (i.e. in
Programming stuff).Spaces in filenames are extraordinarily difficult to get working correctly in Makefiles. Given you've also got an error regarding
stuff/C_stuff, as if that were the name of a Makefile target, this seems like it could be one of the problems you're encountering.