Доброго дня!
Поставил Zentyal 2.0.4 (на основе Ubuntu Server 10.04). Возникла проблема с hostapd 0.6.9, установленного из репозитория (не хочет запускаться). Решил собрать из исходников. При компиляции ругается
../src/crypto/tls_openssl.c: In function ‘tls_connection_get_keyblock_size’:
../src/crypto/tls_openssl.c:2706: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../src/crypto/tls_openssl.c:2706: error: ‘c’ undeclared (first use in this function)
../src/crypto/tls_openssl.c:2707: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../src/crypto/tls_openssl.c:2707: error: ‘h’ undeclared (first use in this function)
../src/crypto/tls_openssl.c:2709: error: ‘struct tls_connection’ has no member named ‘ssl’
../src/crypto/tls_openssl.c:2710: error: ‘struct tls_connection’ has no member named ‘ssl’
../src/crypto/tls_openssl.c:2711: error: ‘struct tls_connection’ has no member named ‘ssl’
../src/crypto/tls_openssl.c:2712: error: ‘struct tls_connection’ has no member named ‘ssl’
../src/crypto/tls_openssl.c:2715: error: ‘struct tls_connection’ has no member named ‘ssl’
../src/crypto/tls_openssl.c:2719: error: ‘struct tls_connection’ has no member named ‘ssl’
../src/crypto/tls_openssl.c:2722: warning: implicit declaration of function ‘EVP_CIPHER_key_length’
../src/crypto/tls_openssl.c:2723: warning: implicit declaration of function ‘EVP_MD_size’
../src/crypto/tls_openssl.c:2724: warning: implicit declaration of function ‘EVP_CIPHER_iv_length’
make: *** [../src/crypto/tls_openssl.o] Error 1
Пробовал разные версии hostapd. Openssl и библиотеки есть. В чем может быть дело?