LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Aaron Thompson (aaron.p.thompson_at_[hidden])
Date: 2007-07-13 15:00:33


Dear list,
        Per Brian's advice, I'm trying to compile LAM with XLF as the
Fortran compiler and GCC 3.3 as the C compiler. I'm getting some
linker errors when compiling LAM with or without shared libs, this is
on a Mac G5 with Tiger. Here's the error:

        mkdir .libs
        /usr/bin/g++ -O3 -o .libs/laminfo laminfo.o -Wl,-bind_at_load ../../
share/libmpi/.libs/libmpi.dylib ../../share/liblam/.libs/
liblam.dylib -ldl
        ld: Undefined symbols:
        __ZNSaIcED4Ev
        __ZNSs20_S_empty_rep_storageE
        __ZNSsD4Ev
        make[2]: *** [laminfo] Error 1
        make[1]: *** [all-recursive] Error 1
        make: *** [all-recursive] Error 1
XLF is able to compile other, pure Fortran programs without error.
Has anyone used XLF with GCC? Is there a particular version of GCC
that does or doesn't work?

Thank you!

Aaron Thompson
Vanderbilt University
aaron.p.thompson_at_[hidden]