[问题]drcom在7。10下又装不上去了

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
snappy
帖子: 279
注册时间: 2006-03-02 22:34
来自: 广西南宁

[问题]drcom在7。10下又装不上去了

#1

帖子 snappy » 2007-10-19 20:54

drcomsuite-0.1.12这个软件在编译make的时候就出错了

我在7。04下面按照帖子里面的做法可以,但是系统现在重新装了,现在编译这个软件的错误和以前在704下面的错误不一样了,怎么作呢???

yangming@yangming-laptop:~/drcom/drcomsuite-0.1.12$ sudo make
make -C include
make[1]: Entering directory `/home/yangming/drcom/drcomsuite-0.1.12/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/yangming/drcom/drcomsuite-0.1.12/include'
make -C drcomc
make[1]: Entering directory `/home/yangming/drcom/drcomsuite-0.1.12/drcomc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/yangming/drcom/drcomsuite-0.1.12/drcomc'
make -C drcomcd
make[1]: Entering directory `/home/yangming/drcom/drcomsuite-0.1.12/drcomcd'
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/yangming/drcom/drcomsuite-0.1.12 -I/home/yangming/drcom/drcomsuite-0.1.12/include -O2 -DREENTRANT -c -o daemon.o daemon.c
daemon.c:8:19: 错误: drcom.h:No such file or directory
In file included from daemon.c:11:
/home/yangming/drcom/drcomsuite-0.1.12/include/drcom_types.h:13: 错误: expected specifier-qualifier-list before ‘uint8_t’
/home/yangming/drcom/drcomsuite-0.1.12/include/drcom_types.h:14: 警告: 结构体没有成员
/home/yangming/drcom/drcomsuite-0.1.12/include/drcom_types.h:18: 错误: expected specifier-qualifier-list before ‘uint8_t’
/home/yangming/drcom/drcomsuite-0.1.12/include/drcom_types.h:19: 警告: 结构体没有成员
/home/yangming/drcom/drcomsuite-0.1.12/include/drcom_types.h:23: 错误: expected specifier-qualifier-list before ‘uint32_t’
/home/yangming/drcom/drcomsuite-0.1.12/include/drcom_types.h:29: 警告: 结构体没有成员
/home/yangming/drcom/drcomsuite-0.1.12/include/drcom_types.h:33: 错误: expected specifier-qualifier-list before ‘uint32_t’
/home/yangming/drcom/drcomsuite-0.1.12/include/drcom_types.h:35: 警告: 结构体没有成员
daemon.c:20: 警告: ‘struct drcom_handle’ 在形参表内部声明
daemon.c:20: 警告: 它的作用域仅限于此定义或声明,这可能并不是您想要的
daemon.c: 在函数 ‘drcomcd_daemon’ 中:
daemon.c:55: 警告: 隐式声明函数 ‘drcom_create_handle’
daemon.c:55: 警告: 赋值时将整数赋给指针,未作类型转换
daemon.c:56: 警告: 隐式声明函数 ‘drcom_init’
daemon.c:114: 警告: 隐式声明函数 ‘drcom_login’
daemon.c:129: 警告: 传递参数 1 (属于 ‘module_start_auth’)时在不兼容的指针类型间转换
daemon.c:149: 警告: 隐式声明函数 ‘drcom_logout’
daemon.c:157: 警告: 传递参数 1 (属于 ‘module_start_auth’)时在不兼容的指针类型间转换
daemon.c:178: 警告: 隐式声明函数 ‘drcom_passwd’
daemon.c: 在函数 ‘daemon_watchport’ 中:
daemon.c:256: 警告: 隐式声明函数 ‘drcom_watchport’
daemon.c: 在函数 ‘daemon_keepalive’ 中:
daemon.c:264: 警告: 隐式声明函数 ‘drcom_keepalive’
daemon.c: 在顶层:
daemon.c:269: 警告: ‘struct drcom_handle’ 在形参表内部声明
daemon.c:270: 错误: 与 ‘module_start_auth’ 类型冲突
daemon.c:20: 错误: ‘module_start_auth’ 的上一个声明在此
daemon.c: 在函数 ‘module_start_auth’ 中:
daemon.c:279: 警告: 隐式声明函数 ‘drcom_get_session_info’
daemon.c:279: 警告: 赋值时将整数赋给指针,未作类型转换
daemon.c:280: 警告: 隐式声明函数 ‘drcom_get_authlen’
daemon.c:283: 错误: ‘struct drcom_auth_data’ 没有名为 ‘auth’ 的成员
daemon.c:283: 错误: 提领指向不完全类型的指针
daemon.c:287: 错误: ‘struct drcom_iface_data’ 没有名为 ‘hostip’ 的成员
daemon.c:287: 错误: 提领指向不完全类型的指针
daemon.c:288: 错误: ‘struct drcom_iface_data’ 没有名为 ‘hostport’ 的成员
daemon.c:288: 错误: 提领指向不完全类型的指针
daemon.c:289: 错误: ‘struct drcom_iface_data’ 没有名为 ‘servip’ 的成员
daemon.c:289: 错误: 提领指向不完全类型的指针
daemon.c:290: 错误: ‘struct drcom_iface_data’ 没有名为 ‘servport’ 的成员
daemon.c:290: 错误: 提领指向不完全类型的指针
daemon.c:291: 错误: ‘struct drcom_iface_data’ 没有名为 ‘dnsp’ 的成员
daemon.c:291: 错误: 提领指向不完全类型的指针
daemon.c:292: 错误: ‘struct drcom_iface_data’ 没有名为 ‘dnss’ 的成员
daemon.c:292: 错误: 提领指向不完全类型的指针
daemon.c:296: 错误: ‘struct drcom_except_data’ 没有名为 ‘addr’ 的成员
daemon.c:297: 错误: ‘struct drcom_except_data’ 没有名为 ‘mask’ 的成员
daemon.c:345: 错误: ‘struct drcom_status_data’ 没有名为 ‘status’ 的成员
daemon.c: 在函数 ‘module_stop_auth’ 中:
daemon.c:370: 错误: ‘struct drcom_status_data’ 没有名为 ‘status’ 的成员
make[1]: *** [daemon.o] 错误 1
make[1]: Leaving directory `/home/yangming/drcom/drcomsuite-0.1.12/drcomcd'
make: *** [drcomcd] 错误 2
Ubuntu8.04
IBM T40 PM 1.5G
1.5G内存
80G硬盘
14.1XGA
显卡 ATI RADEON 7500 32M
56K/1GB/红外/TV-out/无线802.11b
COMBO
fireshare
帖子: 15
注册时间: 2007-10-11 23:09

Re: [问题]drcom在7。10下又装不上去了

#2

帖子 fireshare » 2007-10-19 21:24

"drcomsuite.."只能用于2.4内核,当然不能在2.6内核编译的.
我给drcom-1.3.7给你吧,平时还应看看DRCOM更新情况。http://sourceforge.net/projects/drcom-client
附件
drcom-1.3.7.tar.gz
(36.67 KiB) 已下载 44 次
snappy
帖子: 279
注册时间: 2006-03-02 22:34
来自: 广西南宁

#3

帖子 snappy » 2007-10-19 22:47

感谢楼上的朋友
其实还真简单,就装一个文件就可以了
我想得太麻烦了
Ubuntu8.04
IBM T40 PM 1.5G
1.5G内存
80G硬盘
14.1XGA
显卡 ATI RADEON 7500 32M
56K/1GB/红外/TV-out/无线802.11b
COMBO
回复