[ofa-general] librdmacm build failure

Sean Hefty sean.hefty at intel.com
Thu Mar 1 16:02:57 PST 2007


Can you try this patch and see if it works for you?
---
diff --git a/Makefile.am b/Makefile.am
index 57dc0b3..2eb95c6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,7 +6,11 @@ AM_CFLAGS = -g -Wall -D_GNU_SOURCE
 
 src_librdmacm_la_CFLAGS = $(AM_CFLAGS)
 
-librdmacm_version_script = @LIBRDMACM_VERSION_SCRIPT@
+if HAVE_LD_VERSION_SCRIPT
+    librdmacm_version_script = -Wl,--version-script=$(srcdir)/src/librdmacm.map
+else
+    librdmacm_version_script =
+endif
 
 src_librdmacm_la_SOURCES = src/cma.c
 src_librdmacm_la_LDFLAGS = -version-info 1 -export-dynamic \




More information about the general mailing list