Open MPI logo

Open MPI User's Mailing List Archives

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

From: Dries Kimpe (Dries.Kimpe_at_[hidden])
Date: 2005-11-11 20:03:23


The problem occurs when specifying both
--enable-static and --enable-shared ...

The following error appears:

[...]
-rpath -Wl,/home/lts/work/openmpi/openmpi-1.0rc5/orte/.libs -Wl,--rpath
-Wl,/home/lts/coolfluid/ompi/lib
/home/lts/work/openmpi/openmpi-1.0rc5/orte/.libs/liborte.so
-L/home/lts/work/openmpi/openmpi-1.0rc5/opal/.libs -lm -lutil -lnsl
-pthread -Wl,-soname -Wl,libmpi.so.0 -o .libs/libmpi.so.0.0.0
mca/pml/teg/.libs/libmca_pml_teg.a(pml_teg_ptl.o):(.data.rel+0x0):
multiple definition of `mca_pml_base_ptl_t_class'
mca/pml/uniq/.libs/libmca_pml_uniq.a(pml_uniq_ptl.o):(.data.rel+0x0):
first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld:
warning: creating a DT_TEXTREL in object.
collect2: ld returned 1 exit status
make[2]: *** [libmpi.la] Fout 1
make[2]: Leaving directory `/home/lts/work/openmpi/openmpi-1.0rc5/ompi'
make[1]: *** [all-recursive] Fout 1
make[1]: Leaving directory `/home/lts/work/openmpi/openmpi-1.0rc5/ompi'
make: *** [all-recursive] Fout 1

The following configure options were used:

  $ ./configure --prefix=/home/lts/coolfluid/ompi --enable-shared
--enable-static --with-pic --with-mpi-param-check=always

Build & make log attached.

  Greetings,
  Dries

>
> I've not determined exactly what triggers it, but the
> functions in ompi/ompi/mca/pml/pml_teg_ptl.c can clash
> with functions from ompi/ompi/mca/pml/pml_uniq_ptl.c
> on compile. I'm guessing that I'm using a combination
> of compile options that aren't getting tested that
> often, if I'm the only one noticing this:
>
> ./configure --prefix=/usr/openmpi --enable-mpi-threads
> --enable-progress-threads --with-threads=posix
> --enable-shared --enable-static --enable-mpi-f77
> --enable-mpi-f90
>
> Could someone verify that this problem is repeatable
> and not simply a problem at this end?
>
> Thanks.
>
> Jonathan
>
>
>
>
> __________________________________
> Yahoo! FareChase: Search multiple travel sites in one click.
> http://farechase.yahoo.com
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users