DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Jeff Venable, Sr." <jeff@tracevector.com>
To: Ryan Prenger <ryan@tracevector.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] NRMK build break
Date: Fri, 07 Feb 2014 16:46:06 -0800	[thread overview]
Message-ID: <CF1ABE4E.4552%jeff@tracevector.com> (raw)

For those who leave the office before verifying they didn¹t break the build,
a public flogging! :)

/usr/bin/ld: cannot find -lipinfo

collect2: error: ld returned 1 exit status

make: *** [/home/jeff/Colossus/nrmk/dataplane/P2P/obj/debug/libP2P.so] Error
1

make: *** Waiting for unfinished jobs....


You marked libipinfo.so as an external dependency.  You need to make it a
makefile dependency.  The fix:

(jeff@colossus ~/Colossus/nrmk)$ git diff dataplane/P2P/Rules.mk

diff --git a/nrmk/dataplane/P2P/Rules.mk b/nrmk/dataplane/P2P/Rules.mk

index 2ecc396..093b7ac 100644

--- a/nrmk/dataplane/P2P/Rules.mk

+++ b/nrmk/dataplane/P2P/Rules.mk

@@ -34,6 +34,7 @@ libP2P.so_DEPS := \

     P2PConfig.o \

     $(TARGETS_$(TOP)/lib/json) \

     $(TARGETS_$(TOP)/lib/notes) \

+    $(TARGETS_$(TOP)/lib/ipinfo)

 

 LIBDIRS_$(d) = $(TOP)/../lib

 

@@ -41,5 +42,4 @@ libP2P.so_LIBS = \

     -lcolossuscommon \

     -lcolossuscommand \

     -lcolossustrace \

-    -lcolossusutilities \

-    -lipinfo

+    -lcolossusutilities


Pushing the fix.

Thanks for moving all your algorithms into NRMK! :)

Jeff

             reply	other threads:[~2014-02-08  0:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-08  0:46 Jeff Venable, Sr. [this message]
2014-02-09 22:53 Jeff Venable

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=CF1ABE4E.4552%jeff@tracevector.com \
    --to=jeff@tracevector.com \
    --cc=dev@dpdk.org \
    --cc=ryan@tracevector.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).