[PATCH 43/50] [mama] GCC 4.6.2 Support


Michael Schonberg <mschonberg@...>
 

From: Mike Schonberg <mschonberg@nyx.com>

GCC 4.6.2 requires -ldl and -lrt.

Signed-off-by: Mike Schonberg <mschonberg@nyx.com>
---
.../src/testtools/capturereplay/c/Makefile.am | 2 +-
mama/c_cpp/src/testtools/load/c/Makefile.am | 2 +-
mama/c_cpp/src/testtools/performance/c/Makefile.am | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/mama/c_cpp/src/testtools/capturereplay/c/Makefile.am b/mama/c_cpp/src/testtools/capturereplay/c/Makefile.am
index 9614251..fc398ed 100644
--- a/mama/c_cpp/src/testtools/capturereplay/c/Makefile.am
+++ b/mama/c_cpp/src/testtools/capturereplay/c/Makefile.am
@@ -37,7 +37,7 @@ CFLAGS += -Wmissing-prototypes -Wstrict-prototypes
CPPFLAGS += -pedantic -Wall -Wimplicit -Wno-long-long -D_GNU_SOURCE
endif

-LDADD = -lmama -lpthread -lm -lwombatcommon
+LDADD = -lmama -lpthread -lm -lwombatcommon -ldl

bin_PROGRAMS = capturereplayc capturec captureconvert

diff --git a/mama/c_cpp/src/testtools/load/c/Makefile.am b/mama/c_cpp/src/testtools/load/c/Makefile.am
index fbf016f..75fc832 100755
--- a/mama/c_cpp/src/testtools/load/c/Makefile.am
+++ b/mama/c_cpp/src/testtools/load/c/Makefile.am
@@ -36,7 +36,7 @@ CFLAGS += -Wmissing-prototypes -Wstrict-prototypes
CPPFLAGS += -pedantic -Wall -Wimplicit -Wno-long-long -D_GNU_SOURCE
endif

-LDADD = -lmama -lpthread -lm -lwombatcommon
+LDADD = -lmama -lpthread -lm -lwombatcommon -ldl


bin_PROGRAMS = mamachurnc
diff --git a/mama/c_cpp/src/testtools/performance/c/Makefile.am b/mama/c_cpp/src/testtools/performance/c/Makefile.am
index eb19b6e..26f9673 100644
--- a/mama/c_cpp/src/testtools/performance/c/Makefile.am
+++ b/mama/c_cpp/src/testtools/performance/c/Makefile.am
@@ -36,7 +36,7 @@ CFLAGS += -Wmissing-prototypes -Wstrict-prototypes
CPPFLAGS += -pedantic -Wall -Wimplicit -Wno-long-long -D_GNU_SOURCE
endif

-LDADD = -lmama -lpthread -lm -lwombatcommon
+LDADD = -lmama -lpthread -lm -lwombatcommon -ldl -lrt


bin_PROGRAMS = mamaproducerc \
--
1.7.7.6