2 u010021843 u010021843 于 2014.04.04 16:25 提问

wpa_supplicant编译时出现 undefined reference to `sha256_vector'

CC ../src/drivers/drivers.c
CC ../src/l2_packet/l2_packet_linux.c
../src/wps/wps_common.o: In function wps_derive_keys':
/home/atheros/Atheros-P2P/wpa_supplicant-2.1/wpa_supplicant/../src/wps/wps_common.c:101: undefined reference to
sha256_vector'
../src/wps/wps_enrollee.o: In function wps_process_pubkey':
/home/atheros/Atheros-P2P/wpa_supplicant-2.1/wpa_supplicant/../src/wps/wps_enrollee.c:519: undefined reference to
sha256_vector'
../src/crypto/tls_openssl.o: In function openssl_tls_cert_event':
/home/atheros/Atheros-P2P/wpa_supplicant-2.1/wpa_supplicant/../src/crypto/tls_openssl.c:1346: undefined reference to
sha256_vector'
../src/crypto/tls_openssl.o: In function tls_verify_cb':
/home/atheros/Atheros-P2P/wpa_supplicant-2.1/wpa_supplicant/../src/crypto/tls_openssl.c:1421: undefined reference to
sha256_vector'
../src/crypto/crypto_openssl.o: In function crypto_hash_init':
/home/atheros/Atheros-P2P/wpa_supplicant-2.1/wpa_supplicant/../src/crypto/crypto_openssl.c:620: undefined reference to
EVP_sha256'
../src/crypto/crypto_openssl.o: In function hmac_sha256_vector':
/home/atheros/Atheros-P2P/wpa_supplicant-2.1/wpa_supplicant/../src/crypto/crypto_openssl.c:754: undefined reference to
EVP_sha256'
collect2: error: ld returned 1 exit status
make: *** [wpa_supplicant] Error 1
root@atheros:/home/atheros/Atheros-P2P/wpa_supplicant-2.1/wpa_supplicant#

Csdn user default icon
上传中...
上传图片
插入图片