On Tue, 03 Jun 2014 14:23:22 +0800, "jinzhao@xxxxxxxxxxxx" 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.
Attachment:
pgp8vBVdqk3Dk.pgp
Description: PGP signature
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies