QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1496|回复: 2

编译驱动出现错误,大家都来看一下,help!

[复制链接]
发表于 2005-9-30 10:13:42 | 显示全部楼层 |阅读模式
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
发表于 2005-10-14 09:56:16 | 显示全部楼层
你的include路径不对!
/usr/src/linux-xxx/include
回复

使用道具 举报

发表于 2005-10-21 20:58:03 | 显示全部楼层
怎么编译的呢?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-16 14:28 , Processed in 0.059538 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表