[mpich-discuss] Undefined references to MPL, seems to be caused by --if-needed
Jed Brown
jed at 59A2.org
Thu Nov 25 06:44:58 CST 2010
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).
>
I cannot regenerate the configure script because of
$ autoreconf -fi
configure.in:852: error: possibly undefined macro: AC_CXX_NAMESPACE_STD
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
Strangely, this message does not actually seem to refer to a line number in
configure.in as it claims because putting text above that point (like trying
to use m4_pattern_allow) does no change the error line number. The also
don't seem to be lines anywhere near 852 that could possibly have anything
to do with AC_CXX_NAMESPACE_STD. That symbol only appears on line 2429.
autoreconf (GNU Autoconf) 2.68
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.
--- 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=""
Jed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20101125/f3138388/attachment.htm>
More information about the mpich-discuss
mailing list