This breaks the build on my x86 OS X laptop with the following error: .....lots of output....then... /usr/bin/ld: multiple definitions of symbol _ompi_mtl_base_selected_component .libs/pml_cm_component.o definition of _ompi_mtl_base_selected_component in section (__DATA,__common) /Users/tmattox/FOSS/OMPI/ompi-tmp/timattox-sm-coll/ompi/.libs/libmpi.dylib(single module) definition of _ompi_mtl_base_selected_component collect2: ld returned 1 exit status make[2]: *** [mca_pml_cm.la] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1
If I revert r13841, it compiles as normal. On 2/28/07, hpcst...@osl.iu.edu <hpcst...@osl.iu.edu> wrote:
Author: hpcstork Date: 2007-02-28 07:51:55 EST (Wed, 28 Feb 2007) New Revision: 13841 Modified: trunk/ompi/mca/mtl/base/base.h trunk/ompi/mca/pml/cm/pml_cm_component.c Log: - proper export symbols that are required by other components. Modified: trunk/ompi/mca/mtl/base/base.h ============================================================================== --- trunk/ompi/mca/mtl/base/base.h (original) +++ trunk/ompi/mca/mtl/base/base.h 2007-02-28 07:51:55 EST (Wed, 28 Feb 2007) @@ -33,6 +33,8 @@ extern "C" { #endif +OMPI_DECLSPEC mca_mtl_base_component_t* ompi_mtl_base_selected_component; + OMPI_DECLSPEC int ompi_mtl_base_open(void); OMPI_DECLSPEC int ompi_mtl_base_select(bool enable_progress_threads, bool enable_mpi_threads); Modified: trunk/ompi/mca/pml/cm/pml_cm_component.c ============================================================================== --- trunk/ompi/mca/pml/cm/pml_cm_component.c (original) +++ trunk/ompi/mca/pml/cm/pml_cm_component.c 2007-02-28 07:51:55 EST (Wed, 28 Feb 2007) @@ -27,7 +27,6 @@ static mca_pml_base_module_t* mca_pml_cm_component_init( int* priority, bool enable_progress_threads, bool enable_mpi_threads); static int mca_pml_cm_component_fini(void); -extern mca_mtl_base_component_t* ompi_mtl_base_selected_component; mca_pml_base_component_1_0_0_t mca_pml_cm_component = { _______________________________________________ svn-full mailing list svn-f...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/svn-full
-- Tim Mattox - http://homepage.mac.com/tmattox/ tmat...@gmail.com || timat...@open-mpi.org I'm a bright... http://www.the-brights.net/