raspbian arm pi2 B+ build issue
Closed this issue · 1 comments
Linux 4.14.50-kali-v7+
OpenSSL 1.1.0h 27 Mar 2018
CC main.c
CC config_file.c
CC ../src/ap/hostapd.c
CC ../src/ap/wpa_auth_glue.c
CC ../src/ap/drv_callbacks.c
CC ../src/ap/ap_drv_ops.c
CC ../src/ap/utils.c
CC ../src/ap/authsrv.c
CC ../src/ap/ieee802_1x.c
CC ../src/ap/ap_config.c
CC ../src/ap/eap_user_db.c
CC ../src/ap/ieee802_11_auth.c
CC ../src/ap/sta_info.c
CC ../src/ap/wpa_auth.c
CC ../src/ap/tkip_countermeasures.c
CC ../src/ap/ap_mlme.c
CC ../src/ap/wpa_auth_ie.c
CC ../src/ap/preauth_auth.c
CC ../src/ap/pmksa_cache_auth.c
CC ../src/ap/ieee802_11_shared.c
CC ../src/ap/beacon.c
CC ../src/ap/bss_load.c
CC ../src/ap/neighbor_db.c
CC ../src/ap/rrm.c
../src/wpe/wpe.c: In function 'wpe_hb_cb':
../src/wpe/wpe.c:193:27: error: 'TLS1_RT_HEARTBEAT' undeclared (first use in this function); did you mean 'DTLS1_RT_HEARTBEAT'?
if (v_content_type == TLS1_RT_HEARTBEAT) {
^~~~~~~~~~~~~~~~~
DTLS1_RT_HEARTBEAT
../src/wpe/wpe.c:193:27: note: each undeclared identifier is reported only once for each function it appears in
../src/wpe/wpe.c:195:14: error: dereferencing pointer to incomplete type 'SSL' {aka 'struct ssl_st'}
v_ssl->tlsext_hb_pending = 1;
^~
make: *** [Makefile:1037: ../src/wpe/wpe.o] Error 1
I did manage to build this application on x86_64 Debian but wasn't sure whether to just copy it over onto the pi2b+ armv7 or build it anew on the device itself . I figured building it on the device it'll be running on would be best . Thing is the openssl version isn't exactly the one the build requires . On the Debian VM i 've put a hold on the openssl version 1.0 , the arm's os is a fresh Kali-lite arm/pi2 install .I specifically wanted to test it as a portable wifi AP .
Oops
apt-get install libssl1.0-dev kinda of solved it ,
i should have seen other similar issues instead of opening this new one , sorry