AnsweredAssumed Answered

wifi_intel.c android lollipop build error...

Question asked by Narasimman DLN on Aug 31, 2015
Latest reply on Mar 25, 2017 by warren jan

I am using the iMX6 SABRE-SDP board with android lollipop.

 

I am trying to add support Intel Wireless-N 7260 mini PCIE card, I followed the community guide to support PCIe Wifi.

https://community.freescale.com/docs/DOC-94045

 

But while building the source i got following error.

 

target thumb C++: netd <= system/netd/server/SoftapController.cpp

target Executable: rtl_wpa_supplicant (out/target/product/sabresd_6dq/obj/EXECUTABLES/rtl_wpa_supplicant_intermediates/LINKED/rtl_wpa_supplicant)

hardware/libhardware_legacy/wifi/wifi_intel.c: In function 'wifi_start_supplicant':

hardware/libhardware_legacy/wifi/wifi_intel.c:668:20: error: dereferencing pointer to incomplete type

         serial = pi->serial;

                    ^

hardware/libhardware_legacy/wifi/wifi_intel.c:685:26: error: dereferencing pointer to incomplete type

             } else if (pi->serial != serial &&

                          ^

hardware/libhardware_legacy/wifi/wifi_intel.c: In function 'wifi_ctrl_recv':

hardware/libhardware_legacy/wifi/wifi_intel.c:839:13: warning: implicit declaration of function 'wifi_close_sockets' [-Wimplicit-function-declaration]

             wifi_close_sockets(index);

             ^

hardware/libhardware_legacy/wifi/wifi_intel.c: At top level:

hardware/libhardware_legacy/wifi/wifi_intel.c:914:6: warning: conflicting types for 'wifi_close_sockets' [enabled by default]

void wifi_close_sockets(int index)

      ^

hardware/libhardware_legacy/wifi/wifi_intel.c:839:13: note: previous implicit declaration of 'wifi_close_sockets' was here

             wifi_close_sockets(index);

             ^

make: *** [out/target/product/sabresd_6dq/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/wifi/wifi_intel.o] Error 1

make: *** Waiting for unfinished jobs....

external/wpa_supplicant_8/wpa_supplicant/notify.c:87: error: undefined reference to 'sme_state_changed'

external/wpa_supplicant_8/wpa_supplicant/wpa_supplicant.c:449: error: undefined reference to 'sme_deinit'

external/wpa_supplicant_8/wpa_supplicant/wpa_supplicant.c:726: error: undefined reference to 'sme_sched_obss_scan'

external/wpa_supplicant_8/wpa_supplicant/wpa_supplicant.c:1435: error: undefined reference to 'sme_authenticate'

external/wpa_supplicant_8/wpa_supplicant/events.c:1349: error: undefined reference to 'sme_proc_obss_scan'

external/wpa_supplicant_8/wpa_supplicant/events.c:213: error: undefined reference to 'sme_update_ft_ies'

external/wpa_supplicant_8/wpa_supplicant/events.c:2215: error: undefined reference to 'sme_disassoc_while_authenticating'

external/wpa_supplicant_8/wpa_supplicant/events.c:2971: error: undefined reference to 'sme_event_auth'

external/wpa_supplicant_8/wpa_supplicant/events.c:2687: error: undefined reference to 'sme_event_disassoc'

external/wpa_supplicant_8/wpa_supplicant/events.c:3073: error: undefined reference to 'sme_event_assoc_reject'

external/wpa_supplicant_8/wpa_supplicant/events.c:3084: error: undefined reference to 'sme_event_auth_timed_out'

external/wpa_supplicant_8/wpa_supplicant/events.c:3088: error: undefined reference to 'sme_event_assoc_timed_out'

external/wpa_supplicant_8/wpa_supplicant/events.c:2563: error: undefined reference to 'sme_associate'

external/wpa_supplicant_8/wpa_supplicant/events.c:2831: error: undefined reference to 'sme_sa_query_rx'

external/wpa_supplicant_8/wpa_supplicant/events.c:2579: error: undefined reference to 'sme_event_unprot_disconnect'

external/wpa_supplicant_8/wpa_supplicant/events.c:2592: error: undefined reference to 'sme_event_unprot_disconnect'

external/wpa_supplicant_8/wpa_supplicant/wpas_glue.c:503: error: undefined reference to 'sme_update_ft_ies'

out/target/product/sabresd_6dq/obj/EXECUTABLES/rtl_wpa_supplicant_intermediates/src/drivers/drivers.o:drivers.c:function wpa_drivers: error: undefined reference to 'wpa_driver_nl80211_ops'

collect2: error: ld returned 1 exit status

make: *** [out/target/product/sabresd_6dq/obj/EXECUTABLES/rtl_wpa_supplicant_intermediates/LINKED/rtl_wpa_supplicant] Error 1

 

 

How can i resolve this error.

 

Thanks in advance.

 

Regards,

Narasimma

Outcomes