Community
cancel
Showing results for 
Search instead for 
Did you mean: 
UMama
Beginner
293 Views

Hi Team, We are using the Apollo-lake SDK(E39XX), I trying to cross compiling the Redpine RS9113 proprietary driver getting linker errors. PFA error logs below. Can you please help us to resolve this error?

Build Configuration:

BB_VERSION      = "1.42.0"

BUILD_SYS      = "x86_64-linux"

NATIVELSBSTRING   = "universal"

TARGET_SYS      = "x86_64-poky-linux"

MACHINE       = "intel-corei7-64"

DISTRO        = "poky"

DISTRO_VERSION    = "2.7.1"

TUNE_FEATURES    = "m64 corei7"

TARGET_FPU      = ""

meta         

meta-poky       

meta-yocto-bsp    

meta-intel      

meta-intel-middleware 

meta-filesystems   

meta-networking    

meta-oe        

meta-python      

meta-multimedia    

meta-qt5       

meta-intel-leafhill  

meta-tpm2      = "master:09ba5a02f3572d3182f33aa4fa2a983b407493bc"

 

 

Error logs:

/home/mamathau/INTEL_E39XX/yocto_build/build/tmp/work/intel_corei7_64-poky-linux/kernel-devsrc/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/8.3.0/ld: cannot find Scrt1.o: No such file or directory

/home/mamathau/INTEL_E39XX/yocto_build/build/tmp/work/intel_corei7_64-poky-linux/kernel-devsrc/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/8.3.0/ld: cannot find crti.o: No such file or directory

/home/mamathau/INTEL_E39XX/yocto_build/build/tmp/work/intel_corei7_64-poky-linux/kernel-devsrc/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/8.3.0/ld: cannot find crtbeginS.o: No such file or directory

collect2: error: ld returned 1 exit status

Makefile:1585: recipe for target 'wpa_supplicant' failed

make[1]: *** [wpa_supplicant] Error 1

make[1]: Leaving directory '/home/mamathau/RS9113.NBZ.NL.GENR.LNX.1.6.3/source/host/wlan/supplicant/linux/wpa_supplicant'

Makefile:403: recipe for target 'wpa_supplicant' failed

make: *** [wpa_supplicant] Error 2

0 Kudos
5 Replies
CarlosAM_INTEL
Moderator
184 Views

Hello, @UMama​:

 

Thank you for contacting Intel Embedded Community.

 

Reviewing the provide information, we found the following interesting information : MACHINE  = "intel-corei7-64" .

 

Based on this information, could you please let us know the procedure to obtain the driver associated to this condition? Could you please clarify if the affected implementation has been developed by you or it is a third-party one? Please give all the information (such manufacturer name, part number, model, and where its documentation can be found) if it is a third-party device. In case that it is your design, could you please clarify if it has been verify by Intel?

 

We are waiting for your clarification.

 

Best regards,

@Mæcenas_INTEL​.

 

UMama
Beginner
184 Views

 

Hi, @Mæcenas_INTEL

 

I am facing issue while cross compiling third party wpa_supplicant 2.6 in nl80211 with Apollo-lake build SDK.

 

link : http://www.linuxfromscratch.org/blfs/view/8.1/basicnet/wpa_supplicant.html

 

Before doing cross compilation Need to enable the nl80211 in wpa_supplicant/.config file

By default, the driver package comes with “BSD” support. we need Nl80211 support for Access point and Station modes.

Before doing cross compilation change the wpa_supplicant-2.6/wpa_supplicant/.config as mentioned below.

Need to comment below line in .config file

CONFIG_DRIVER_BSD=y

and enable below line

CONFIG_DRIVER_NL80211=y

add all LIBS and CFLAGS path in .config file.

 

 

CarlosAM_INTEL
Moderator
184 Views

Hello, @UMama​:

 

Thanks for your reply.

 

Your consultations of this driver or the ones posted in the provided website should be addressed as a reference to the channels listed in the following website:

 

http://www.linuxfromscratch.org/support.html

 

Best regards,

@Mæcenas_INTEL​.

UMama
Beginner
184 Views

Hi @Mæcenas_INTEL 

 

Thanks for the replay

 

We build the Apollo-lake SDK as give below link

https://github.com/intel/iotg-yocto-bsp-public/tree/e3900/master

git checkout MR5-B-01

 

I just want know, is wpa_supplicant-2.6 compiled with this given SDK?

if yes, may I please get the steps to compile the wpa_supplicant-2.6.

CarlosAM_INTEL
Moderator
184 Views

Hello, @UMama​:

 

Thanks for your reply.

 

Your Intel(R) SDK consultations should be addressed to the following forum:

 

https://software.intel.com/en-us/forums/opencl

 

Best regards,

@Mæcenas_INTEL​.

Reply