DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jose Gavine Cueto <pepedocs@gmail.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] dpdk shared lib build
Date: Sat, 2 Nov 2013 07:24:08 +0800	[thread overview]
Message-ID: <CAJ5bv6HCngtoY+TcJCMT=jbHT9J0LK6sJzF_YpF=JYz9R+Mg8g@mail.gmail.com> (raw)

Hi,

Building dpdk app. as a shared library (.so) I believe is supported but I
can't find any documentation for it.  I tried doing the same Makefile
format as building an app, and that is placed the following:

rte.vars.mk   ---------> before everything
rte.extshared.mk -----------> after everything

At first make, spits the following error:

  INSTALL-SHARED
cp: missing destination file operand after ‘/home/mydpdklib/src/build/lib’
Try 'cp --help' for more information.
make: *** [/home/linc/src/erlpmd.git/src/build/lib] Error 1

Second make, will do nothing, and lib does not contain any .so file.
 Additionally I added  LIB = mylib.so

Could somebody please tell me if I'm doing the right thing ?


Thanks
Pepe
-- 
To stop learning is like to stop loving.

             reply	other threads:[~2013-11-01 23:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-01 23:24 Jose Gavine Cueto [this message]
2013-11-02  9:19 ` Thomas Monjalon

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='CAJ5bv6HCngtoY+TcJCMT=jbHT9J0LK6sJzF_YpF=JYz9R+Mg8g@mail.gmail.com' \
    --to=pepedocs@gmail.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).