AnsweredAssumed Answered

Problem in compilation of wifi drivers

Question asked by Bandaru Lavanya on May 10, 2017
Latest reply on May 17, 2017 by gusarambula

Hi All,

 

I am trying to compile wl18xx build-utilities with arm-poky-linux-gnueabi- from yocto-1.7 i am facing the below problems, can any one knows how to solve it.

 

when i am using ./build_wl18xx.sh update R8.6_SP1 i am facing the below errors.

 


******  *******
making all in crypto...
make[1]: Entering directory `/home/lavanya/Desktop/wifi_8/build-utilites/src/openssl/crypto'
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/bin/perl ../util/mkbuildinf.pl "arm-poky-linux-gnueabi-gcc -I. -I.. -I../include  -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -Wall" "linux-generic32" >buildinf.h
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = "en_IN:en",
    LC_ALL = (unset),
    LANG = "en_IN"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
arm-poky-linux-gnueabi-gcc -I. -I.. -I../include  -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -Wall   -c -o cryptlib.o cryptlib.c
In file included from /opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/features.h:389:0,
                 from /opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/stdlib.h:24,
                 from cryptlib.h:62,
                 from cryptlib.c:117:
/opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/gnu/stubs.h:10:29: fatal error: gnu/stubs-soft.h: No such file or directory
 # include <gnu/stubs-soft.h>
                             ^
compilation terminated.
make[1]: *** [cryptlib.o] Error 1
make[1]: Leaving directory `/home/lavanya/Desktop/wifi_8/build-utilites/src/openssl/crypto'
make: *** [build_crypto] Error 1
****** ERROR 0 *******

 

 

 

If i given like #define __ARM_PCS_VFP then i am getting errors like below

 


/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/ld: error: openssl uses VFP register arguments, ../libcrypto.a(dso_dlfcn.o) does not
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/ld: failed to merge target specific data of file ../libcrypto.a(dso_dlfcn.o)
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/ld: error: openssl uses VFP register arguments, ../libcrypto.a(a_set.o) does not
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/ld: failed to merge target specific data of file ../libcrypto.a(a_set.o)
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/ld: error: openssl uses VFP register arguments, ../libcrypto.a(bio_asn1.o) does not
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/ld: failed to merge target specific data of file ../libcrypto.a(bio_asn1.o)
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/ld: error: openssl uses VFP register arguments, ../libcrypto.a(bn_nist.o) does not
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/ld: failed to merge target specific data of file ../libcrypto.a(bn_nist.o)
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/ld: error: openssl uses VFP register arguments, ../libcrypto.a(ecp_smpl.o) does not
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/ld: failed to merge target specific data of file ../libcrypto.a(ecp_smpl.o)
collect2: error: ld returned 1 exit status
make[2]: *** [link_app.] Error 1
make[2]: Leaving directory `/home/lavanya/Desktop/wifi_8/build-utilites/src/openssl/apps'
make[1]: *** [openssl] Error 2
make[1]: Leaving directory `/home/lavanya/Desktop/wifi_8/build-utilites/src/openssl/apps'
make: *** [build_apps] Error 1
****** ERROR 0 *******

 

Thanks,

Lavanya

Outcomes