[mpich-discuss] Undefined references to MPL, seems to be caused by --if-needed

Dave Goodell goodell at mcs.anl.gov
Sun Nov 28 19:40:13 CST 2010


On Nov 25, 2010, at 6:44 AM CST, Jed Brown wrote:

> On Mon, Nov 22, 2010 at 21:39, Dave Goodell <goodell at mcs.anl.gov> wrote:
> 
>> Hmm... this looks like it's the fault of configure.in:6295.  I'm not sure
>> why we're doing this step, although I'm also hesitant to remove it without
>> careful study.  In a pinch you might be able to get by if you comment out
>> that line (and maybe the following line as well).
[...]
> Was your quoted line number in the 1.3.1 tarball, or elsewhere?  I was
> trying to use the change below, but it's not obvious to me how these two
> lines produce my symptom.

Sorry, I gave a line number relative to the current trunk at the time of my mail, not any specific tag or tarball.  The correct line number for 1.3.1 is 6291: https://trac.mcs.anl.gov/projects/mpich2/browser/mpich2/tags/release/mpich2-1.3.1/configure.in#L6291

------8<------
WRAPPER_LDFLAGS="$WRAPPER_LDFLAGS $LDFLAGS"
------8<------

-Dave

> --- configure.in.orig 2010-11-11 08:55:02.000000000 +0100
> +++ configure.in 2010-11-25 12:27:54.355281755 +0100
> @@ -6292,8 +6292,8 @@
> WRAPPER_LIBS="$WRAPPER_LIBS $LIBS"
> 
> # Setup required inter-library dependencies
> -LIB_DEPS=""
> -LDFLAGS_DEPS=""
> +#LIB_DEPS=""
> +#LDFLAGS_DEPS=""
> if test "$ENABLE_SHLIB" != "none" -a "$enable_lib_depend" = "yes" ; then
>    LIB_DEPS="$WRAPPER_LIBS"
>    WRAPPER_LIBS=""



More information about the mpich-discuss mailing list