[dpdk-dev] Compilation failure when disabling Cavium OCTEONTX network PMD driver

Daniel Pharos danielpharos at hotmail.com
Sat Jul 6 17:11:03 CEST 2019


Hi,

If I disable the Cavium OCTEONTX network PMD driver in the config file (so: "CONFIG_RTE_LIBRTE_OCTEONTX_PMD=n"), compilation of DPDK 19.05 fails with:
/home/ubuntu/Downloads/dpdk-19.05/build/lib/librte_pmd_octeontx_ssovf.a(ssovf_worker.o): In function `ssows_flush_events':
ssovf_worker.c:(.text+0x102): undefined reference to `rte_octeontx_pchan_map'
/home/ubuntu/Downloads/dpdk-19.05/build/lib/librte_pmd_octeontx_ssovf.a(ssovf_worker.o): In function `ssows_deq':
ssovf_worker.c:(.text.hot+0x138): undefined reference to `rte_octeontx_pchan_map'
/home/ubuntu/Downloads/dpdk-19.05/build/lib/librte_pmd_octeontx_ssovf.a(ssovf_worker.o): In function `ssows_deq_timeout':
ssovf_worker.c:(.text.hot+0x301): undefined reference to `rte_octeontx_pchan_map'
/home/ubuntu/Downloads/dpdk-19.05/build/lib/librte_pmd_octeontx_ssovf.a(ssovf_worker.o): In function `ssows_deq_burst':
ssovf_worker.c:(.text.hot+0x458): undefined reference to `rte_octeontx_pchan_map'
/home/ubuntu/Downloads/dpdk-19.05/build/lib/librte_pmd_octeontx_ssovf.a(ssovf_worker.o): In function `ssows_deq_timeout_burst':
ssovf_worker.c:(.text.hot+0x61c): undefined reference to `rte_octeontx_pchan_map'
collect2: error: ld returned 1 exit status
/home/ubuntu/Downloads/dpdk-19.05/mk/rte.app.mk:404: recipe for target 'test' failed
make[3]: *** [test] Error 1
/home/ubuntu/Downloads/dpdk-19.05/mk/rte.subdir.mk:35: recipe for target 'test' failed
make[2]: *** [test] Error 2
/home/ubuntu/Downloads/dpdk-19.05/mk/rte.sdkbuild.mk:46: recipe for target 'app' failed
make[1]: *** [app] Error 2
/home/ubuntu/Downloads/dpdk-19.05/mk/rte.sdkroot.mk:98: recipe for target 'all' failed
make: *** [all] Error 2

This is on x86_64, Ubuntu 18.04 (up-to-date), using the DPDK 19.05 tarball, with only the mentioned config-line changed.


Kind regards,
DanielPharos


More information about the dev mailing list