SDK: Compile a kernel: Can't locate integer.pm in @INC

cancel
Showing results for 
Search instead for 
Did you mean: 

SDK: Compile a kernel: Can't locate integer.pm in @INC

115 Views
arno_0
Contributor III

Just try to compile a 5.14 kernel with the Yocto created SDK (2.0.0). It seems to start properly but than it fails due to a missing perl module.

How can I add this integer.pm to my SDK (automatically)? I copied it from the ../tmp/work directory as it is used several times there, but it is not part of SDK!?!?

Thank you.

CC     fs/configfs/item.o

CC     kernel/cgroup/rstat.o

PERLASM arch/arm64/crypto/sha256-core.S

CC     mm/mprotect.o

Can't locate integer.pm in @INC (you may need to install the integer module) (@INC contains: /home/user/y/sdk_imx_5.10.35/sysroots/x86_64-pokysdk-linux/usr/bin/../..//usr/lib/perl5/site_perl/5.32.1/x86_64-linux /home/user/y/sdk_imx_5.10.35/sysroots/x86_64-pokysdk-linux/usr/bin/../..//usr/lib/perl5/site_perl/5.32.1 /home/user/y/sdk_imx_5.10.35/sysroots/x86_64-pokysdk-linux/usr/bin/../..//usr/lib/perl5/vendor_perl/5.32.1 /home/user/y/sdk_imx_5.10.35/sysroots/x86_64-pokysdk-linux/usr/bin/../..//usr/lib/perl5/5.32.1/x86_64-linux /home/user/y/sdk_imx_5.10.35/sysroots/x86_64-pokysdk-linux/usr/bin/../..//usr/lib/perl5/5.32.1 /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/lib/perl5/site_perl/5.32.1/x86_64-linux /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/lib/perl5/site_perl/5.32.1 /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/lib/perl5/vendor_perl/5.32.1/x86_64-linux /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/lib/perl5/vendor_perl/5.32.1 /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/lib/perl5/5.32.1/x86_64-linux /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/lib/perl5/5.32.1) at arch/arm64/crypto/sha512-armv8.pl line 478.

BEGIN failed--compilation aborted at arch/arm64/crypto/sha512-armv8.pl line 478.

make[2]: *** [arch/arm64/crypto/Makefile:78: arch/arm64/crypto/sha256-core.S] Error 2

make[1]: *** [scripts/Makefile.build:514: arch/arm64/crypto] Error 2

make: *** [Makefile:1851: arch/arm64] Error 2

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

Tags (4)
0 Kudos
2 Replies

108 Views
arno_0
Contributor III

I know. But I should be able to compile any kernel. Not just the given one.

So the question is: How can I get integer.pm into SDK? Add something to a recipe? I have which package is involved here.

0 Kudos

110 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi ,

We didn't release  linux bsp with 5.14 kernel.

The latest one is 5.10.35_2.0.0, so if you export cross compile tool chain, you should compile the version of kernel.

 

Have a good day!

Regards,

weidong

0 Kudos