QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1055|回复: 0

求助?编译OpenBT时候出错

[复制链接]
发表于 2005-12-19 21:45:15 | 显示全部楼层 |阅读模式
本人是新手。
在Suse10.0下编译时候出错

进入openbt目录后输入$ . init_env

然后make后就出现很多错误,如下

.....
.....
/usr/include/linux/jiffies.h:385:6: error: division by zero in #if
/usr/include/linux/jiffies.h:385:6: error: division by zero in #if
/usr/include/linux/jiffies.h:385:6: error: division by zero in #if
/usr/include/linux/jiffies.h: In function ‘jiffies_to_clock_t’:
/usr/include/linux/jiffies.h:386: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function ‘clock_t_to_jiffies’:
/usr/include/linux/jiffies.h:397: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h:416:6: error: division by zero in #if
/usr/include/linux/jiffies.h:416:6: error: division by zero in #if
......
......
......
bluetooth.c:3075: error: called object ‘"BT SYS: "’ is not a function
bluetooth.c:3075: error: syntax error before string constant
bluetooth.c:3078: warning: passing argument 1 of ‘__wake_up’ from incompatible pointer type
bluetooth.c: In function ‘bt_exit’:
bluetooth.c:3091: warning: implicit declaration of function ‘save_flags’
bluetooth.c:3092: warning: implicit declaration of function ‘cli’
bluetooth.c:3096: warning: implicit declaration of function ‘restore_flags’
bluetooth.c:3120: warning: implicit declaration of function ‘proc_unregister’
make[1]: *** [bluetooth.o] Error 1
make[1]: Leaving directory `/root/openbt/linux/drivers/char/bluetooth'
make: *** [all] Error 2




有没有那位高人能够指点一下,非常感谢。[/quote]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 22:40 , Processed in 0.034477 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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