Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] Compilation error: 'OMPI_MPIHANDLES_DLL_PREFIX' undeclared
From: George Bosilca (bosilca_at_[hidden])
Date: 2014-02-10 09:59:45


It is a compilation flag passes through the Makefile (when automake is used). I guess you will have to modify the CMake to pass it as well. You need to for the compilation of the ompi/debuggers/ompi_debuggers.c and should point to the location of the installed libraries.

  George.

On Feb 10, 2014, at 03:36 , Irvanda Kurniadi <irvanda.k_at_[hidden]> wrote:

> Hi,
>
> I'm porting OpenMPI to L4/fiasco. I found this error message while compiling OpenMPI:
> error: ‘OMPI_MPIHANDLES_DLL_PREFIX’ undeclared (first use in this function)
> error: ‘OMPI_MSGQ_DLL_PREFIX’ undeclared (first use in this function)
>
> I found the OMPI_MPIHANDLES_DLL_PREFIX in CMakelist.txt like below:
> SET_TARGET_PROPERTIES(libmpi PROPERTIES COMPILE_FLAGS "${OMPI_C_DEF_PRE}OMPI_MPIHANDLES_DLL_PREFIX=libompi_dbg_mpihandles
> ${OMPI_C_DEF_PRE}OMPI_MSGQ_DLL_PREFIX=libompi_dbg_msgq")
>
> I don't know how to use this CMakelist.txt in L4/fiasco. Or maybe this problem can be fixed without CMakelist.txt. Anybody knows how to overcome this problem?
>
> regards,
> Irvanda
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel