Re: WRAPIT in x86_64

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon, 6 Mar 2006 08:43:32 -0700 (MST)

Hi Bao,

It looks like NCL may not have been compiled properly on the x86_64
system in order to allow shared objects to be loaded. Let me look into
this, and then I'll get back to you.

--Mary

On Sun, 5 Mar 2006, Bao Qing wrote:

> Hi all,
>
> I'm compiling fortran subroutine in Linux. It works well in Linux, but failed in X86_64 Linux. Please see the following:
> ------------------------------------------
> $->uname -a
> Linux 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386 GNU/Linux
>
> $->WRAPIT t.f
> WRAPIT Version: 041106
> /usr/bin/g77
> COMPILING t.f
> LINKING
> END WRAPIT
> ------------------------------------------
> $->uname -a
> Linux 2.6.9-22.0.1.106.unsupportedsmp #1 SMP Sun Nov 6 09:55:19 CST 2005 x86_64 x86_64 x86_64 GNU/Linux
>
> $->WRAPIT t.f
> WRAPIT Version: 041106
> /usr/bin/g77
> COMPILING t.f
> LINKING
> /usr/bin/ld: WRAPIT.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
> WRAPIT.o: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> END WRAPIT
> ------------------------------------------
>
> Could anyone tell me how to 'recompile with -fPIC', or is there any other way to fix?
>
>
> Regards,
>
> Qing
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Mar 06 2006 - 08:43:32 MST

This archive was generated by hypermail 2.2.0 : Mon Mar 06 2006 - 09:05:06 MST