编译驱动出现错误,大家都来看一下,help!
In file included from /usr/include/linux/fs.h:23,from /usr/include/linux/capability.h:17,
from /usr/include/linux/binfmts.h:5,
from /usr/include/linux/sched.h:9,
from lp.c:5:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/sched.h:14,
from lp.c:5:
/usr/include/linux/timex.h:173: field `time' has incomplete type
/usr/include/linux/timex.h:188: confused by earlier errors, bailing out 你的include路径不对!
/usr/src/linux-xxx/include 怎么编译的呢?
页:
[1]