LinuxSir.cn,穿越时空的Linuxsir!

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

还是drcom的问题,请帮我看一看

[复制链接]
发表于 2006-11-13 16:22:59 | 显示全部楼层 |阅读模式
make、gcc、kernel-source、kernel-header都装好了
md5.h的路径问题也修改了
可还是有问题
麻烦帮我看一看
谢谢



make -C drcomc
make[1]: Entering directory `/home/yuebianyun/drcom/drcom-1.3.2/drcomc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/yuebianyun/drcom/drcom-1.3.2/drcomc'
make -C drcomd
make[1]: Entering directory `/home/yuebianyun/drcom/drcom-1.3.2/drcomd'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/yuebianyun/drcom/drcom-1.3.2/drcomd'
make -C kmod
make[1]: Entering directory `/home/yuebianyun/drcom/drcom-1.3.2/kmod'
make -C /lib/modules/2.6.8-2-386/build M=/home/yuebianyun/drcom/drcom-1.3.2/kmod modules
make[2]: Entering directory `/lib/modules/2.6.8-2-386/build'
make[2]: *** No rule to make target `modules'.  Stop.
make[2]: Leaving directory `/lib/modules/2.6.8-2-386/build'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/yuebianyun/drcom/drcom-1.3.2/kmod'
make: *** [kmod] Error 2
发表于 2006-11-13 17:45:09 | 显示全部楼层
打开文件drcom_src/komd/Makefile,找到这一行:
KDIR        := /lib/modules/$(shell uname -r)/build
修改为你的内核头文件目录
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-13 21:00:04 | 显示全部楼层
Post by 高热
打开文件drcom_src/komd/Makefile,找到这一行:

修改为你的内核头文件目录



兄弟的意思就是说吧build连接到源代码那里去,是吧?

我这么做了之后
又是一堆的错误
都是提示include/linux/*.h的一对syntax error

唉...
太郁闷了
用个drcom咋这么困难
回复 支持 反对

使用道具 举报

发表于 2006-11-13 22:31:46 | 显示全部楼层
我这里很容易就编译了,把你的问题详细说明一下吧。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-15 11:32:43 | 显示全部楼层

回家用mandriva 2007编译了一下还是有错

麻烦各位兄弟姐妹们帮忙看一看
谢谢

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2006-11-15 15:17:15 | 显示全部楼层
看你出错的信息

/home/yuebianyun/drcom-1.3.2/kmod/proto.c: In function init_hijack
/home/yuebianyun/drcom-1.3.2/kmod/proto.c:412: error: security_ops?undeclared (first use in this function)

看他的README:
Begin with version 1.3, this program use security_ops to hijack
security_ops->socket_post_create. So it requires that the kernel compiled
with CONFIG_SECURITY and CONFIG_SECURITY_NETWORK. I hope all distributions
open these two options.
你重新编译以下内核,看看是不是配置对了.

我用的Debian unstable,2.6.18的内核,可以编译使用
回复 支持 反对

使用道具 举报

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

本版积分规则

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