This allows to build under FC11. Otherwise, building shared libraries using libreplace results in the following error:
.../ibutils/ibdm/replace/libreplace.a(regex.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC .../ibutils/ibdm/replace/libreplace.a: could not read symbols: Bad value Signed-off-by: Sebastien Dugue <sebastien.du...@bull.net> --- ibdm/replace/Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ibdm/replace/Makefile.am b/ibdm/replace/Makefile.am index a878772..f03bb30 100644 --- a/ibdm/replace/Makefile.am +++ b/ibdm/replace/Makefile.am @@ -5,3 +5,4 @@ INCLUDES = -I$(top_builddir) -I$(top_srcdir) noinst_LIBRARIES = libreplace.a libreplace_a_SOURCES = libreplace_a_LIBADD = @LIBOBJS@ +AM_CFLAGS = -fPIC -- 1.6.3.1 _______________________________________________ general mailing list general@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general