I've not tested any other recent RCs, but had a chance today to run this one on a subset of my normal pile of test platforms.
When looking at
ompi/contrib/vt/vt/extlib/otf/tools/otfaux/Makefile.am
I find the following:
otfaux_LDADD = \
$(MATHLIB)
otfaux_DEPENDENCIES = $(otfaux_LDADD)
Since "MATHLIB = -lm" the dependencies list "-lm" as a target and results in a build which ends with
Making all in otfaux
CXX otfaux.o
CXX Control.o
CXX Handler.o
CXX Stats.o
make: don't know how to make -lm. Stop
In my testing the following patch resolves the problem by expressing LDADD in terms of DEPENDENCIES, instead of the other way around:
--- ompi/contrib/vt/vt/extlib/otf/tools/otfaux/Makefile.am.orig 2012-09-11 10:59:05.000000000 -0700
+++ ompi/contrib/vt/vt/extlib/otf/tools/otfaux/Makefile.am 2012-09-11 11:00:08.000000000 -0700
@@ -8,11 +8,12 @@
otfaux
endif
-otfaux_LDADD = \
+otfaux_DEPENDENCIES = \
+otfaux_LDADD = \
+ $(otfaux_otfaux_DEPENDENCIES) \
$(MATHLIB)
-otfaux_DEPENDENCIES = $(otfaux_LDADD)
otfaux_SOURCES = \
Control.h \
Handler.h \
-Paul
--
Future Technologies Group
Computer and Data Sciences Department Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory Fax: +1-510-486-6900