Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] XLF and 1.3.1
From: Jean-Michel Beuken (jean-michel.beuken_at_[hidden])
Date: 2009-04-14 04:19:50


Hello,

I'm trying to build 1.3.1 under IBM Power5 + SLES 9.1 + XLF 9.1...

after some searches on FAQ and Google, my configure :

export CC="/opt/ibmcmp/vac/7.0/bin/xlc"
export CXX="/opt/ibmcmp/vacpp/7.0/bin/xlc++"
export CFLAGS="-O2 -q64 -qmaxmem=-1"
#
export F77="/opt/ibmcmp/xlf/9.1/bin/xlf"
export FFLAGS="-O2 -q64 -qmaxmem=-1"
export FC="/opt/ibmcmp/xlf/9.1/bin/xlf90"
export FCFLAGS="-O2 -q64 -qmaxmem=-1"
#
export LDFLAGS="-q64"
#
./configure --prefix=/usr/local/openmpi_1.3.1 \
       --disable-ipv6 \
       --enable-mpi-f77 --enable-mpi-f90 \
       --disable-mpi-profile \
       --without-xgrid \
       --enable-static --disable-shared \
       --disable-heterogeneous \
       --enable-contrib-no-build=libnbc,vt \
       --enable-mca-no-build=maffinity,btl-portals \
       --disable-mpi-cxx --disable-mpi-cxx-seek

there is a problem of "multiple definition"...

any advices ?

thanks

jmb

----------------------------------------------
make[2]: Entering directory
`/usr/local/src/openmpi-1.3.1/opal/tools/wrappers'
/bin/sh ../../../libtool --tag=CC --mode=link
/opt/ibmcmp/vac/7.0/bin/xlc -DNDEBUG -O2 -q64 -qmaxmem=-1
-export-dynamic -q64 -o opal_wrapper opal_wrapper.o
../../../opal/libopen-pal.la -lnsl -lutil -lpthread
libtool: link: /opt/ibmcmp/vac/7.0/bin/xlc -DNDEBUG -O2 -q64 -qmaxmem=-1
-q64 -o opal_wrapper opal_wrapper.o -Wl,--export-dynamic
../../../opal/.libs/libopen-pal.a -ldl -lnsl -lutil -lpthread
../../../opal/.libs/libopen-pal.a(libltdlc_la-lt__alloc.o)(.opd+0x18):
In function `argz_next':
: multiple definition of `argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.opd+0x528): first
defined here
../../../opal/.libs/libopen-pal.a(libltdlc_la-lt__alloc.o)(.text+0x60):
In function `.argz_next':
: multiple definition of `.argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.text+0x4760):
first defined here
../../../opal/.libs/libopen-pal.a(libltdlc_la-lt__alloc.o)(.opd+0x30):
In function `__argz_next':
: multiple definition of `__argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.opd+0x540): first
defined here
../../../opal/.libs/libopen-pal.a(libltdlc_la-lt__alloc.o)(.text+0x80):
In function `.__argz_next':
: multiple definition of `.__argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.text+0x4780):
first defined here
../../../opal/.libs/libopen-pal.a(libltdlc_la-preopen.o)(.opd+0x108): In
function `argz_next':
: multiple definition of `argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.opd+0x528): first
defined here
../../../opal/.libs/libopen-pal.a(libltdlc_la-preopen.o)(.text+0x860):
In function `.argz_next':
: multiple definition of `.argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.text+0x4760):
first defined here
/usr/bin/ld: Warning: size of symbol `.argz_next' changed from 20 in
../../../opal/.libs/libopen-pal.a(libltdlc_la-preopen.o) to 60 in
../../../opal/.libs/libopen-pal.a(libltdlc_la-preopen.o)
../../../opal/.libs/libopen-pal.a(libltdlc_la-preopen.o)(.opd+0x120): In
function `__argz_next':
: multiple definition of `__argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.opd+0x540): first
defined here
../../../opal/.libs/libopen-pal.a(libltdlc_la-preopen.o)(.text+0x8a0):
In function `.__argz_next':
: multiple definition of `.__argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.text+0x4780):
first defined here
../../../opal/.libs/libopen-pal.a(dlopen.o)(.opd+0x78): In function
`argz_next':
: multiple definition of `argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.opd+0x528): first
defined here
../../../opal/.libs/libopen-pal.a(dlopen.o)(.text+0x240): In function
`.argz_next':
: multiple definition of `.argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.text+0x4760):
first defined here
../../../opal/.libs/libopen-pal.a(dlopen.o)(.opd+0x90): In function
`__argz_next':
: multiple definition of `__argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.opd+0x540): first
defined here
../../../opal/.libs/libopen-pal.a(dlopen.o)(.text+0x280): In function
`.__argz_next':
: multiple definition of `.__argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.text+0x4780):
first defined here
../../../opal/.libs/libopen-pal.a(libltdlc_la-lt_error.o)(.opd+0x78): In
function `argz_next':
: multiple definition of `argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.opd+0x528): first
defined here
../../../opal/.libs/libopen-pal.a(libltdlc_la-lt_error.o)(.text+0x260):
In function `.argz_next':
: multiple definition of `.argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.text+0x4760):
first defined here
../../../opal/.libs/libopen-pal.a(libltdlc_la-lt_error.o)(.opd+0x90): In
function `__argz_next':
: multiple definition of `__argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.opd+0x540): first
defined here
../../../opal/.libs/libopen-pal.a(libltdlc_la-lt_error.o)(.text+0x2a0):
In function `.__argz_next':
: multiple definition of `.__argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.text+0x4780):
first defined here
../../../opal/.libs/libopen-pal.a(libltdlc_la-lt_dlloader.o)(.opd+0x90):
In function `argz_next':
: multiple definition of `argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.opd+0x528): first
defined here
../../../opal/.libs/libopen-pal.a(libltdlc_la-lt_dlloader.o)(.text+0x480):
In function `.argz_next':
: multiple definition of `.argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.text+0x4760):
first defined here
/usr/bin/ld: Warning: size of symbol `.argz_next' changed from 60 in
../../../opal/.libs/libopen-pal.a(libltdlc_la-lt_dlloader.o) to 20 in
../../../opal/.libs/libopen-pal.a(libltdlc_la-lt_dlloader.o)
../../../opal/.libs/libopen-pal.a(libltdlc_la-lt_dlloader.o)(.opd+0xa8):
In function `__argz_next':
: multiple definition of `__argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.opd+0x540): first
defined here
../../../opal/.libs/libopen-pal.a(libltdlc_la-lt_dlloader.o)(.text+0x4a0):
In function `.__argz_next':
: multiple definition of `.__argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.text+0x4780):
first defined here
../../../opal/.libs/libopen-pal.a(libltdlc_la-slist.o)(.opd+0x2a0): In
function `argz_next':
: multiple definition of `argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.opd+0x528): first
defined here
../../../opal/.libs/libopen-pal.a(libltdlc_la-slist.o)(.text+0xc40): In
function `.argz_next':
: multiple definition of `.argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.text+0x4760):
first defined here
../../../opal/.libs/libopen-pal.a(libltdlc_la-slist.o)(.opd+0x2b8): In
function `__argz_next':
: multiple definition of `__argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.opd+0x540): first
defined here
../../../opal/.libs/libopen-pal.a(libltdlc_la-slist.o)(.text+0xc60): In
function `.__argz_next':
: multiple definition of `.__argz_next'
../../../opal/.libs/libopen-pal.a(libltdlc_la-ltdl.o)(.text+0x4780):
first defined here
make[2]: *** [opal_wrapper] Error 1
make[2]: Leaving directory
`/usr/local/src/openmpi-1.3.1/opal/tools/wrappers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/openmpi-1.3.1/opal'
make: *** [all-recursive] Error 1
f----------------------------------------------