flex-builder -c apps -a arm64 problem

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

flex-builder -c apps -a arm64 problem

637 Views
yi-linhsieh
Contributor III

Hi all,

I tried  build apps for ls1046a platfrom.

I download and untar  flexbuild_lsdk1903.tgz

source setup.env

flex-builder -c linux -a arm64

flex-builder -i mkrfs 

flex-builder -c apps -a arm64 

and it will stop at 

/usr/lib/gcc-cross/aarch64-linux-gnu/7/../../../../aarch64-linux-gnu/bin/ld: cannot find -lxml2
collect2: error: ld returned 1 exit status

How I to install the xml2 library in flex-builder enviroment?

0 Kudos
1 Reply

503 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Yi-Lin Hsieh,

Please make sure the command "flex-builder -i mkrfs  -a arm64" has completed successfully, please make sure there is no networking connection problem.

You could run the following commands to download rootfs again.

$ flex-builder -i mkrfs  -a arm64 -i clean-rfs

$ flex-builder -i mkrfs  -a arm64

Thanks,

Yiping