[ofa-general] ***SPAM*** ibutils/ibis linking error

Hal Rosenstock hal.rosenstock at gmail.com
Thu Oct 2 07:50:40 PDT 2008


Hi Oren,

When building using the master branch of ~orenk/ibutils.git, I get the
following error:

if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include/tcl8.4
-I/usr/local/include/infiniband -I/usr/local/include
-DOSM_VENDOR_INTF_OPENIB  -DOSM_BUILD_OPENIB -D_XOPEN_SOURCE=600
-D_BSD_SOURCE=1 -O2 -Wall -fno-strict-aliasing -fPIC
-DIBIS_VERSION=\"1.2\" -g -O2 -MT ibissh_wrap.o -MD -MP -MF
".deps/ibissh_wrap.Tpo" -c -o ibissh_wrap.o ibissh_wrap.cpp; \
      then mv -f ".deps/ibissh_wrap.Tpo" ".deps/ibissh_wrap.Po"; else
rm -f ".deps/ibissh_wrap.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CXX --mode=link g++ -I/usr/include/tcl8.4
-I/usr/local/include/infiniband -I/usr/local/include
-DOSM_VENDOR_INTF_OPENIB  -DOSM_BUILD_OPENIB -D_XOPEN_SOURCE=600
-D_BSD_SOURCE=1 -O2 -Wall -fno-strict-aliasing -fPIC
-DIBIS_VERSION=\"1.2\" -g -O2   -o ibis -static ibissh_wrap.o
-libiscom -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lopensm
-losmvendor -losmcomp -libumad -libcommon -L/usr/lib64 -ltcl8.4 -ldl
-lpthread  -lm
g++ -I/usr/include/tcl8.4 -I/usr/local/include/infiniband
-I/usr/local/include -DOSM_VENDOR_INTF_OPENIB -DOSM_BUILD_OPENIB
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -O2 -Wall -fno-strict-aliasing
-fPIC -DIBIS_VERSION=\"1.2\" -g -O2 -o ibis ibissh_wrap.o -Wl,-rpath
-Wl,/usr/local/lib  /home/halr/ibutils/ibis/src/.libs/libibiscom.a
-L/usr/local/lib /usr/local/lib/libopensm.a
/usr/local/lib/libosmvendor.a -L/home/halr/management/opensm/complib
/usr/local/lib/libosmcomp.a -lwrap /usr/local/lib/libibumad.a
/usr/local/lib/libibcommon.a -L/usr/lib64 -ltcl8.4 -ldl -lpthread -lm
/usr/lib/libc_nonshared.a(elf-init.oS)(.text.__i686.get_pc_thunk.bx+0x0):
In function `__i686.get_pc_thunk.bx':
: multiple definition of `__i686.get_pc_thunk.bx'
ibissh_wrap.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):/home/halr/ibutils/ibis/src/ibissh_wrap.cpp:186:
first defined here
collect2: ld returned 1 exit status

Any idea on what is causing this ?

Thanks.

-- Hal



More information about the general mailing list