LinuxSir.cn,穿越时空的Linuxsir!

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

在mandriva2006下安装drcom的问题!!!

[复制链接]
发表于 2006-9-19 14:25:36 | 显示全部楼层 |阅读模式
这是我的版本信息:
[root@localhost ~]# cat /proc/version
Linux version 2.6.12-12mdk-i686-up-4GB (apatard@n1.mandriva.com) (gcc version 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0)) #1 Fri Sep 9 17:59:21 CEST 2005
下面是用drcom-1.3.2的问题:

[root@localhost drcom-1.3.2]# make
make -C drcomc
make[1]: Entering directory `/home/yuehongliang/TOOL/drcom/drcom-1.3.2/drcomc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/yuehongliang/TOOL/drcom/drcom-1.3.2/drcomc'
make -C drcomd
make[1]: Entering directory `/home/yuehongliang/TOOL/drcom/drcom-1.3.2/drcomd'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/yuehongliang/TOOL/drcom/drcom-1.3.2/drcomd'
make -C kmod
make[1]: Entering directory `/home/yuehongliang/TOOL/drcom/drcom-1.3.2/kmod'
make -C /lib/modules/2.6.12-12mdk-i686-up-4GB/build M=/home/yuehongliang/TOOL/drcom/drcom-1.3.2/kmod modules
make[2]: Entering directory `/usr/src/linux-2.6.12-12mdk'

  WARNING: Symbol version dump /usr/src/linux-2.6.12-12mdk/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /home/yuehongliang/TOOL/drcom/drcom-1.3.2/kmod/proto.o
/home/yuehongliang/TOOL/drcom/drcom-1.3.2/kmod/proto.c: In function 'init_hijack':
/home/yuehongliang/TOOL/drcom/drcom-1.3.2/kmod/proto.c:412: error: 'security_ops' undeclared (first use in this function)
/home/yuehongliang/TOOL/drcom/drcom-1.3.2/kmod/proto.c:412: error: (Each undeclared identifier is reported only once
/home/yuehongliang/TOOL/drcom/drcom-1.3.2/kmod/proto.c:412: error: for each function it appears in.)
/home/yuehongliang/TOOL/drcom/drcom-1.3.2/kmod/proto.c: In function 'cleanup_hijack':
/home/yuehongliang/TOOL/drcom/drcom-1.3.2/kmod/proto.c:423: error: 'security_ops' undeclared (first use in this function)
make[3]: *** [/home/yuehongliang/TOOL/drcom/drcom-1.3.2/kmod/proto.o] 错误 1
make[2]: *** [_module_/home/yuehongliang/TOOL/drcom/drcom-1.3.2/kmod] 错误 2
make[2]: Leaving directory `/usr/src/linux-2.6.12-12mdk'
make[1]: *** [default] 错误 2
make[1]: Leaving directory `/home/yuehongliang/TOOL/drcom/drcom-1.3.2/kmod'
make: *** [kmod] 错误 2
[root@localhost drcom-1.3.2]#

请各位高手帮忙解答一下,谢谢!
发表于 2006-9-19 19:35:01 | 显示全部楼层
你装 kernel-source 了吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-19 20:19:50 | 显示全部楼层
安装了,但是还是同样的问题
回复 支持 反对

使用道具 举报

发表于 2006-9-20 19:40:15 | 显示全部楼层
似乎是编译器的问题,试试 gcc3.x 版本。
回复 支持 反对

使用道具 举报

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

本版积分规则

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