LSDK1909 compiles DPDK error

cancel
Showing results for 
Search instead for 
Did you mean: 

LSDK1909 compiles DPDK error

46 Views
Contributor II

When I use the flex-builder -m ls1046ardb -a arm64 or flex-builder -c dpdk command to compile, the following error appears:

 

Building DPDK Examples ...
make[2]: Entering directory '/work/flexbuild_lsdk1909_update_311219/packages/apps/dpdk/examples/l2fwd'
make[2]: Leaving directory '/work/flexbuild_lsdk1909_update_311219/packages/apps/dpdk/examples/l2fwd'
make[2]: Entering directory '/work/flexbuild_lsdk1909_update_311219/packages/apps/dpdk/examples/l3fwd'
make[2]: Leaving directory '/work/flexbuild_lsdk1909_update_311219/packages/apps/dpdk/examples/l3fwd'
make[2]: Entering directory '/work/flexbuild_lsdk1909_update_311219/packages/apps/dpdk/examples/cmdif'
== lib
make[4]: *** No rule to make target '/work/lsdk/flexbuild_lsdk1909_update_311219/packages/apps/dpdk/examples/cmdif/lib/client/cmdif_client_flib.c', needed by 'cmdif_client_flib.o'. Stop.
/work/flexbuild_lsdk1909_update_311219/packages/apps/dpdk/mk/rte.extlib.mk:16: recipe for target 'all' failed
make[3]: *** [all] Error 2
/work/flexbuild_lsdk1909_update_311219/packages/apps/dpdk/mk/rte.extsubdir.mk:21: recipe for target 'lib' failed
make[2]: *** [lib] Error 2
make[2]: Leaving directory '/work/flexbuild_lsdk1909_update_311219/packages/apps/dpdk/examples/cmdif'
Makefile:35: recipe for target 'dpdk' failed
make[1]: *** [dpdk] Error 2
make[1]: Leaving directory '/work/flexbuild_lsdk1909_update_311219/packages/apps'
Makefile:25: recipe for target 'dpdk' failed
make: *** [dpdk] Error 2
make: Leaving directory '/work/flexbuild_lsdk1909_update_311219'
vmuser@ubuntu:/work/flexbuild_lsdk1909_update_311219$

 

I tried to add a lot of dependencies, but I still can't get it resolved. What caused this problem? Is there a solution?

0 Kudos
1 Reply

40 Views
NXP TechSupport
NXP TechSupport

Hello pengluo,

I installed flexbuild_lsdk1909_update_311219 on a ubuntu 18.04 host PC, run command "flex-builder -c dpdk" successfully, cannot reproduce your problem.

On your host PC, please check whether "/work/lsdk/flexbuild_lsdk1909_update_311219/packages/apps/dpdk/examples/cmdif/lib/client/cmdif_client_flib.c" exist, probably DPDK source code wasn't downloaded completely on your host PC.

 

Thanks,

Yiping

 

0 Kudos