Hostapd make error

Tomislav Parčina tomislav.parcina at gmail.com
Fri Dec 11 09:11:34 EST 2009


When I execute sudo make on hostapd (GIT from today) I get this error
message. What could be the problem? How to troubleshoot this?

Any help would be appreciated!

Best regards.


sudo make
  CC  hostapd.c
  CC  main.c
  CC  ieee802_1x.c
  CC  config.c
  CC  ieee802_11_auth.c
  CC  sta_info.c
  CC  wpa.c
  CC  preauth.c
  CC  pmksa_cache.c
  CC  drv_callbacks.c
  CC  tkip_countermeasures.c
  CC  mlme.c
  CC  wpa_auth_ie.c
  CC  ../src/drivers/drivers.c
  CC  ../src/drivers/scan_helpers.c
  CC  ../src/utils/eloop.c
  CC  ../src/utils/common.c
  CC  ../src/utils/wpa_debug.c
  CC  ../src/utils/wpabuf.c
  CC  ../src/utils/os_unix.c
  CC  ../src/utils/ip_addr.c
  CC  ../src/common/ieee802_11_common.c
  CC  ../src/common/wpa_common.c
  CC  ../src/eapol_auth/eapol_auth_sm.c
  CC  dump_state.c
  CC  ../src/eapol_auth/eapol_auth_dump.c
  CC  ../src/radius/radius.c
  CC  ../src/radius/radius_client.c
  CC  accounting.c
  CC  vlan_init.c
  CC  ctrl_iface.c
  CC  ctrl_iface_ap.c
  CC  ../src/crypto/md5.c
  CC  iapp.c
  CC  peerkey.c
  CC  wpa_ft.c
  CC  ../src/utils/radiotap.c
  CC  ../src/drivers/driver_hostap.c
  CC  ../src/drivers/driver_nl80211.c
  CC  ../src/l2_packet/l2_packet_linux.c
  CC  ../src/eap_server/eap_md5.c
  CC  ../src/eap_server/eap_tls.c
  CC  ../src/eap_server/eap_peap.c
  CC  ../src/eap_common/eap_peap_common.c
  CC  ../src/eap_server/eap_ttls.c
  CC  ../src/eap_server/eap_mschapv2.c
  CC  ../src/eap_server/eap_gtc.c
  CC  eap_register.c
  CC  ../src/eap_server/eap.c
  CC  ../src/eap_common/eap_common.c
  CC  ../src/eap_server/eap_methods.c
  CC  ../src/eap_server/eap_identity.c
  CC  ../src/crypto/ms_funcs.c
  CC  ../src/eap_common/chap.c
  CC  ../src/eap_server/eap_tls_common.c
  CC  ../src/crypto/tls_openssl.c
  CC  ../src/crypto/crypto_openssl.c
  CC  ../src/crypto/aes-wrap.c
  CC  ../src/crypto/aes-omac1.c
  CC  ../src/crypto/aes-unwrap.c
  CC  ../src/crypto/sha1.c
  CC  ../src/crypto/sha1-pbkdf2.c
  CC  ../src/crypto/sha1-tlsprf.c
  CC  ../src/crypto/sha256.c
  CC  beacon.c
  CC  wme.c
  CC  ap_list.c
  CC  ieee802_11.c
  CC  hw_features.c
cc  -o hostapd hostapd.o main.o ieee802_1x.o config.o
ieee802_11_auth.o sta_info.o wpa.o preauth.o pmksa_cache.o
drv_callbacks.o tkip_countermeasures.o mlme.o wpa_auth_ie.o
../src/drivers/drivers.o ../src/drivers/scan_helpers.o
../src/utils/eloop.o ../src/utils/common.o ../src/utils/wpa_debug.o
../src/utils/wpabuf.o ../src/utils/os_unix.o ../src/utils/ip_addr.o
../src/common/ieee802_11_common.o ../src/common/wpa_common.o
../src/eapol_auth/eapol_auth_sm.o dump_state.o
../src/eapol_auth/eapol_auth_dump.o ../src/radius/radius.o
../src/radius/radius_client.o accounting.o vlan_init.o ctrl_iface.o
ctrl_iface_ap.o ../src/crypto/md5.o iapp.o peerkey.o wpa_ft.o
../src/utils/radiotap.o ../src/drivers/driver_hostap.o
../src/drivers/driver_nl80211.o ../src/l2_packet/l2_packet_linux.o
../src/eap_server/eap_md5.o ../src/eap_server/eap_tls.o
../src/eap_server/eap_peap.o ../src/eap_common/eap_peap_common.o
../src/eap_server/eap_ttls.o ../src/eap_server/eap_mschapv2.o
../src/eap_server/eap_gtc.o eap_register.o ../src/eap_server/eap.o
../src/eap_common/eap_common.o ../src/eap_server/eap_methods.o
../src/eap_server/eap_identity.o ../src/crypto/ms_funcs.o
../src/eap_common/chap.o ../src/eap_server/eap_tls_common.o
../src/crypto/tls_openssl.o ../src/crypto/crypto_openssl.o
../src/crypto/aes-wrap.o ../src/crypto/aes-omac1.o
../src/crypto/aes-unwrap.o ../src/crypto/sha1.o
../src/crypto/sha1-pbkdf2.o ../src/crypto/sha1-tlsprf.o
../src/crypto/sha256.o beacon.o wme.o ap_list.o ieee802_11.o
hw_features.o -lnl -lssl -lcrypto
dump_state.o: In function `hostapd_dump_state':
/usr/src/hostap/hostapd/dump_state.c:159: undefined reference to
`radius_server_get_mib'
collect2: ld returned 1 exit status
make: *** [hostapd] Error 1


--
Tomislav Parčina


More information about the HostAP mailing list