Search code examples
virtual-machinelddpdk

DPDK-19.11 linking stating for pdump application results in error


  • DPDK version: 19-11
  • Environment: VM
  • OS: 4.14.81.bm.15-amd64
  • Gcc: 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) Application error: PDUMP

note: build for same in host machine works fine.

CMD: make install Logs:

== Build app/pdump
  CC main.o
  LD dpdk-pdump
collect2: error: ld returned 1 exit status
/root/dpdk-19.11/mk/rte.app.mk:433: recipe for target 'dpdk-pdump' failed
make[5]: *** [dpdk-pdump] Error 1
/root/dpdk-19.11/mk/rte.subdir.mk:35: recipe for target 'pdump' failed
make[4]: *** [pdump] Error 2
/root/dpdk-19.11/mk/rte.sdkbuild.mk:46: recipe for target 'app' failed
make[3]: *** [app] Error 2
/root/dpdk-19.11/mk/rte.sdkroot.mk:98: recipe for target 'all' failed
make[2]: *** [all] Error 2
/root/dpdk-19.11/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed
make[1]: *** [pre_install] Error 2
/root/dpdk-19.11/mk/rte.sdkroot.mk:77: recipe for target 'install' failed
make: *** [install] Error 2 

Solution

  • as per the current update from Meinhard, the issue was the VM was having less memory to finish the linking. Increasing the memory the build is successful.