DPDK usage discussions
 help / color / mirror / Atom feed
From: David Aldrich <david.aldrich.ntml@gmail.com>
To: users <users@dpdk.org>
Subject: [dpdk-users] How to build dpdk with shared libraries?
Date: Fri, 10 Jul 2020 17:46:26 +0100	[thread overview]
Message-ID: <CAJK_iei4zkjS4fC=ZopDwU8JiYkMXt2UL7UFswGjhuRVyka7Fg@mail.gmail.com> (raw)

I am using dpdk-stable-18.11.8 on Centos 7 with gcc compiler. I build dpdk
using:

usertools/dpdk-setup.sh option 15 'x86_64-native-linuxapp-gcc'

This builds static libraries in:

x86_64-native-linuxapp-gcc/lib

I want to use shared libraries. I believe the required setting is:

“CONFIG_RTE_BUILD_SHARED_LIB=y”

I tried setting that in: config/common_base and running option 15 again,
but the shared libs were either not built, or I can't find them.

What is the correct way to build dpdk shared libs using dpdk-setup.sh?

                 reply	other threads:[~2020-07-10 16:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAJK_iei4zkjS4fC=ZopDwU8JiYkMXt2UL7UFswGjhuRVyka7Fg@mail.gmail.com' \
    --to=david.aldrich.ntml@gmail.com \
    --cc=users@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).