Hi, I am having this problem building LAM 7.1.1 on an Intel EM64T suse
Linux (sorry, I don't know the suse version) system.
Environment information:
CC="/opt/intel/cc/9.0/bin/icc"
CXX="/opt/intel/cc/9.0/bin/icc"
We used this configure:
./configure --with-tm=/usr/pbs --prefix=/opt/lam_7.1.1_install
--enable-shared --without-fc --without-mpi2cpp
I believe we had the same problem without --without-mpi2cpp, though I
can no longer verify this (I do not have access to the build system any
longer).
make
...
make[2]: Leaving directory `/tmp/altair/lam-7.1.1/tools/lamboot'
Making all in laminfo
make[2]: Entering directory `/tmp/altair/lam-7.1.1/tools/laminfo'
if /opt/intel/cc/9.0/bin/icc -DHAVE_CONFIG_H -I. -I.
-I../../share/include -DLAM_PREFIX="\"/opt/lam_7.1.1_install\""
-DLAM_BINDIR="\"/opt/lam_7.1.1_install/bin\""
-DLAM_LIBDIR="\"/opt/lam_7.1.1_install/lib\""
-DLAM_INCDIR="\"/opt/lam_7.1.1_install/include\""
-DLAM_PKGLIBDIR="\"/opt/lam_7.1.1_install/lib/lam\""
-DLAM_SYSCONFDIR="\"/opt/lam_7.1.1_install/etc\"" -I../../share/include
-DLAM_BUILDING=1 -O3 -pthread -MT laminfo.o -MD -MP -MF
".deps/laminfo.Tpo" -c -o laminfo.o laminfo.cc; \
then mv -f ".deps/laminfo.Tpo" ".deps/laminfo.Po"; else rm -f
".deps/laminfo.Tpo"; exit 1; fi
/bin/sh ../../libtool --mode=link /opt/intel/cc/9.0/bin/icc -O3
-pthread -o laminfo laminfo.o ../../share/libmpi/libmpi.la
../../share/liblam/liblam.la -lutil
/opt/intel/cc/9.0/bin/icc -O3 -o .libs/laminfo laminfo.o -pthread
../../share/libmpi/.libs/libmpi.so ../../share/liblam/.libs/liblam.so
-ldl -lutil -Wl,--rpath -Wl,/opt/lam_7.1.1_install/lib
IPO Error: unresolved : _ZNSaIcEC1Ev
Referenced in laminfo.o
IPO Error: unresolved : _ZNSsC1EPKcRKSaIcE
Referenced in laminfo.o
IPO Error: unresolved : _ZNSsD1Ev
Referenced in laminfo.o
IPO Error: unresolved : _ZNSaIcED1Ev
Referenced in laminfo.o
IPO Error: unresolved : _ZNSsC1Ev
Referenced in laminfo.o
IPO Error: unresolved : _ZNSsaSEPKc
...
: undefined reference to `std::allocator<char>::~allocator()'
laminfo.o(.text+0x873c): In function `destr_detour315.0.28':
: undefined reference to `std::allocator<char>::~allocator()'
laminfo.o(.text+0x8750): In function `destr_detour316.0.28':
: undefined reference to `std::allocator<char>::~allocator()'
laminfo.o(.text+0x8764): In function `destr_detour317.0.28':
: undefined reference to `std::allocator<char>::~allocator()'
laminfo.o(.text+0x8778): In function `destr_detour318.0.28':
: undefined reference to `std::allocator<char>::~allocator()'
laminfo.o(.text+0x878c): more undefined references to
`std::allocator<char>::~allocator()' follow
laminfo.o(.eh_frame+0x12): In function `.eh_frame_seg':
: undefined reference to `__gxx_personality_v0'
make[2]: *** [laminfo] Error 1
make[2]: Leaving directory `/tmp/altair/lam-7.1.1/tools/laminfo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/altair/lam-7.1.1/tools'
make: *** [all-recursive] Error 1
I know that this is one of MANY link errors, but it seems odd to me that
the Intel C++ compiler would produce a reference to
__gxx_personality_v0, though I only say that because the gxx makes me
think that g++ is being used somewhere instead of icc. Searching
through the build output I do not ever see a case of g++ being invoked.
The link does not include libstdc++.so. Does this library just need to
be added? Why wasn't it there if it is needed?
These lines appear in the configure output:
checking for gcc... /opt/intel/cc/9.0/bin/icc
checking dependency style of /opt/intel/cc/9.0/bin/icc... gcc3
Thanks VERY much for any help you can provide.
--
Scott Campbell
|