Tool/software: Linux
Hi ,
I am trying to fix KRACK issue based on the " https://e2e.ti.com/support/wireless_connectivity/wilink_wifi_bluetooth/f/307/t/632870"
Bacground info:
Linux version 3.2.0
Compat-wireless backport release: ol_R5.SP4.01
wl12xx: firmware booted (Rev 6.3.10.0.136)
I have downloaded the latest upstream package from https://w1.fi/cgit/hostap/snapshot/hostap_2_6.zip
I am trying to cross compile with 3.2 kernel & Compat-wireless backport release: ol_R5.SP4.01. Its failing
CC ../src/ap/ap_list.c
CC ../src/ap/ieee802_11.c
CC ../src/ap/hw_features.c
CC ../src/ap/dfs.c
CC ../src/drivers/driver_common.c
../src/drivers/driver_nl80211.o: In function `get_channel_width':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:6925: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:6925: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211.o: In function `get_link_noise':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:1300: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:1300: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211.o: In function `survey_handler':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:7245: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:7245: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211.o: In function `cookie_handler':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:6499: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:6499: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211.o: In function `get_sta_handler':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:5573: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:5573: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211.o: In function `netdev_info_handler':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:531: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:531: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211.o: In function `process_beacon_event':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:645: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:645: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211.o: In function `nl80211_wdev_handler':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:6250: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:6250: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211.o: In function `get_key_handler':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:5440: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:5440: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211.o: In function `vendor_reply_handler':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:8225: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:8225: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211.o: In function `nl80211_handle_destroy':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:80: undefined reference to `nl_handle_destroy'
../src/drivers/driver_nl80211.o: In function `nl80211_handle_alloc':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:58: undefined reference to `nl_handle_alloc_cb'
../src/drivers/driver_nl80211.o: In function `nl_create_handle':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:104: undefined reference to `genl_connect'
../src/drivers/driver_nl80211.o: In function `family_handler':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:402: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:402: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211.o: In function `get_link_signal':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:1228: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:1228: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211.o: In function `nl80211_get_country':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:1403: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:1403: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211.o: In function `nl_get_multicast_id':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:435: undefined reference to `genl_ctrl_resolve'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:435: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_init_nl_global':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:1450: undefined reference to `genl_ctrl_resolve'
../src/drivers/driver_nl80211.o: In function `nl80211_cmd':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211.c:454: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211_capa.o: In function `protocol_feature_handler':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211_capa.c:28: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211_capa.c:28: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211_capa.o: In function `nl80211_get_reg':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211_capa.c:1635: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211_capa.c:1635: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211_capa.o: In function `wiphy_info_handler':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211_capa.c:561: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211_capa.c:561: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211_capa.o: In function `phy_info_handler':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211_capa.c:1322: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211_capa.c:1322: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211_event.o: In function `process_global_event':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211_event.c:2267: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211_event.c:2267: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211_event.o: In function `process_bss_event':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211_event.c:2303: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211_event.c:2303: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211_scan.o: In function `get_noise_for_scan_results':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211_scan.c:36: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211_scan.c:36: undefined reference to `genlmsg_attrlen'
../src/drivers/driver_nl80211_scan.o: In function `bss_info_handler':
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211_scan.c:592: undefined reference to `genlmsg_attrdata'
ol_R5_SP5.01/hostap-hostap_2_6/hostapd/../src/drivers/driver_nl80211_scan.c:592: undefined reference to `genlmsg_attrlen'
collect2: ld returned 1 exit status
make: *** [hostapd] Error 1
It would be great if you share the build process & dependent libs if any ...
Thanks & Regards
Raghu Ramaraj