diff --git a/src/mca/coll/basic/coll_basic_component.c b/src/mca/coll/basic/coll_basic_component.c index 62cffc10d7..f9861b1c9a 100644 --- a/src/mca/coll/basic/coll_basic_component.c +++ b/src/mca/coll/basic/coll_basic_component.c @@ -27,6 +27,7 @@ const char *mca_coll_basic_component_version_string = * and pointers to our public functions in it */ +OMPI_EXPORT const mca_coll_base_component_1_0_0_t mca_coll_basic_component = { /* First, the mca_component_t struct containing meta information diff --git a/src/mca/coll/sm/coll_sm_component.c b/src/mca/coll/sm/coll_sm_component.c index 5134a4c169..4465fde24d 100644 --- a/src/mca/coll/sm/coll_sm_component.c +++ b/src/mca/coll/sm/coll_sm_component.c @@ -27,6 +27,7 @@ const char *mca_coll_sm_component_version_string = * and pointers to our public functions in it */ +OMPI_EXPORT const mca_coll_base_component_1_0_0_t mca_coll_sm_component = { /* First, the mca_component_t struct containing meta information diff --git a/src/mca/gpr/proxy/gpr_proxy_component.c b/src/mca/gpr/proxy/gpr_proxy_component.c index 203fae84c3..54ad65232e 100644 --- a/src/mca/gpr/proxy/gpr_proxy_component.c +++ b/src/mca/gpr/proxy/gpr_proxy_component.c @@ -29,6 +29,7 @@ /* * Struct of function pointers that need to be initialized */ +OMPI_EXPORT mca_gpr_base_component_t mca_gpr_proxy_component = { { MCA_GPR_BASE_VERSION_1_0_0, diff --git a/src/mca/gpr/replica/gpr_replica_component.c b/src/mca/gpr/replica/gpr_replica_component.c index 9751d558eb..f860ec15a0 100644 --- a/src/mca/gpr/replica/gpr_replica_component.c +++ b/src/mca/gpr/replica/gpr_replica_component.c @@ -34,6 +34,7 @@ /* * Struct of function pointers that need to be initialized */ +OMPI_EXPORT mca_gpr_base_component_t mca_gpr_replica_component = { { MCA_GPR_BASE_VERSION_1_0_0, diff --git a/src/mca/io/romio/src/io_romio_component.c b/src/mca/io/romio/src/io_romio_component.c index 00bef0a08c..5cdab1ddbc 100644 --- a/src/mca/io/romio/src/io_romio_component.c +++ b/src/mca/io/romio/src/io_romio_component.c @@ -26,6 +26,7 @@ static int delete_select(char *filename, struct ompi_info_t *info, struct mca_io_base_delete_t *private_data); +OMPI_EXPORT mca_io_base_component_1_0_0_t mca_io_romio_component = { /* First, the mca_base_component_t struct containing meta information about the component itself */ diff --git a/src/mca/llm/hostfile/src/llm_hostfile_component.c b/src/mca/llm/hostfile/src/llm_hostfile_component.c index 73fe619842..bde7b73d8d 100644 --- a/src/mca/llm/hostfile/src/llm_hostfile_component.c +++ b/src/mca/llm/hostfile/src/llm_hostfile_component.c @@ -17,6 +17,7 @@ * Instantiate the public struct with all of our public information * and pointers to our public functions in it */ +OMPI_EXPORT const mca_llm_base_component_1_0_0_t mca_llm_hostfile_component = { /* First, the mca_module_t struct containing meta information diff --git a/src/mca/mpool/sm/mpool_sm_component.c b/src/mca/mpool/sm/mpool_sm_component.c index cf3a3e1083..379a6c0388 100644 --- a/src/mca/mpool/sm/mpool_sm_component.c +++ b/src/mca/mpool/sm/mpool_sm_component.c @@ -18,6 +18,7 @@ static int mca_mpool_sm_open(void); static mca_mpool_base_module_t* mca_mpool_sm_init(bool *allow_multi_user_threads); +OMPI_EXPORT mca_mpool_sm_component_t mca_mpool_sm_component = { { /* First, the mca_base_component_t struct containing meta diff --git a/src/mca/ns/proxy/src/ns_proxy_component.c b/src/mca/ns/proxy/src/ns_proxy_component.c index 42d5add1e3..e55423b1e1 100644 --- a/src/mca/ns/proxy/src/ns_proxy_component.c +++ b/src/mca/ns/proxy/src/ns_proxy_component.c @@ -29,6 +29,7 @@ /* * Struct of function pointers that need to be initialized */ +OMPI_EXPORT mca_ns_base_component_t mca_ns_proxy_component = { { MCA_NS_BASE_VERSION_1_0_0, diff --git a/src/mca/ns/replica/src/ns_replica_component.c b/src/mca/ns/replica/src/ns_replica_component.c index 7d24f03979..309d01141d 100644 --- a/src/mca/ns/replica/src/ns_replica_component.c +++ b/src/mca/ns/replica/src/ns_replica_component.c @@ -31,6 +31,7 @@ /* * Struct of function pointers that need to be initialized */ +OMPI_EXPORT mca_ns_base_component_t mca_ns_replica_component = { { MCA_NS_BASE_VERSION_1_0_0, diff --git a/src/mca/oob/cofs/src/oob_cofs_component.c b/src/mca/oob/cofs/src/oob_cofs_component.c index 97980f068c..b32e091b42 100644 --- a/src/mca/oob/cofs/src/oob_cofs_component.c +++ b/src/mca/oob/cofs/src/oob_cofs_component.c @@ -23,6 +23,7 @@ /* * Struct of function pointers and all that to let us be initialized */ +OMPI_EXPORT mca_oob_base_component_1_0_0_t mca_oob_cofs_component = { { MCA_OOB_BASE_VERSION_1_0_0, diff --git a/src/mca/pcm/bproc/src/pcm_bproc_component.c b/src/mca/pcm/bproc/src/pcm_bproc_component.c index a1b3527ce1..30ed9ff468 100644 --- a/src/mca/pcm/bproc/src/pcm_bproc_component.c +++ b/src/mca/pcm/bproc/src/pcm_bproc_component.c @@ -24,6 +24,7 @@ /* * Struct of function pointers and all that to let us be initialized */ +OMPI_EXPORT mca_pcm_base_component_1_0_0_t mca_pcm_bproc_component = { { MCA_PCM_BASE_VERSION_1_0_0, diff --git a/src/mca/pcm/ompid/pcm_ompid_component.c b/src/mca/pcm/ompid/pcm_ompid_component.c index 27f70b69f2..03a9033e84 100644 --- a/src/mca/pcm/ompid/pcm_ompid_component.c +++ b/src/mca/pcm/ompid/pcm_ompid_component.c @@ -23,6 +23,7 @@ /* * Struct of function pointers and all that to let us be initialized */ +OMPI_EXPORT mca_pcm_base_component_1_0_0_t mca_pcm_ompid_component = { { MCA_PCM_BASE_VERSION_1_0_0, diff --git a/src/mca/pcm/rms/src/pcm_rms_component.c b/src/mca/pcm/rms/src/pcm_rms_component.c index 568e126ad1..54a956309a 100644 --- a/src/mca/pcm/rms/src/pcm_rms_component.c +++ b/src/mca/pcm/rms/src/pcm_rms_component.c @@ -31,6 +31,7 @@ extern char **environ; /* * Struct of function pointers and all that to let us be initialized */ +OMPI_EXPORT mca_pcm_base_component_1_0_0_t mca_pcm_rms_component = { { MCA_PCM_BASE_VERSION_1_0_0, diff --git a/src/mca/pcm/rsh/pcm_rsh_component.c b/src/mca/pcm/rsh/pcm_rsh_component.c index f7f5dfe659..a4686b7c70 100644 --- a/src/mca/pcm/rsh/pcm_rsh_component.c +++ b/src/mca/pcm/rsh/pcm_rsh_component.c @@ -27,6 +27,7 @@ /* * Struct of function pointers and all that to let us be initialized */ +OMPI_EXPORT mca_pcm_base_component_1_0_0_t mca_pcm_rsh_component = { { MCA_PCM_BASE_VERSION_1_0_0, diff --git a/src/mca/pcm/wmi/src/pcm_wmi_component.c b/src/mca/pcm/wmi/src/pcm_wmi_component.c index 726a3a3aca..71f8030177 100644 --- a/src/mca/pcm/wmi/src/pcm_wmi_component.c +++ b/src/mca/pcm/wmi/src/pcm_wmi_component.c @@ -24,6 +24,7 @@ /* * Struct of function pointers and all that to let us be initialized */ +OMPI_EXPORT mca_pcm_base_component_1_0_0_t mca_pcm_wmi_component = { { MCA_PCM_BASE_VERSION_1_0_0, diff --git a/src/mca/pcmclient/env/pcmclient_env_component.c b/src/mca/pcmclient/env/pcmclient_env_component.c index 86739fe812..cc91f3bc6d 100644 --- a/src/mca/pcmclient/env/pcmclient_env_component.c +++ b/src/mca/pcmclient/env/pcmclient_env_component.c @@ -22,6 +22,7 @@ /* * Struct of function pointers and all that to let us be initialized */ +OMPI_EXPORT mca_pcmclient_base_component_1_0_0_t mca_pcmclient_env_component = { { MCA_PCMCLIENT_BASE_VERSION_1_0_0, diff --git a/src/mca/pcmclient/rms/pcmclient_rms_component.c b/src/mca/pcmclient/rms/pcmclient_rms_component.c index e7ed87917a..53092e82e2 100644 --- a/src/mca/pcmclient/rms/pcmclient_rms_component.c +++ b/src/mca/pcmclient/rms/pcmclient_rms_component.c @@ -22,6 +22,7 @@ /* * Struct of function pointers and all that to let us be initialized */ +OMPI_EXPORT mca_pcmclient_base_component_1_0_0_t mca_pcmclient_rms_component = { { MCA_PCMCLIENT_BASE_VERSION_1_0_0, diff --git a/src/mca/pcmclient/seed/pcmclient_seed_component.c b/src/mca/pcmclient/seed/pcmclient_seed_component.c index 2d5a24a4e8..078437a278 100644 --- a/src/mca/pcmclient/seed/pcmclient_seed_component.c +++ b/src/mca/pcmclient/seed/pcmclient_seed_component.c @@ -22,6 +22,7 @@ /* * Struct of function pointers and all that to let us be initialized */ +OMPI_EXPORT mca_pcmclient_base_component_1_0_0_t mca_pcmclient_seed_component = { { MCA_PCMCLIENT_BASE_VERSION_1_0_0, diff --git a/src/mca/pcmclient/singleton/pcmclient_singleton_component.c b/src/mca/pcmclient/singleton/pcmclient_singleton_component.c index ca24e1321e..620897c6b3 100644 --- a/src/mca/pcmclient/singleton/pcmclient_singleton_component.c +++ b/src/mca/pcmclient/singleton/pcmclient_singleton_component.c @@ -22,6 +22,7 @@ /* * Struct of function pointers and all that to let us be initialized */ +OMPI_EXPORT mca_pcmclient_base_component_1_0_0_t mca_pcmclient_singleton_component = { { MCA_PCMCLIENT_BASE_VERSION_1_0_0, diff --git a/src/mca/pml/teg/src/pml_teg_component.c b/src/mca/pml/teg/src/pml_teg_component.c index f94b19c692..7d0cecd82b 100644 --- a/src/mca/pml/teg/src/pml_teg_component.c +++ b/src/mca/pml/teg/src/pml_teg_component.c @@ -16,6 +16,7 @@ #include "pml_teg_proc.h" +OMPI_EXPORT mca_pml_base_component_1_0_0_t mca_pml_teg_component = { /* First, the mca_base_component_t struct containing meta diff --git a/src/mca/ptl/elan/src/ptl_elan_component.c b/src/mca/ptl/elan/src/ptl_elan_component.c index ffa8b1596b..a605aee429 100644 --- a/src/mca/ptl/elan/src/ptl_elan_component.c +++ b/src/mca/ptl/elan/src/ptl_elan_component.c @@ -28,6 +28,7 @@ extern ompi_proc_t *ompi_proc_local_proc; +OMPI_EXPORT mca_ptl_elan_component_t mca_ptl_elan_component = { { /* Base module information about itself */ diff --git a/src/mca/ptl/gm/src/ptl_gm_component.c b/src/mca/ptl/gm/src/ptl_gm_component.c index 540e1801dc..c3308fbb66 100644 --- a/src/mca/ptl/gm/src/ptl_gm_component.c +++ b/src/mca/ptl/gm/src/ptl_gm_component.c @@ -26,6 +26,7 @@ #include "ptl_gm_req.h" #include "ptl_gm_priv.h" +OMPI_EXPORT mca_ptl_gm_component_t mca_ptl_gm_component = { { /* First, the mca_base_component_t struct containing meta information diff --git a/src/mca/ptl/ib/src/ptl_ib_component.c b/src/mca/ptl/ib/src/ptl_ib_component.c index d419f8c73c..98ad83b384 100644 --- a/src/mca/ptl/ib/src/ptl_ib_component.c +++ b/src/mca/ptl/ib/src/ptl_ib_component.c @@ -19,6 +19,7 @@ #include "ptl_ib_priv.h" +OMPI_EXPORT mca_ptl_ib_component_t mca_ptl_ib_component = { { /* First, the mca_base_component_t struct containing meta information diff --git a/src/mca/ptl/prof/ptl_prof_component.c b/src/mca/ptl/prof/ptl_prof_component.c index 5ef562c877..6cb58067fe 100644 --- a/src/mca/ptl/prof/ptl_prof_component.c +++ b/src/mca/ptl/prof/ptl_prof_component.c @@ -31,6 +31,7 @@ static struct mca_ptl_base_module_t** ptl_prof_component_init_fn( bool *allow_multi_user_threads, bool *have_hidden_threads ); static int ptl_prof_component_control_fn( int param, void* value, size_t size ); +OMPI_EXPORT mca_ptl_prof_module_1_0_0_t mca_ptl_prof_component = { { /* First, the mca_base_module_t struct containing meta information diff --git a/src/mca/ptl/self/ptl_self_component.c b/src/mca/ptl/self/ptl_self_component.c index 8c577cde99..845805a445 100644 --- a/src/mca/ptl/self/ptl_self_component.c +++ b/src/mca/ptl/self/ptl_self_component.c @@ -24,6 +24,7 @@ #include "mca/base/mca_base_module_exchange.h" #include "ptl_self.h" +OMPI_EXPORT mca_ptl_self_component_t mca_ptl_self_component = { { /* First, the mca_base_component_t struct containing meta information diff --git a/src/mca/ptl/sm/src/ptl_sm_component.c b/src/mca/ptl/sm/src/ptl_sm_component.c index d87a4a63e6..d943ebd58e 100644 --- a/src/mca/ptl/sm/src/ptl_sm_component.c +++ b/src/mca/ptl/sm/src/ptl_sm_component.c @@ -41,6 +41,7 @@ static int mca_ptl_sm_component_exchange(void); * Shared Memory (SM) component instance. */ +OMPI_EXPORT mca_ptl_sm_component_t mca_ptl_sm_component = { { /* super is being filled in */ /* First, the mca_base_component_t struct containing meta information diff --git a/src/mca/ptl/tcp/src/ptl_tcp_component.c b/src/mca/ptl/tcp/src/ptl_tcp_component.c index fa78df5f13..fdf4df09da 100644 --- a/src/mca/ptl/tcp/src/ptl_tcp_component.c +++ b/src/mca/ptl/tcp/src/ptl_tcp_component.c @@ -29,6 +29,7 @@ #include "ptl_tcp_sendreq.h" +OMPI_EXPORT mca_ptl_tcp_component_t mca_ptl_tcp_component = { { /* First, the mca_base_module_t struct containing meta diff --git a/src/mca/svc/exec/svc_exec_component.c b/src/mca/svc/exec/svc_exec_component.c index d922dc0aba..0c4ff0471a 100644 --- a/src/mca/svc/exec/svc_exec_component.c +++ b/src/mca/svc/exec/svc_exec_component.c @@ -1,6 +1,7 @@ #include "svc_exec.h" +OMPI_EXPORT mca_svc_exec_component_t mca_svc_exec_component = { { /* First, the mca_base_module_t struct containing meta diff --git a/src/mca/svc/sched/svc_sched_component.c b/src/mca/svc/sched/svc_sched_component.c index 788e5f6217..64fbbae5ed 100644 --- a/src/mca/svc/sched/svc_sched_component.c +++ b/src/mca/svc/sched/svc_sched_component.c @@ -2,6 +2,7 @@ #include "util/proc_info.h" +OMPI_EXPORT mca_svc_sched_component_t mca_svc_sched_component = { { /* First, the mca_base_module_t struct containing meta diff --git a/src/mca/svc/stdio/svc_stdio_component.c b/src/mca/svc/stdio/svc_stdio_component.c index c7ec8983c4..60bd2850b2 100644 --- a/src/mca/svc/stdio/svc_stdio_component.c +++ b/src/mca/svc/stdio/svc_stdio_component.c @@ -1,6 +1,7 @@ #include "svc_stdio.h" +OMPI_EXPORT mca_svc_base_component_t mca_svc_stdio_component = { /* First, the mca_base_module_t struct containing meta information about the module itself */ diff --git a/src/mca/topo/unity/src/topo_unity_component.c b/src/mca/topo/unity/src/topo_unity_component.c index eed147f420..b02bbe2632 100644 --- a/src/mca/topo/unity/src/topo_unity_component.c +++ b/src/mca/topo/unity/src/topo_unity_component.c @@ -29,6 +29,7 @@ const char *mca_topo_unity_component_version_string = * and finalize() are called during creation/destruction of a comm * ******************************************************************* */ +OMPI_EXPORT const mca_topo_base_component_1_0_0_t mca_topo_unity_component = { {