LINUX.ORG.RU
ФорумAdmin

Создание iSCSI target


0

0

Народ, кто поднимал у себя iscsi target, поделитесь опытом, плиз.
Есть сервер на debian etch, ядро 2.6.18-4. Исходник iscsitarget версии 0.4.15. При сборке выдает следующие ошибки:

chap.c:20:25: error: openssl/sha.h: No such file or directory
chap.c:21:25: error: openssl/md5.h: No such file or directory
chap.c: In function ‘chap_calc_digest_md5’:
chap.c:303: error: ‘MD5_CTX’ undeclared (first use in this function)
chap.c:303: error: (Each undeclared identifier is reported only once
chap.c:303: error: for each function it appears in.)
chap.c:303: error: expected ‘;’ before ‘ctx’
chap.c:305: warning: implicit declaration of function ‘MD5_Init’
chap.c:305: error: ‘ctx’ undeclared (first use in this function)
chap.c:306: warning: implicit declaration of function ‘MD5_Update’
chap.c:309: warning: implicit declaration of function ‘MD5_Final’
chap.c: In function ‘chap_calc_digest_sha1’:
chap.c:314: error: ‘SHA_CTX’ undeclared (first use in this function)
chap.c:314: error: expected ‘;’ before ‘ctx’
chap.c:316: warning: implicit declaration of function ‘SHA1_Init’
chap.c:316: error: ‘ctx’ undeclared (first use in this function)
chap.c:317: warning: implicit declaration of function ‘SHA1_Update’
chap.c:320: warning: implicit declaration of function ‘SHA1_Final’
make[1]: *** [chap.o] Ошибка 1
make[1]: Leaving directory `/usr/src/iscsitarget-0.4.15/usr'
make: *** [usr] Ошибка 2

Подскажите, чего ему не хватает?

anonymous

-dev пакета от openssl

Zulu ★★☆☆
()

В исправление к вышесказанному: с эти разобрался, теперь другая ошибка:

In file included from /root/install/iscsitarget-0.4.15/kernel/tio.c:7: /root/install/iscsitarget-0.4.15/kernel/iscsi.h:241: error: field ‘rx_hash’ has incomplete type /root/install/iscsitarget-0.4.15/kernel/iscsi.h:242: error: field ‘tx_hash’ has incomplete type make[2]: *** [/root/install/iscsitarget-0.4.15/kernel/tio.o] Ошибка 1 make[1]: *** [_module_/root/install/iscsitarget-0.4.15/kernel] Ошибка 2 make[1]: Leaving directory `/usr/src/linux-source-2.6.18' make: *** [kernel] Ошибка 2

anonymous
()
Ответ на: комментарий от anonymous

Все вопрос снят, тема закрыта, спасибо за ответы.

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.