NRMK build break
From: Jeff Venable, Sr. <hidden>
Date: 2014-02-08 00:46:06
Subsystem:
the rest · Maintainer:
Linus Torvalds
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