[ofa-general] librdmacm build failure

Steve Wise swise at opengridcomputing.com
Fri Mar 2 06:17:25 PST 2007


On Thu, 2007-03-01 at 16:02 -0800, Sean Hefty wrote:
> Can you try this patch and see if it works for you?

works...thanks.



> ---
> 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