当我包含以下文件时:
include <asm-generic/page.h>
并编译c文件,出现错误:
include/asm-generic/page.h:9:2: error: #error need to prove a real asm/page.h
如何解决这个问题?
最佳答案
您需要为您的目标架构#include
正确的page.h
。如果它是 x86 那么这将是:
#include <asm-x86/page.h>
关于c - #error 需要证明一个真实的asm/page.h,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20059006/