It looks like you need to link in the gfortran system library. Try this:
ncargex cpex08 -lgfortran
Please see the FAQ question for further information:
http://www.ncl.ucar.edu/FAQ/#misc_003
--Mary
On Dec 16, 2008, at 3:47 AM, daxiawj wrote:
> Hi, all
>
> I'm using NCAR Command Language Version 5.0.1-beta in my Ubuntu
> x86_64, and
> the gcc/gfortran version is gcc version 4.3.2 (Ubuntu
> 4.3.2-1ubuntu11).
>
> When I was trying to compile ncarg examples, eg. ncargex shex01, it
> reported an
> error "pcfopn.f:(.text+0x27c): undefined reference to
> `_gfortran_copy_string'
> pcfopn.f:(.text+0x2a4): undefined reference to
> `_gfortran_copy_string' " or so.
>
> Does anybody know how to fix this problem?
>
> BTW. the ncl 5.0.1-beta in my i386 system with gfortran 4.3 also
> reported such
> problems.
>
> Regards,
> Wang Jun
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Dec 17 2008 - 11:26:13 MST
This archive was generated by hypermail 2.2.0 : Sat Dec 20 2008 - 12:36:21 MST