Closed unknownv2 closed 8 years ago
Hi! Thanks, I look into it and resolve it :)
I looked into it. The best approach seems to be, to define _STANDALONE. I should add such things to a standard header, like kern.h. But I will also add an empty file as you suggested, since the real file seems obscure. Thanks again :)
include/machine/reg.h:41:10: fatal error: 'opt_compat.h' file not found
include "opt_compat.h"
Works fine once you add an empty header (opt_compat.h) in the include dir. Error occurs when you include sys/ptrace.h in a kernel 'module' (kmain.c).