* fjcsuper_at_[hidden] wrote on Mon, Jan 17, 2005 at 11:03:31AM CET:
>
> I am trying to build lam-7.1.1 on an AMD Opteron 64-bit machine, running Solaris 10 x86, build 72.
>
> I use Sun's Studio compilers.
> The problem is with the make install step.
Most likely, the problem occurs earlier. During compile, libtool munges
the -xarch=amd64. Can you confirm this by looking at what libtool calls
when the sources to liblam.la are compiled?
> This is the script i use to build LAM:
>
> export FC=/opt/SUNWspro/bin/f90
> export CC=/opt/SUNWspro/bin/cc
> export CXX=/opt/SUNWspro/bin/CC
> ./configure --prefix=/home/fjcsuper/lamMpi64 --enable-shared --without-mpi2cpp --without-romio --with-cflags="-fast -xarch=amd64" --with-fflags="-fast -xarch=amd64"
> make
> make install
>
>
> and these are the error messages i got:
>
>
> Making install in lamclean
> /bin/bash ../../libtool --mode=link /opt/SUNWspro/bin/cc -fast -xarch=amd64 -mt -fast -xarch=amd64 -o lamclean lamclean.o ../../share/liblam/liblam.la ../../share/libltdl/libltdlc.la -lsocket -lnsl -lthread -lthread
> /opt/SUNWspro/bin/cc -fast -xarch=amd64 -fast -xarch=amd64 -o .libs/lamclean lamclean.o -mt ../../share/liblam/.libs/liblam.so ../../share/libltdl/.libs/libltdlc.a -ldl -lsocket -lnsl -lthread -R/home/fjcsuper/lamMpi64/lib
> ld: fatal: file ../../share/liblam/.libs/liblam.so: wrong ELF class: ELFCLASS32
> ld: fatal: File processing errors. No output written to .libs/lamclean
I have to look at this again. I've been working with a SUN employee on
this, but my time constraints have caused that Libtool bug to still not
be resolved, sorry for that.
I'll report back on this issue as soon as I know more.
Regards,
Ralf
|