AnsweredAssumed Answered

Adding integer.pm to poky sysroot/sdk to allow backport (wl12xx)

Question asked by jayakumar2 on Oct 10, 2016

Hi,

I'm trying to get the wl12xx driver (which depends on the kernel backport tool) to work with 3.14.28 (yocto 1.8). Following the sequence described in WL18xx System Build Scripts - Texas Instruments Wiki  , I was able to get to the point that the openssl dependency gets built, but then at the last step it fails due to a dependency on integer.pm which is missing from the poky sysroot. The exact error is:

 

/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/bin/perl obj_dat.pl obj_mac.h obj_dat.h

Can't locate integer.pm in @INC (you may need to install the integer module) (@INC contains: /opt/poky/1.7/sysroots/x86_64-pokysdk-linux//usr/lib/perl/5.20.0 /opt/poky/1.7/sysroots/x86_64-pokysdk-linux//usr/lib/perl /opt/poky/1.7/sysroots/x86_64-pokysdk-linux//usr/lib/perl/5.20.0 /opt/poky/1.7/sysroots/x86_64-pokysdk-linux//usr/lib/perl/site_perl/5.20.0 /opt/poky/1.7/sysroots/x86_64-pokysdk-linux//usr/lib/perl/vendor_perl/5.20.0 /opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/lib/perl/site_perl/5.20.0/ /opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/lib/perl/site_perl/5.20.0 /opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/lib/perl/vendor_perl/5.20.0/ /opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/lib/perl/vendor_perl/5.20.0 /opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/lib/perl/5.20.0/ /opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/lib/perl/5.20.0 /opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/lib/perl/5.20.0 .) at obj_dat.pl line 5.
BEGIN failed--compilation aborted at obj_dat.pl line 5.
make[2]: *** [obj_dat.h] Error 2
make[2]: Leaving directory `/home/test/wl8-build/build-utilites/src/openssl/crypto/objects'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/test/wl8-build/build-utilites/src/openssl/crypto'
make: *** [build_crypto] Error 1

 

I checked that:

/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/lib/perl/5.20.0 shows that the other typical .pm modules are present but integer.pm is missing.

 

$ ls /opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/lib/perl/5.20.0
attributes.pm bytes.pm Config.pm Errno.pm File mro.pm POSIX.pm Symbol.pm threads.pm XSLoader.pm
auto Carp.pm constant.pm Exporter Getopt overload re.pm Term Tie
B Class Cwd.pm Exporter.pm IO overloading.pm Scalar Text vars.pm
B.pm Config_heavy.pl Data Fcntl.pm IO.pm overload.pm SelectSaver.pm Thread warnings
bytes_heavy.pl Config_heavy-target.pl DynaLoader.pm feature.pm List Pod strict.pm threads warnings.pm

$ find /opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/lib/perl/5.20.0 -iname integer.pm

$

 

Is there a recommended way that I can add this (or other dependencies I might hit in addition)?

 

Thanks!

 

ps: I've attached the full build log in case it is useful.

Original Attachment has been moved to: wl18xx_build_log.txt.zip

Outcomes