imx6slevk - WL18xx Build Problems

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6slevk - WL18xx Build Problems

1,921 Views
nigelevans
Contributor III

Hi,

I have been unable to build the sources to get Wifi working on my evk6sl board due to the follwing errors:

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

out/target/product/evk_6sl/obj/EXECUTABLES/rtl_hostapd_intermediates/src/drivers/driver_nl80211.o:driver_nl80211.c:function wpa_driver_nl80211_ops: error: undefined reference to 'wpa_driver_nl80211_driver_cmd'

collect2: error: ld returned 1 exit status

build/core/executable_internal.mk:69: recipe for target 'out/target/product/evk_6sl/obj/EXECUTABLES/rtl_hostapd_intermediates/LINKED/rtl_hostapd' failed

make: *** [out/target/product/evk_6sl/obj/EXECUTABLES/rtl_hostapd_intermediates/LINKED/rtl_hostapd] Error 1

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

target Executable: wpa_supplicant (out/target/product/evk_6sl/obj/EXECUTABLES/wpa_supplicant_intermediates/LINKED/wpa_supplicant)

external/wpa_supplicant_8/wpa_supplicant/src/drivers/driver_nl80211.c:11421: error: undefined reference to 'wpa_driver_set_p2p_ps'

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

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

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

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

collect2: error: ld returned 1 exit status

build/core/executable_internal.mk:69: recipe for target 'out/target/product/evk_6sl/obj/EXECUTABLES/rtl_wpa_supplicant_intermediates/LINKED/rtl_wpa_supplicant' failed

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

out/target/product/evk_6sl/obj/EXECUTABLES/wpa_supplicant_intermediates/src/drivers/driver_nl80211.o:driver_nl80211.c:function wpa_driver_nl80211_ops: error: undefined reference to 'wpa_driver_nl80211_driver_cmd'

collect2: error: ld returned 1 exit status

build/core/executable_internal.mk:69: recipe for target 'out/target/product/evk_6sl/obj/EXECUTABLES/wpa_supplicant_intermediates/LINKED/wpa_supplicant' failed

make: *** [out/target/product/evk_6sl/obj/EXECUTABLES/wpa_supplicant_intermediates/LINKED/wpa_supplicant] Error 1

Can anybody shed some light on where the error may be?

Many Thanks.

Labels (2)
0 Kudos
4 Replies

861 Views
rizwan_s
Contributor II

Hi Nigel,

Iam also facing the same issue

function wpa_drivers: error: undefined reference to 'wpa_driver_nl80211_ops'
collect2: error: ld returned 1 exit status

How did u solve this?

Regards

Rizwan Syed

0 Kudos

861 Views
igorpadykov
NXP Employee
NXP Employee

Hi nigel

I believe special wl18xx scripts for buidling should be used as described below

WL18xx Linux Wireless Architecture - Texas Instruments Wiki

WiLink8 WLAN Demo: Linux - Texas Instruments Wiki

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

861 Views
nigelevans
Contributor III

Hi Igor,

Thanks for the links, but they don't seem to have any relevance to compiling the code.

I followed the instructions here to compile, but it fails with the previous stated errors:

WL18xx First Time Getting Started Guide (IMX6) - Texas Instruments Wiki

Best Regards,

Nigel

0 Kudos

861 Views
igorpadykov
NXP Employee
NXP Employee

Hi Nigel

wl18xx drivers are provided and supported by TI, please post issue on TI WiKi.

Best regards

igor

0 Kudos