LSDK1909 compiles DPDK error

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

LSDK1909 compiles DPDK error

1,245 Views
pengluo
Contributor III

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
Reply
3 Replies

933 Views
1090325856
Contributor I

you need delete old object files arm64-dpaa-linuxapp-gcc  in packages/apps/dpdk/examples/cmdif/lib/ and packages/apps/dpdk/examples/cmdif/cmdif_demo/, which may be include old environment variable, ie. path

0 Kudos
Reply

1,179 Views
chihwei
Contributor I

When I download the dpdk package and build code for the first time, there will be no errors, but if the entire folder is copied to another location, the same error will occur when rebuilding dpdk componet!

0 Kudos
Reply

1,239 Views
yipingwang
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
Reply