From: Tomasz Duszynski <tdu@semihalf.com>
To: dev@dpdk.org
Cc: maxime.coquelin@redhat.com, jianfeng.tan@intel.com,
Tomasz Duszynski <tdu@semihalf.com>,
zhihong.wang@intel.com
Subject: [dpdk-dev] [PATCH] vhost: fix meson build issues
Date: Thu, 5 Apr 2018 10:08:16 +0200 [thread overview]
Message-ID: <1522915696-26727-1-git-send-email-tdu@semihalf.com> (raw)
This patch addresses following meson build issues:
1) Since rte_vdpa.h includes rte_pci.h it introduces pci
dependency thus deps array should be updated accordingly.
2) Since vhost.h includes rte_vdpa.h vdpa.c should be added to
the sources list. Otherwise we end up with linker errors
caused by undefined references.
Fixes: 34b30b2e7e42 ("vhost: add apis for datapath configuration")
Cc: zhihong.wang@intel.com
Signed-off-by: Tomasz Duszynski <tdu@semihalf.com>
---
lib/librte_vhost/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/librte_vhost/meson.build b/lib/librte_vhost/meson.build
index 9e8c0e7..8d14877 100644
--- a/lib/librte_vhost/meson.build
+++ b/lib/librte_vhost/meson.build
@@ -10,6 +10,6 @@ endif
version = 4
allow_experimental_apis = true
sources = files('fd_man.c', 'iotlb.c', 'socket.c', 'vhost.c', 'vhost_user.c',
- 'virtio_net.c')
+ 'virtio_net.c', 'vdpa.c')
headers = files('rte_vhost.h')
-deps += ['ethdev']
+deps += ['ethdev', 'pci']
--
2.7.4
next reply other threads:[~2018-04-05 8:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-05 8:08 Tomasz Duszynski [this message]
2018-04-05 10:29 ` Bruce Richardson
2018-04-05 20:01 ` Maxime Coquelin
2018-04-05 20:03 ` Maxime Coquelin
2018-04-11 17:38 ` Ferruh Yigit
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=1522915696-26727-1-git-send-email-tdu@semihalf.com \
--to=tdu@semihalf.com \
--cc=dev@dpdk.org \
--cc=jianfeng.tan@intel.com \
--cc=maxime.coquelin@redhat.com \
--cc=zhihong.wang@intel.com \
/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).