I trace this one as far as I could. And the results are mostly unexpected.
On some of the clusters it compiles without any problems and on some
others it doesn't. The difference is ... if there is an ltdl.h installed
in the system directories. I don't think that's the expected behavior for
the compilation, if we have our own ltdl.h file why should we use the
system wide one ...

For some component it work as expected because on the revision 7106 the
-I$(top_srcdir)/opal/libltdl has been added to the AM_CPPFLAGS in the
Makefile.am. As most of our code use components there is a dependency
between nearly every file in the ompi source code and the ldtl.h file.
Having to modify all the Makefile.am is a herculean task ...

  george.

On Wed, 31 Aug 2005, George Bosilca wrote:

> Starting from yesterday I'm unable to compile on several clusters. I check
> the version of libtool, automake and autoconf and they all are the latest.
> However, in all the component I get similar errors:
>
> In file included from
> ../../../../../ompi-trunk/opal/mca/maffinity/base/maffinity_base_close.c:21:
> ../../../../../ompi-trunk/opal/mca/base/base.h:23:18: ltdl.h: No such file
> or directory
> In file included from
> ../../../../../ompi-trunk/opal/mca/maffinity/base/maffinity_base_close.c:21:
> ../../../../../ompi-trunk/opal/mca/base/base.h:136: error: parse error
> before "lt_dlhandle"
> ../../../../../ompi-trunk/opal/mca/base/base.h:137: warning: function
> declaration isn't a prototype
> make[4]: *** [maffinity_base_close.lo] Error 1
>
>   Any idea ?
>     george.
>
> "We must accept finite disappointment, but we must never lose infinite
> hope."
>                                   Martin Luther King
>
> _______________________________________________
> devel mailing list
> de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>

"We must accept finite disappointment, but we must never lose infinite
hope."
                                  Martin Luther King

Reply via email to