Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Error compiling openmpi-1.6.4a1r27766 on Solaris 10
From: Matthias Jurenz (matthias.jurenz_at_[hidden])
Date: 2013-01-16 03:30:11


Hello Siegmar,
this problem is already fixed in the OMPI trunk (r27770), but currently not
moved to the v1.6 branch.
To make it working for the v1.6 branch, just copy the following files from the
trunk to your v1.6 checkout and re-run autogen.sh:
ompi/contrib/vt/vt/config/m4/acinclude.execwrap.m4
ompi/contrib/vt/vt/vtlib/vt_execwrap.c

Regards,
Matthias Jurenz

> Hi

> I tried to build openmpi-1.6.4a1r27766 on Solaris 10 Sparc and
x86_64 with Sun C 5.12 and gcc-4.7.1 and got the following error
for all combinations.

> ...
  CC vt_execwrap.lo
"../../../../../../openmpi-1.6.4a1r27766/ompi/contrib/vt/vt/vtlib/vt_execwrap.c",
  line 187: warning: implicit function declaration:
VTTHRD_MALLOC_TRACING_ENABLED
"../../../../../../openmpi-1.6.4a1r27766/ompi/contrib/vt/vt/vtlib/vt_execwrap.c",
  line 358: undefined symbol: environ
"../../../../../../openmpi-1.6.4a1r27766/ompi/contrib/vt/vt/vtlib/vt_execwrap.c",
  line 358: warning: improper pointer/integer combination: op "="
"../../../../../../openmpi-1.6.4a1r27766/ompi/contrib/vt/vt/vtlib/vt_execwrap.c",
  line 410: undefined symbol: environ
"../../../../../../openmpi-1.6.4a1r27766/ompi/contrib/vt/vt/vtlib/vt_execwrap.c",
  line 410: warning: improper pointer/integer combination: op "="
cc: acomp failed for
.../openmpi-1.6.4a1r27766/ompi/contrib/vt/vt/vtlib/vt_execwrap.c
make[5]: *** [vt_execwrap.lo] Error 1
make[5]: Leaving directory `.../ompi/contrib/vt/vt/vtlib'
make[4]: *** [all-recursive] Error 1
...

> I would be grateful if you could solve the problem. Thank you
very much for your help in advance.

> Kind regards

> Siegmar