Народ, кто поднимал у себя 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
Подскажите, чего ему не хватает?