compilation failure ls1046-linux-fs.tar.bz2

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

compilation failure ls1046-linux-fs.tar.bz2

1,820 Views
lilleli
Contributor I
 hi, community,
       I am compilation ls1046 evboard package, But the compilation failed!
development environment:
vmware workstation pro
ubuntu 18.04

operating https://community.nxp.com/discussion/?keyword=" style="color: #3d9ce7; border: 0px; font-weight: inh...steps:

1、tar -xjvf ls1046-linux-fs.tar.bz2

2、cd ls1046-linux-fs.tar.bz2

3、source setup.env

4、flex-builder -m ls1046ardb -a arm64

In file included from lib/dhparams.c:1:0:
./lib/dhparams.h:23:5: note: previous declaration of ‘get_dh1024’ was here
 DH *get_dh1024(void);
lib/dhparams.c:38:12: error: static declaration of ‘get_dh2048’ follows non-static declaration
 static DH *get_dh2048(void)
In file included from lib/dhparams.c:1:0:
./lib/dhparams.h:24:5: note: previous declaration of ‘get_dh2048’ was here
 DH *get_dh2048(void);
lib/dhparams.c:87:12: error: static declaration of ‘get_dh4096’ follows non-static declaration
 static DH *get_dh4096(void)
    In file included from lib/dhparams.c:1:0:
./lib/dhparams.h:25:5: note: previous decl

Makefile:4772: recipe for target 'lib/dhparams.lo' failed

make[4]: *** [lib/dhparams.lo] Error 1

make[4]: *** 正在等待未完成的任务....

mv utilities/ovs-lib.tmp utilities/ovs-lib

mv -f lib/.deps/lib_libsflow_la-sflow_sampler.Tpo lib/.deps/lib_libsflow_la-sflow_sampler.Plo

mv -f lib/.deps/lib_libsflow_la-sflow_poller.Tpo lib/.deps/lib_libsflow_la-sflow_poller.Plo

mv -f lib/.deps/lib_libsflow_la-sflow_agent.Tpo lib/.deps/lib_libsflow_la-sflow_agent.Plo

mv -f lib/.deps/lib_libsflow_la-sflow_receiver.Tpo lib/.deps/lib_libsflow_la-sflow_receiver.Plo

make[4]: 离开目录“/home/iotgw/ls1046/ls1046-linux-fs/flexbuild/packages/apps/ovs-dpdk”

Makefile:5526: recipe for target 'install-recursive' failed

make[3]: *** [install-recursive] Error 1

make[3]: 离开目录“/home/iotgw/ls1046/ls1046-linux-fs/flexbuild/packages/apps/ovs-dpdk”

Makefile:5831: recipe for target 'install' failed

make[2]: *** [install] Error 2

make[2]: 离开目录“/home/iotgw/ls1046/ls1046-linux-fs/flexbuild/packages/apps/ovs-dpdk”

Makefile:120: recipe for target 'ovs-dpdk' failed

make[1]: *** [ovs-dpdk] Error 2

make[1]: 离开目录“/home/iotgw/ls1046/ls1046-linux-fs/flexbuild/packages/apps”

Makefile:30: recipe for target 'ovs-dpdk' failed

make: *** [ovs-dpdk] Error 2

make: 离开目录“/home/iotgw/ls1046/ls1046-linux-fs/flexbuild”

Please tell me how to do it?  Thansk for your support.
0 Kudos
5 Replies

1,576 Views
Pavel
NXP Employee
NXP Employee

It looks like that this LSDK is not fully installed.

Use the following command sequence for LSDK installing:

sudo apt-get install git

sudo apt install -y binfmt-support qemu-system-common qemu-user-static

 tar xvzf flexbuild_lsdk1909_update_311219.tgz

 source setup.env

 flex-builder -i mkrfs -a arm64

 flex-builder -c linux -a arm64

Have a great day,
Pavel Chubakov

0 Kudos

1,576 Views
lilleli
Contributor I

yes,its is SDK-18.06-V4.14 package!

thanks you reply!

0 Kudos

1,576 Views
Pavel
NXP Employee
NXP Employee

Is Ubuntu 18 used for this LSDK?

Have a great day,
Pavel Chubakov

0 Kudos

1,576 Views
lilleli
Contributor I

hi Pavel Chubakov,

   thinks you help !

  I use flexbuild_lsdk1909_update_221019.tgz compile, step to sudo apt install -y binfmt-support qemu-system-common qemu-user-static

that hint location qeumn-user-static package,what can i do?

iotgw@iotgw-virtual-machine:~/ls1046/flexbuild_lsdk1909_update_221019$ sudo apt install -y binfmt-support qemu-system-common qeumn-user-static
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 qeumn-user-static

0 Kudos

1,576 Views
Pavel
NXP Employee
NXP Employee

NXP offers flexbuild_lsdk1909_update_311219 for the LS1046ARDB and the LS1046A-FRWY boards.

Use the following command sequence for installing this LSDK under Ubuntu 18:

 

sudo apt-get install git

sudo apt install -y binfmt-support qemu-system-common qemu-user-static

 

tar xvzf flexbuild_lsdk1909_update_311219.tgz

 

source setup.env

 

flex-builder -i mkrfs -a arm64

 

flex-builder -c linux -a arm64

Have a great day,
Pavel Chubakov

 

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

0 Kudos