Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] openmpi-1.6 undefined reference
From: marco atzeri (marco.atzeri_at_[hidden])
Date: 2012-05-23 02:58:27


I am trying to build openmpi-1.6 for cygwin with dynamic libs

---------------------------------------------------------
./autogen.sh
cd build_dir
source_dir/configure \
    LDFLAGS="-Wl,--export-all-symbols -no-undefined" \
    --disable-mca-dso \
    --without-udapl \
    --enable-cxx-exceptions \
    --enable-mpi-threads \
    --enable-progress-threads \
    --with-threads=posix \
    --without-cs-fs \
    --enable-heterogeneous \
    --with-mpi-param_check=always \
    --enable-contrib-no-build=vt \
 
--enable-mca-nobuild=memory_mallopt,paffinity,installdirs-windows,timer-windows,shmem-sysv
make
---------------------------------------------------------

the build stop here :
   CCLD libompitrace.la
Creating library file: .libs/libompitrace.dll.a.libs/abort.o: In
function `MPI_Abort':
/pub/devel/openmpi/openmpi-1.6-2/src/openmpi-1.6/ompi/contrib/libompitrace/abort.c:32:
undefined reference to `_o mpi_mpi_comm_world'
/pub/devel/openmpi/openmpi-1.6-2/src/openmpi-1.6/ompi/contrib/libompitrace/abort.c:32:
undefined reference to `_P MPI_Comm_rank'
/pub/devel/openmpi/openmpi-1.6-2/src/openmpi-1.6/ompi/contrib/libompitrace/abort.c:33:
undefined reference to `_P MPI_Comm_get_name'
/pub/devel/openmpi/openmpi-1.6-2/src/openmpi-1.6/ompi/contrib/libompitrace/abort.c:38:
undefined reference to `_P MPI_Abort'

I do not find "mpi_mpi_comm_world" defined in any of the
already built objects, except

./ompi/communicator/.libs/comm_init.o
00000200 C _ompi_mpi_comm_world

and on libmpi.dll.a

d002278.o:
00000000 i .idata$4
00000000 i .idata$5
00000000 i .idata$6
00000000 i .idata$7
00000000 t .text
          U __head_cygmpi_1_dll
00000000 I __imp__ompi_mpi_comm_world
00000000 I __nm__ompi_mpi_comm_world

Hint ?

Marco