LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: YoungHui Amend (yamend_at_[hidden])
Date: 2004-01-07 15:39:47


I'm compiling my application code against the LAM 7.0.3 which I just
built.

 

I'm getting

/usr/bin/ld: .../libmpi.a(abort.o): relocation R_X86_64_32 can not be
used when making a shared object; recompile with -fPIC

 

How do I specify this -fPIC option. Do I need to do this at the
configure step?

 

In previous version of LAM (6.3.2), we specified this option as "SCFLAGS
= -fPIC" How do I do this with 7.0.3 version.

Also, .so files are not getting created. What option do I need to
specify where?

 

Thanks,

 

YoungHui Amend

Endicott, NY