免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2796 | 回复: 0
打印 上一主题 下一主题

SLES10SP3上编译open-iscsi-2.0-865.15报错问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-06-30 10:47 |只看该作者 |倒序浏览
执行命令进行编译:linux-goar:~/iscsicode/open-iscsi-2.0-865.15 # make KSRC=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux-obj/i586/default/

编译结果打印如下错误:
In file included from /root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_tcp.h:55,
                 from /root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_tcp.c:45:
/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_2.6.20_compat.h:4: error: redefinition of ?.truct hash_desc?
/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_2.6.20_compat.h:10: error: redefinition of ?.rypto_hash_init?
/usr/src/linux-2.6.16.60-0.54.5/include/linux/crypto.h:949: error: previous definition of ?.rypto_hash_init?.was here
/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_2.6.20_compat.h: In function ?.rypto_hash_init?.
/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_2.6.20_compat.h:11: error: implicit declaration of function ?.rypto_digest_init?
/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_2.6.20_compat.h: At top level:
/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_2.6.20_compat.h:18: error: redefinition of ?.rypto_hash_digest?
/usr/src/linux-2.6.16.60-0.54.5/include/linux/crypto.h:968: error: previous definition of ?.rypto_hash_digest?.was here
/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_2.6.20_compat.h: In function ?.rypto_hash_digest?.
/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_2.6.20_compat.h:19: error: implicit declaration of function ?.rypto_digest_digest?
/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_2.6.20_compat.h: At top level:
/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_2.6.20_compat.h:26: error: redefinition of ?.rypto_hash_update?
/usr/src/linux-2.6.16.60-0.54.5/include/linux/crypto.h:956: error: previous definition of ?.rypto_hash_update?.was here
/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_2.6.20_compat.h: In function ?.rypto_hash_update?.
/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_2.6.20_compat.h:27: error: implicit declaration of function ?.rypto_digest_update?
/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_2.6.20_compat.h: At top level:
/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_2.6.20_compat.h:32: error: redefinition of ?.rypto_hash_final?
/usr/src/linux-2.6.16.60-0.54.5/include/linux/crypto.h:961: error: previous definition of ?.rypto_hash_final?.was here
/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_2.6.20_compat.h: In function ?.rypto_hash_final?.
/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_2.6.20_compat.h:33: error: implicit declaration of function ?.rypto_digest_final?
/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_2.6.20_compat.h: At top level:
/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_2.6.20_compat.h:39: error: conflicting types for ?.rypto_alloc_hash?
/usr/src/linux-2.6.16.60-0.54.5/include/linux/crypto.h:886: error: previous definition of ?.rypto_alloc_hash?.was here
/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_2.6.20_compat.h:45: error: conflicting types for ?.rypto_free_hash?
/usr/src/linux-2.6.16.60-0.54.5/include/linux/crypto.h:900: error: previous definition of ?.rypto_free_hash?.was here
make[4]: *** [/root/iscsicode/open-iscsi-2.0-865.15/kernel/iscsi_tcp.o] Error 1
make[3]: *** [_module_/root/iscsicode/open-iscsi-2.0-865.15/kernel] Error 2
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.16.60-0.54.5'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/iscsicode/open-iscsi-2.0-865.15/kernel'
make: *** [all] Error 2
linux-goar:~/iscsicode/open-iscsi-2.0-865.15 #

请各位高手帮忙,多谢。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP