Error while cross-compilation

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

Error while cross-compilation

920 Views
dibyarekha
Contributor IV

Hi All,

 

I am using ubuntu 20.04 and I am trying to compile my application to generate rootfs for ls1043ardb. while cross-compiling I am getting error in the toolchain.

Herewith I am attaching my Makefile and the screenshot of my error, Please help me in solving this.

 

 

0 Kudos
4 Replies

893 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @dibyarekha !

Can you please share the steps that are you following to generate the rootfs?
Are you using the Yocto Project or Flex-builder?

Best Regards!
Chavira

0 Kudos

841 Views
dibyarekha
Contributor IV
Hi @Chavira
I am using yocto to generate rootfs.
For cross-compiling my application, I am using cross compilation toolchain. I have downloaded this from the link given in the guide ( https://www.nxp.com/docs/en/user-guide/LSDKYOCTOUG.pdf ) page no 20.

Below steps I am following
1. I have my application code in /home/icomm/
2. so, in this I am running source /opt/fsl-qoriq/3.1/environment-setup-aarch64-fsl-linux
3. after that, make clean
4. make all
5.Now, I am getting error. I have already attached the Makefile and error screenshot.
I think some problem is there in Makefile.
Please help me in solving this problem.
0 Kudos

797 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @dibyarekha!

Sorry, we can´t provide support for custom software.

Best Regards!

Chavira

0 Kudos

873 Views
dibyarekha
Contributor IV
I am using Yocto Project, I have downloaded the repository.
in IMAGE INSTALL APPEND I have added the packages I need as well as merge-files. Now I am generating the executable file that I want to add in merge and generate rootfs using bitbake fsl-image-mfgtool.
while compiling only I am getting the error
0 Kudos