当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 急!求助drcom-client在惠普笔记本上的安装问题
帖子发表于 : 2007-04-11 17:06 

注册: 2005-08-24 17:50
帖子: 65
地址: yunnan
送出感谢: 0 次
接收感谢: 0 次
刚刚拿到一个hp笔记本,机器的基本信息是Genuine Tntel(R) CPU T 2300 @1.66GHz,980MHz,安装drcom-client1.32失败,但是我的台式机可以安装成功,已经弄了两天了,但是没有效果,台式机和笔记本我都用了ubuntu6.06来安装,gcc 4.03 内核是linux-2.6.15-26-686,我现在一直都怀疑是内核的问题,是不是双核的cpu用的内核版本有区别呢?
我是新手,下面我贴一下我在编译的时候的错误
代码:
tommy@ubuntu:~/drcom/drcomsuite-0.1.12$ sudo make
make -C include
make[1]: Entering directory `/home/tommy/drcom/drcomsuite-0.1.12/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/tommy/drcom/drcomsuite-0.1.12/include'
make -C drcomc
make[1]: Entering directory `/home/tommy/drcom/drcomsuite-0.1.12/drcomc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/tommy/drcom/drcomsuite-0.1.12/drcomc'
make -C drcomcd
make[1]: Entering directory `/home/tommy/drcom/drcomsuite-0.1.12/drcomcd'
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/tommy/drcom/drcomsuite-0.1.12 -I/home/tommy/drcom/drcomsuite-0.1.12/include -O2 -DREENTRANT   -c -o daemon.o daemon.c
daemon.c:8:19: error: drcom.h: No such file or directory
In file included from daemon.c:11:
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:13: error: syntax error before \ufffd\ufffd\ufffduint8_t\ufffd\ufffd\ufffd
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:13: warning: no semicolon at end of struct or union
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:14: warning: ISO C does not allow extra \ufffd\ufffd\ufffd;\ufffd\ufffd\ufffd outside of a function
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:18: error: syntax error before \ufffd\ufffd\ufffduint8_t\ufffd\ufffd\ufffd
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:18: warning: no semicolon at end of struct or union
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:19: warning: ISO C does not allow extra \ufffd\ufffd\ufffd;\ufffd\ufffd\ufffd outside of a function
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:23: error: syntax error before \ufffd\ufffd\ufffduint32_t\ufffd\ufffd\ufffd
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:23: warning: no semicolon at end of struct or union
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:24: warning: type defaults to \ufffd\ufffd\ufffdint\ufffd\ufffd\ufffd in declaration of \ufffd\ufffd\ufffdhostport\ufffd\ufffd\ufffd
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:24: warning: data definition has no type or storage class
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:25: error: syntax error before \ufffd\ufffd\ufffdservip\ufffd\ufffd\ufffd
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:25: warning: type defaults to \ufffd\ufffd\ufffdint\ufffd\ufffd\ufffd in declaration of \ufffd\ufffd\ufffdservip\ufffd\ufffd\ufffd
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:25: warning: data definition has no type or storage class
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:26: error: syntax error before \ufffd\ufffd\ufffdservport\ufffd\ufffd\ufffd
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:26: warning: type defaults to \ufffd\ufffd\ufffdint\ufffd\ufffd\ufffd in declaration of \ufffd\ufffd\ufffdservport\ufffd\ufffd\ufffd
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:26: warning: data definition has no type or storage class
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:27: error: syntax error before \ufffd\ufffd\ufffddnsp\ufffd\ufffd\ufffd
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:27: warning: type defaults to \ufffd\ufffd\ufffdint\ufffd\ufffd\ufffd in declaration of \ufffd\ufffd\ufffddnsp\ufffd\ufffd\ufffd
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:27: warning: data definition has no type or storage class
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:28: error: syntax error before \ufffd\ufffd\ufffddnss\ufffd\ufffd\ufffd
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:28: warning: type defaults to \ufffd\ufffd\ufffdint\ufffd\ufffd\ufffd in declaration of \ufffd\ufffd\ufffddnss\ufffd\ufffd\ufffd
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:28: warning: data definition has no type or storage class
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:29: warning: ISO C does not allow extra \ufffd\ufffd\ufffd;\ufffd\ufffd\ufffd outside of a function
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:33: error: syntax error before \ufffd\ufffd\ufffduint32_t\ufffd\ufffd\ufffd
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:33: warning: no semicolon at end of struct or union
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:34: warning: type defaults to \ufffd\ufffd\ufffdint\ufffd\ufffd\ufffd in declaration of \ufffd\ufffd\ufffdmask\ufffd\ufffd\ufffd
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:34: warning: data definition has no type or storage class
/home/tommy/drcom/drcomsuite-0.1.12/include/drcom_types.h:35: warning: ISO C does not allow extra \ufffd\ufffd\ufffd;\ufffd\ufffd\ufffd outside of a function
daemon.c:20: warning: \ufffd\ufffd\ufffdstruct drcom_handle\ufffd\ufffd\ufffd declared inside parameter list
daemon.c:20: warning: its scope is only this definition or declaration, which is probably not what you want
daemon.c: In function \ufffd\ufffd\ufffddrcomcd_daemon\ufffd\ufffd\ufffd:
daemon.c:55: warning: implicit declaration of function \ufffd\ufffd\ufffddrcom_create_handle\ufffd\ufffd\ufffddaemon.c:55: warning: assignment makes pointer from integer without a cast
daemon.c:56: warning: implicit declaration of function \ufffd\ufffd\ufffddrcom_init\ufffd\ufffd\ufffd
daemon.c:114: warning: implicit declaration of function \ufffd\ufffd\ufffddrcom_login\ufffd\ufffd\ufffd
daemon.c:129: warning: passing argument 1 of \ufffd\ufffd\ufffdmodule_start_auth\ufffd\ufffd\ufffd from incompatible pointer type
daemon.c:149: warning: implicit declaration of function \ufffd\ufffd\ufffddrcom_logout\ufffd\ufffd\ufffd
daemon.c:157: warning: passing argument 1 of \ufffd\ufffd\ufffdmodule_start_auth\ufffd\ufffd\ufffd from incompatible pointer type
daemon.c:178: warning: implicit declaration of function \ufffd\ufffd\ufffddrcom_passwd\ufffd\ufffd\ufffd
daemon.c: In function \ufffd\ufffd\ufffddaemon_watchport\ufffd\ufffd\ufffd:
daemon.c:256: warning: implicit declaration of function \ufffd\ufffd\ufffddrcom_watchport\ufffd\ufffd\ufffd
daemon.c: In function \ufffd\ufffd\ufffddaemon_keepalive\ufffd\ufffd\ufffd:
daemon.c:264: warning: implicit declaration of function \ufffd\ufffd\ufffddrcom_keepalive\ufffd\ufffd\ufffd
daemon.c: At top level:
daemon.c:269: warning: \ufffd\ufffd\ufffdstruct drcom_handle\ufffd\ufffd\ufffd declared inside parameter list
daemon.c:270: error: conflicting types for \ufffd\ufffd\ufffdmodule_start_auth\ufffd\ufffd\ufffd
daemon.c:20: error: previous declaration of \ufffd\ufffd\ufffdmodule_start_auth\ufffd\ufffd\ufffd was here
daemon.c: In function \ufffd\ufffd\ufffdmodule_start_auth\ufffd\ufffd\ufffd:
daemon.c:271: error: storage size of \ufffd\ufffd\ufffdstatus_data\ufffd\ufffd\ufffd isn\ufffd\ufffd\ufffdt known
daemon.c:272: error: storage size of \ufffd\ufffd\ufffdauth_data\ufffd\ufffd\ufffd isn\ufffd\ufffd\ufffdt known
daemon.c:273: error: storage size of \ufffd\ufffd\ufffdiface_data\ufffd\ufffd\ufffd isn\ufffd\ufffd\ufffdt known
daemon.c:274: error: array type has incomplete element type
daemon.c:279: warning: implicit declaration of function \ufffd\ufffd\ufffddrcom_get_session_info\ufffd\ufffd\ufffd
daemon.c:279: warning: assignment makes pointer from integer without a cast
daemon.c:280: warning: implicit declaration of function \ufffd\ufffd\ufffddrcom_get_authlen\ufffd\ufffd\ufffd
daemon.c:283: error: dereferencing pointer to incomplete type
daemon.c:287: error: dereferencing pointer to incomplete type
daemon.c:288: error: dereferencing pointer to incomplete type
daemon.c:289: error: dereferencing pointer to incomplete type
daemon.c:290: error: dereferencing pointer to incomplete type
daemon.c:291: error: dereferencing pointer to incomplete type
daemon.c:292: error: dereferencing pointer to incomplete type
daemon.c:307: error: invalid application of \ufffd\ufffd\ufffdsizeof\ufffd\ufffd\ufffd to incomplete type \ufffd\ufffd\ufffdstruct drcom_auth_data\ufffd\ufffd\ufffd
daemon.c:321: error: invalid application of \ufffd\ufffd\ufffdsizeof\ufffd\ufffd\ufffd to incomplete type \ufffd\ufffd\ufffdstruct drcom_iface_data\ufffd\ufffd\ufffd
daemon.c:335: error: invalid application of \ufffd\ufffd\ufffdsizeof\ufffd\ufffd\ufffd to incomplete type \ufffd\ufffd\ufffdstruct drcom_except_data\ufffd\ufffd\ufffd
daemon.c:353: error: invalid application of \ufffd\ufffd\ufffdsizeof\ufffd\ufffd\ufffd to incomplete type \ufffd\ufffd\ufffdstruct drcom_status_data\ufffd\ufffd\ufffd
daemon.c:274: warning: unused variable \ufffd\ufffd\ufffdexcept_data\ufffd\ufffd\ufffd
daemon.c:273: warning: unused variable \ufffd\ufffd\ufffdiface_data\ufffd\ufffd\ufffd
daemon.c:272: warning: unused variable \ufffd\ufffd\ufffdauth_data\ufffd\ufffd\ufffd
daemon.c:271: warning: unused variable \ufffd\ufffd\ufffdstatus_data\ufffd\ufffd\ufffd
daemon.c: In function \ufffd\ufffd\ufffdmodule_stop_auth\ufffd\ufffd\ufffd:
daemon.c:366: error: storage size of \ufffd\ufffd\ufffdstatus_data\ufffd\ufffd\ufffd isn\ufffd\ufffd\ufffdt known
daemon.c:379: error: invalid application of \ufffd\ufffd\ufffdsizeof\ufffd\ufffd\ufffd to incomplete type \ufffd\ufffd\ufffdstruct drcom_status_data\ufffd\ufffd\ufffd
daemon.c:366: warning: unused variable \ufffd\ufffd\ufffdstatus_data\ufffd\ufffd\ufffd
make[1]: *** [daemon.o] Error 1
make[1]: Leaving directory `/home/tommy/drcom/drcomsuite-0.1.12/drcomcd'
make: *** [drcomcd] Error 2

编译的设置我都是根据了我以前在台式机器上的方法,台式机器能顺利的通过,我看不懂报的错误,因为安装的desktop模式,我相信一些必要的包都装上去了,望高手给予指点.

之后我又使用wine来安装,可是下载了,3.37的哪个deb包来wine安装时,一直都是超时退出,学校的版本是3.42,是不是这个原因导致了论坛里的deb包不能工作.[deb包安装成功就是登陆不了一直的超时退出]
而用wine来直接安装学校给哪个setup.exe则一直的提示我重起机器,wine setup.exe的过程中没有报错.

可能是笔记本的一些特殊性吧,希望对这个drcom有深了解的朋友给我帮助,尽可能的给我一些具体的办法,用编译和wine都可以,我是校园网你能给出我需要安装那些包我应该能在中科大的源里找到.谢谢!


_________________
好好学习,天天向上
我的bloghttp://toddyallan.cn


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-04-11 17:08 

注册: 2005-08-24 17:50
帖子: 65
地址: yunnan
送出感谢: 0 次
接收感谢: 0 次
补充一点就是我哪个686的内核是在我的台式机下来编译能通过的,我保留了6.06光盘里的386的内核,使用386内核时也是无法通过的. :cry: :cry:


_________________
好好学习,天天向上
我的bloghttp://toddyallan.cn


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Yahoo [Bot] 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译