can't find <asm/system.h>

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Tue Jun 3 08:29:53 EDT 2014


On Tue, 03 Jun 2014 14:23:22 +0800, "jinzhao at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140603/59e3dc5a/attachment-0001.bin 


More information about the Kernelnewbies mailing list