Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] Compilation error: 'OMPI_MPIHANDLES_DLL_PREFIX' undeclared
From: Irvanda Kurniadi (irvanda.k_at_[hidden])
Date: 2014-02-09 21:36:07


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