当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : drcom编译和登陆问题
帖子发表于 : 2007-05-12 13:50 

注册: 2007-05-09 16:37
帖子: 1
送出感谢: 0 次
接收感谢: 0 次
flyshow@flyshow-laptop:~/drcom-1.3.2$ sudo make
make -C drcomc
make[1]: Entering directory `/home/flyshow/drcom-1.3.2/drcomc'
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/flyshow/drcom-1.3.2/include -O2 -c -o drcomc.o drcomc.c
gcc drcomc.o -o drcomc
make[1]: Leaving directory `/home/flyshow/drcom-1.3.2/drcomc'
make -C drcomd
make[1]: Entering directory `/home/flyshow/drcom-1.3.2/drcomd'
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/flyshow/drcom-1.3.2/include -O2 -c -o drcomd.o drcomd.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/flyshow/drcom-1.3.2/include -O2 -c -o daemon.o daemon.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/flyshow/drcom-1.3.2/include -O2 -c -o cleanup.o cleanup.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/flyshow/drcom-1.3.2/include -O2 -c -o dialog.o dialog.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/flyshow/drcom-1.3.2/include -O2 -c -o handle.o handle.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/flyshow/drcom-1.3.2/include -O2 -c -o init.o init.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/flyshow/drcom-1.3.2/include -O2 -c -o keepalive.o keepalive.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/flyshow/drcom-1.3.2/include -O2 -c -o login.o login.c
login.c: 在函数 ‘drcom_login’ 中:
login.c:50: 警告: 未使用的参数 ‘timeout’
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/flyshow/drcom-1.3.2/include -O2 -c -o logout.o logout.c
logout.c: 在函数 ‘drcom_logout’ 中:
logout.c:34: 警告: 未使用的参数 ‘timeout’
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/flyshow/drcom-1.3.2/include -O2 -c -o md5.o md5.c
md5.c:131:36: 警告: 使用 C99 long long 整数常量
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/flyshow/drcom-1.3.2/include -O2 -c -o misc.o misc.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/flyshow/drcom-1.3.2/include -O2 -c -o passwd.o passwd.c
passwd.c: 在函数 ‘drcom_passwd’ 中:
passwd.c:32: 警告: 未使用的参数 ‘timeout’
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/flyshow/drcom-1.3.2/include -O2 -c -o readconf.o readconf.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/flyshow/drcom-1.3.2/include -O2 -c -o watchport.o watchport.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/flyshow/drcom-1.3.2/include -O2 -c -o getaddr.o getaddr.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/flyshow/drcom-1.3.2/include -O2 -c -o log.o log.c
log.c: 在函数 ‘dbg’ 中:
log.c:34: 警告: 未使用的参数 ‘format’
gcc -lm -lpthread drcomd.o daemon.o cleanup.o dialog.o handle.o init.o keepalive.o login.o logout.o md5.o misc.o passwd.o readconf.o watchport.o getaddr.o log.o -o drcomd
make[1]: Leaving directory `/home/flyshow/drcom-1.3.2/drcomd'
make -C kmod
make[1]: Entering directory `/home/flyshow/drcom-1.3.2/kmod'
make -C /lib/modules/2.6.20-15-generic/build M=/home/flyshow/drcom-1.3.2/kmod modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /home/flyshow/drcom-1.3.2/kmod/init.o
CC [M] /home/flyshow/drcom-1.3.2/kmod/proc.o
CC [M] /home/flyshow/drcom-1.3.2/kmod/proto.o
/home/flyshow/drcom-1.3.2/kmod/proto.c: 在函数 ‘init_hijack’ 中:
/home/flyshow/drcom-1.3.2/kmod/proto.c:415: 警告: 从不兼容的指针类型赋值
/home/flyshow/drcom-1.3.2/kmod/proto.c:416: 警告: 从不兼容的指针类型赋值
/home/flyshow/drcom-1.3.2/kmod/proto.c: 在函数 ‘cleanup_hijack’ 中:
/home/flyshow/drcom-1.3.2/kmod/proto.c:423: 警告: 比较不相关的指针时缺少类型转换
/home/flyshow/drcom-1.3.2/kmod/proto.c:424: 警告: 从不兼容的指针类型赋值
LD [M] /home/flyshow/drcom-1.3.2/kmod/drcom.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/flyshow/drcom-1.3.2/kmod/drcom.mod.o
LD [M] /home/flyshow/drcom-1.3.2/kmod/drcom.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make[1]: Leaving directory `/home/flyshow/drcom-1.3.2/kmod'
flyshow@flyshow-laptop:~/drcom-1.3.2$ sudo make install
make -C drcomc install
make[1]: Entering directory `/home/flyshow/drcom-1.3.2/drcomc'
mkdir -p /usr/local/bin/
install -m 755 drcomc /usr/local/bin/
make[1]: Leaving directory `/home/flyshow/drcom-1.3.2/drcomc'
make -C drcomd install
make[1]: Entering directory `/home/flyshow/drcom-1.3.2/drcomd'
mkdir -p /usr/local/bin/
install -m 700 drcomd /usr/local/bin/
make[1]: Leaving directory `/home/flyshow/drcom-1.3.2/drcomd'
make -C kmod install
make[1]: Entering directory `/home/flyshow/drcom-1.3.2/kmod'
make -C /lib/modules/2.6.20-15-generic/build M=/home/flyshow/drcom-1.3.2/kmod modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
Building modules, stage 2.
MODPOST 1 modules
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make -C /lib/modules/2.6.20-15-generic/build M=/home/flyshow/drcom-1.3.2/kmod modules_install
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
INSTALL /home/flyshow/drcom-1.3.2/kmod/drcom.ko
DEPMOD 2.6.20-15-generic
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
/sbin/depmod -a 2.6.20-15-generic
WARNING: Module /lib/modules/2.6.20-15-generic/kernel/drivers/hwmon/k8temp.ko is not an elf object
WARNING: Module /lib/modules/2.6.20-15-generic/kernel/drivers/hwmon/lm63.ko is not an elf object
WARNING: Module /lib/modules/2.6.20-15-generic/kernel/drivers/hwmon/lm75.ko is not an elf object
WARNING: Module /lib/modules/2.6.20-15-generic/kernel/drivers/hwmon/lm70.ko is not an elf object
make[1]: Leaving directory `/home/flyshow/drcom-1.3.2/kmod'
if [ -a /etc/drcom.conf ]; then \
echo "====================================" && \
echo "" && \
echo "/etc/drcom.conf exists.";\
echo "" && \
echo "You May Need to Edit /etc/drcom.conf" && \
echo "" && \
echo "====================================" \
;\
else\
install -m 600 drcom.conf /etc/drcom.conf && \
echo "====================================" && \
echo "" && \
echo "Do Not Forget To Edit /etc/drcom.conf" && \
echo "" && \
echo "====================================" \
;\
fi\

[: 17: /etc/drcom.conf: unexpected operator
====================================

Do Not Forget To Edit /etc/drcom.conf

====================================
flyshow@flyshow-laptop:~/drcom-1.3.2$ sudo gedit /etc/drcom.conf
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
GTK Panel of SCIM 1.4.4

flyshow@flyshow-laptop:~/drcom-1.3.2$ sudo drcomd
flyshow@flyshow-laptop:~/drcom-1.3.2$ sudo drcomc login
Login failed
Reason: 0

以上就是所有的信息了 希望能得到解决


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

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


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

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

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