DPDK patches and discussions
 help / color / mirror / Atom feed
From: Daniel Pharos <danielpharos@hotmail.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] Compilation failure when disabling Cavium OCTEONTX network PMD driver
Date: Sat, 6 Jul 2019 15:11:03 +0000	[thread overview]
Message-ID: <AM0PR0402MB38268D9F7F77DB2B2E1FCA1ED3F40@AM0PR0402MB3826.eurprd04.prod.outlook.com> (raw)

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

             reply	other threads:[~2019-07-07  8:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-06 15:11 Daniel Pharos [this message]
2019-07-07 13:00 ` Jerin Jacob Kollanukkaran
     [not found]   ` <AM0PR0402MB3826002A98D18716BA6359FAD3F70@AM0PR0402MB3826.eurprd04.prod.outlook.com>
     [not found]     ` <BYAPR18MB24247C55F57AF4FF16AFEA4AC8F70@BYAPR18MB2424.namprd18.prod.outlook.com>
     [not found]       ` <AM0PR0402MB3826109D818BFCB759E3B55CD3F70@AM0PR0402MB3826.eurprd04.prod.outlook.com>
     [not found]         ` <BYAPR18MB24243551F2EAADFBE6C151CFC8F70@BYAPR18MB2424.namprd18.prod.outlook.com>
     [not found]           ` <AM0PR0402MB3826565C7F5856751401D081D3F60@AM0PR0402MB3826.eurprd04.prod.outlook.com>
     [not found]             ` <BYAPR18MB24248589B21F5F628BD40B3BC8F60@BYAPR18MB2424.namprd18.prod.outlook.com>
     [not found]               ` <AM0PR0402MB3826CA93FB8CB565A8BE1435D3F60@AM0PR0402MB3826.eurprd04.prod.outlook.com>
2019-07-08 21:16                 ` Daniel Pharos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM0PR0402MB38268D9F7F77DB2B2E1FCA1ED3F40@AM0PR0402MB3826.eurprd04.prod.outlook.com \
    --to=danielpharos@hotmail.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).