- 论坛徽章:
- 0
|
执行命令进行编译: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 #
请各位高手帮忙,多谢。 |
|