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 <irvand...@gmail.com> 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 > de...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/devel