LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Hugh Merz (merz_at_[hidden])
Date: 2005-01-12 13:28:39


Try setting CXX=/opt/intel/bin/icpc to get icc to link with the C++
libraries. Do a `man icpc` for more details.

Hugh

On Wed, 12 Jan 2005, John Young wrote:

>
> I am trying to build LAM 7.0.4 on an AMD64 box running SuSE
> Linux Enterprise Server 9 using the Intel EM64T Fortran, C,
> and C++ compilers.
>
> My configure command is "./configure CC=/opt/intel/bin/icc
> CXX=/opt/intel/bin/icc FC=/opt/intel/bin/ifc --disable-tv-queue
> --with-rsh=ssh
>
> Configure hits some bumps but seems to complete successfully.
> Make goes along until I get the message(s):
>
> /opt/intel/bin/icc -O3 -pthread -o laminfo laminfo.o
> ../../share/.libs/libmpi.a ../../share/.libs/liblam.a -laio -lutil
> laminfo.o(.text+0x256): In function `main':
> : undefined reference to `std::allocator<char>::allocator()'
> laminfo.o(.text+0x26a): In function `main':
> : undefined reference to `std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >::basic_string(char const*, std::allocator<char>
> const&)' and so on....
>
> There then follows a long string of similar 'undefined reference'
> errors.
>
> Per the instructions in the installation guide, I have
> tarred up config.log, config.LOG (output of the configure
> command), and make.LOG (output of the make command)and
> attached them to this email.
>
> Can anyone help me resolve this problem?
>
> JY
> ------------------------------------------------------------
> John E. Young B1148/R202
> Analytical Services and Materials, Inc. (757) 864-8659
>
>