天行健110 发表于 2005-9-30 10:13:42

编译驱动出现错误,大家都来看一下,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

good02xaut 发表于 2005-10-14 09:56:16

你的include路径不对!
/usr/src/linux-xxx/include

windguy 发表于 2005-10-21 20:58:03

怎么编译的呢?
页: [1]
查看完整版本: 编译驱动出现错误,大家都来看一下,help!