June 3, 2014
12:29 p.m.
On Tue, 03 Jun 2014 14:23:22 +0800, "jinzhao@wingtech.com" said:
In my code, I include the file <asm/system.h>, but when compiling the code, show the error as "can't find the file or directory asm/system.h". Why??
Probably because either: 1) Your Makefile isn't set up to use the Kbuild architecture, which should take care of all that for you when building an out-of-tree module. or 2) You haven't properly set up a kernel source tree to build against.