Compilation Error LSDK

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

Compilation Error LSDK

525 Views
deepanrajanbara
Contributor IV

Hi,

I tried compiling the LSDK in my ubuntu 18.04 PC. But am not able to compile successfully for LX2160A chipset.

Below are the commands given by me.

flex-builder -m lx2160ardb

The error which i get is

 Building weston ...
Cloning into 'weston'...
warning: redirecting to https://source.codeaurora.org/external/imx/weston-imx.git/
warning: remote HEAD refers to nonexistent ref, unable to checkout.

Switched to a new branch 'rel_virt_4.14.98_4.11_0.10_ga'
~/flexbuild_lsdk1909_update_221019/packages/apps
chroot: failed to run command ‘ldconfig’: Exec format error
Makefile:720: recipe for target 'weston' failed
make[1]: *** [weston] Error 126
make[1]: Leaving directory '~/flexbuild_lsdk1909_update_221019/packages/apps'
Makefile:28: recipe for target 'apps' failed
make: *** [apps] Error 2
make: Leaving directory '~/flexbuild_lsdk1909_update_221019'

Labels (2)
0 Kudos
1 Reply

440 Views
Pavel
NXP Employee
NXP Employee

Try to install “sudo apt install -y binfmt-support qemu-system-common qemu-user-static“.

It should resolve your issue.

Have a great day,
Pavel Chubakov

 

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

0 Kudos