LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Unable to compile hostapd (http://www.linuxquestions.org/questions/linux-wireless-networking-41/unable-to-compile-hostapd-873788/)

tkdlady 04-08-2011 11:12 AM

Unable to compile hostapd
 
I have looked at the other posts that are similar in nature but they do not answer my question completely. Plus I am really new to Linux and working within this environment. Not even sure of all the information you will need to answer me but I did make a copy of my error messages. I will provide any other information I can but may need help figuring out how to do that. Hope you people are patient.

These are the warnings I get when I try to compile:
Code:


../src/drivers/driver_nl80211.c: In function ‘send_and_recv’:
../src/drivers/driver_nl80211.c:202: warning: passing argument 1 of ‘nl_send_auto_complete’ from incompatible pointer type
/usr/local/include/netlink/netlink.h:60: note: expected ‘struct nl_sock *’ but argument is of type ‘struct nl_handle *’
../src/drivers/driver_nl80211.c:217: warning: passing argument 1 of ‘nl_recvmsgs’ from incompatible pointer type
/usr/local/include/netlink/netlink.h:70: note: expected ‘struct nl_sock *’ but argument is of type ‘struct nl_handle *’
../src/drivers/driver_nl80211.c: In function ‘nl_get_multicast_id’:
../src/drivers/driver_nl80211.c:282: warning: passing argument 1 of ‘genl_ctrl_resolve’ from incompatible pointer type
/usr/local/include/netlink/genl/ctrl.h:30: note: expected ‘struct nl_sock *’ but argument is of type ‘struct nl_handle *’
../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_event_receive’:
../src/drivers/driver_nl80211.c:1095: warning: passing argument 1 of ‘nl_recvmsgs’ from incompatible pointer type
/usr/local/include/netlink/netlink.h:70: note: expected ‘struct nl_sock *’ but argument is of type ‘struct nl_handle *’
../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_init_nl’:
../src/drivers/driver_nl80211.c:1265: warning: implicit declaration of function ‘nl_handle_alloc_cb’
../src/drivers/driver_nl80211.c:1265: warning: assignment makes pointer from integer without a cast
../src/drivers/driver_nl80211.c:1272: warning: assignment makes pointer from integer without a cast
../src/drivers/driver_nl80211.c:1279: warning: passing argument 1 of ‘genl_connect’ from incompatible pointer type
/usr/local/include/netlink/genl/genl.h:23: note: expected ‘struct nl_sock *’ but argument is of type ‘struct nl_handle *’
../src/drivers/driver_nl80211.c:1285: warning: passing argument 1 of ‘genl_connect’ from incompatible pointer type
/usr/local/include/netlink/genl/genl.h:23: note: expected ‘struct nl_sock *’ but argument is of type ‘struct nl_handle *’
../src/drivers/driver_nl80211.c:1305: warning: passing argument 1 of ‘genl_ctrl_alloc_cache’ from incompatible pointer type
/usr/local/include/netlink/genl/ctrl.h:25: note: expected ‘struct nl_sock *’ but argument is of type ‘struct nl_handle *’
../src/drivers/driver_nl80211.c:1305: warning: assignment makes pointer from integer without a cast
../src/drivers/driver_nl80211.c:1312: warning: passing argument 1 of ‘genl_ctrl_alloc_cache’ from incompatible pointer type
/usr/local/include/netlink/genl/ctrl.h:25: note: expected ‘struct nl_sock *’ but argument is of type ‘struct nl_handle *’
../src/drivers/driver_nl80211.c:1312: warning: assignment makes pointer from integer without a cast
../src/drivers/driver_nl80211.c:1329: warning: passing argument 1 of ‘nl_socket_add_membership’ from incompatible pointer type
/usr/local/include/netlink/socket.h:30: note: expected ‘struct nl_sock *’ but argument is of type ‘struct nl_handle *’
../src/drivers/driver_nl80211.c:1339: warning: passing argument 1 of ‘nl_socket_add_membership’ from incompatible pointer type
/usr/local/include/netlink/socket.h:30: note: expected ‘struct nl_sock *’ but argument is of type ‘struct nl_handle *’
../src/drivers/driver_nl80211.c:1347: warning: passing argument 1 of ‘nl_socket_get_fd’ from incompatible pointer type
/usr/local/include/netlink/socket.h:58: note: expected ‘const struct nl_sock *’ but argument is of type ‘struct nl_handle *’
../src/drivers/driver_nl80211.c:1357: warning: implicit declaration of function ‘nl_handle_destroy’
../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_init’:
../src/drivers/driver_nl80211.c:1427: warning: passing argument 1 of ‘nl_socket_get_fd’ from incompatible pointer type
/usr/local/include/netlink/socket.h:58: note: expected ‘const struct nl_sock *’ but argument is of type ‘struct nl_handle *’
../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_deinit’:
../src/drivers/driver_nl80211.c:1601: warning: passing argument 1 of ‘nl_socket_get_fd’ from incompatible pointer type
/usr/local/include/netlink/socket.h:58: note: expected ‘const struct nl_sock *’ but argument is of type ‘struct nl_handle *’
../src/drivers/driver_nl80211.o: In function `nl80211_signal_monitor':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:5299: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:5299: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_del_beacon':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1528: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1528: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `nl80211_remove_iface':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:3012: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:3012: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `nl80211_set_mode':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:3987: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:3987: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_cancel_remain_on_channel':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:5084: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:5084: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_remain_on_channel':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:5040: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:5040: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `i802_set_frag':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4342: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4342: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `i802_set_rts':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4310: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4310: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_set_freq':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2898: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2898: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_mlme':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2315: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2315: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_set_supp_port':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4109: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4109: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `i802_set_sta_vlan':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4560: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4560: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `i802_set_bss':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4512: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4512: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `i802_set_rate_sets':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4263: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4263: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_sta_set_flags':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:3582: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:3582: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_sta_add':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2942: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2942: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_sta_remove':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2980: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2980: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `i802_read_sta_data':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4445: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4445: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `i802_flush':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4367: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4367: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `i802_get_seqnum':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4233: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4233: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_set_beacon':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2866: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2866: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_set_country':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1124: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1124: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `nl80211_create_iface_once':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:3036: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:3036: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `nl80211_disable_11b_rates':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:5168: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:5168: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `i802_set_tx_queue_params':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4469: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4469: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `cookie_handler':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4951: undefined reference to `genlmsg_attrlen'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4951: undefined reference to `genlmsg_attrdata'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_send_action':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4998: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4998: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `nl80211_get_scan_results':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2016: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2016: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `get_sta_handler':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4396: undefined reference to `genlmsg_attrlen'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4396: undefined reference to `genlmsg_attrdata'
../src/drivers/driver_nl80211.o: In function `get_key_handler':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4206: undefined reference to `genlmsg_attrlen'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4206: undefined reference to `genlmsg_attrdata'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_scan':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1669: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1669: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_associate':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:3915: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:3915: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_connect':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:3754: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:3754: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_ibss':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:3687: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:3687: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `nl80211_leave_ibss':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:3647: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:3647: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `bss_info_handler':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1833: undefined reference to `genlmsg_attrlen'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1833: undefined reference to `genlmsg_attrdata'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_set_key':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2103: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2103: undefined reference to `genlmsg_put'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2106: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2106: undefined reference to `genlmsg_put'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2174: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2174: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_get_hw_feature_data':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2760: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2760: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `phy_info_handler':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2528: undefined reference to `genlmsg_attrlen'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2528: undefined reference to `genlmsg_attrdata'
../src/drivers/driver_nl80211.o: In function `process_event':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:979: undefined reference to `genlmsg_attrlen'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:979: undefined reference to `genlmsg_attrdata'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_deinit':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1602: undefined reference to `genl_family_put'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1605: undefined reference to `nl_handle_destroy'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1606: undefined reference to `nl_handle_destroy'
../src/drivers/driver_nl80211.o: In function `family_handler':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:249: undefined reference to `genlmsg_attrlen'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:249: undefined reference to `genlmsg_attrdata'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_authenticate':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2403: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:2403: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `nl_get_multicast_id':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:282: undefined reference to `genl_ctrl_resolve'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:282: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `nl80211_register_action_frame':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1444: undefined reference to `genl_family_get_id'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1444: undefined reference to `genlmsg_put'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_init_nl':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1265: undefined reference to `nl_handle_alloc_cb'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1272: undefined reference to `nl_handle_alloc_cb'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1279: undefined reference to `genl_connect'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1285: undefined reference to `genl_connect'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1305: undefined reference to `genl_ctrl_alloc_cache'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1312: undefined reference to `genl_ctrl_alloc_cache'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1320: undefined reference to `genl_ctrl_search_by_name'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1357: undefined reference to `nl_handle_destroy'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1359: undefined reference to `nl_handle_destroy'
../src/drivers/driver_nl80211.o: In function `wpa_driver_nl80211_init':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1423: undefined reference to `genl_family_put'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:1425: undefined reference to `nl_handle_destroy'
../src/drivers/driver_nl80211.o: In function `i802_init':
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4822: undefined reference to `genl_family_put'
/home/oslynn/Documents/HostAP/hostapd-0.7.3/hostapd/../src/drivers/driver_nl80211.c:4824: undefined reference to `nl_handle_destroy'
collect2: ld returned 1 exit status
make: *** [hostapd] Error 1


knudfl 04-08-2011 12:09 PM

Welcome to LQ. .. .. :) ..

Have you tried with # yum install hostapd
( hostapd is available for Fedora 12..14.)


Building hostapd : May be you are missing a requirement ..
http://hostap.epitest.fi/gitweb/gitw...hostapd/README
Or / and # yum install glibc-devel kernel-devel openssl-devel

About post #1 : Could you please edit it to use code tags :
[/code] at code end, and [code] at code text start.
http://www.linuxquestions.org/questi....php?do=bbcode
..

tkdlady 04-09-2011 11:11 AM

Thanks for the reply and I have looked at the links. Like I said I am real new to this. I don't know what you mean by # yum. I will look a bit closer at the requirements listed in that first link and see if I can figure out if my system meets them. Thanks again.

knudfl 04-09-2011 01:55 PM

Quote:

I don't know what you mean by # yum.
'yum' is the Fedora software installer. In Linux we do usually not download software.
But use a command line installer like yum, or the GUI 'Package Manager'. ('yumex'?)
It's like a catalog with 16,000 packages :
Choose, click OK, and the software gets installed.

Using yum : Open the terminal, and : 1) su <enter-password>
2) yum search <name> ( Or part of name )
3) yum install hostapd

Also useful : Finding the package that provides a file : yum provides */<file>
Please also read 'man yum'. It's a manual page, to be read in the terminal.
http://linux.die.net/man/8/yum
More questions : Then please tell which Fedora, you use. ( cat /etc/redhat-release ).

Good luck !
..

tkdlady 04-10-2011 08:59 PM

Once again, thank you for your help. I will check this out tomorrow at work.


All times are GMT -5. The time now is 05:36 PM.