LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 902|回复: 1

编译kernel tree上的usb-skeleton出现一堆错误

[复制链接]
发表于 2006-9-19 16:50:50 | 显示全部楼层 |阅读模式
wilson@Ubuntu-Elf:~/project/BT_HCI/src$ gcc usb-dongle.c -o usb-dongle In file included from usb-dongle.c:16:
/usr/include/linux/config.h:1:2: error: #error "Compilation aborted. Ple ase read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: error: #error "(can be found at http:// ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
usb-dongle.c:20:24: error: linux/slab.h: No such file or directory
In file included from /usr/include/linux/sched.h:16,
                 from /usr/include/linux/module.h:9,
                 from usb-dongle.c:21:
/usr/include/linux/signal.h:2:2: warning: #warning "You should include < signal.h>. This time I will do it for you."
In file included from /usr/include/linux/resource.h:4,
                 from /usr/include/linux/sched.h:79,
                 from /usr/include/linux/module.h:9,
                 from usb-dongle.c:21:
后面还有一堆,但先看看这些先啦,不知道怎么半?是不是什么都西没装?
 楼主| 发表于 2006-9-19 16:52:08 | 显示全部楼层
我把文件名改了,改成usb-dongle.c,这个应该不是问题。
回复 支持 反对

使用道具 举报

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

本版积分规则

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