[ncl-install] Welcome to the "ncl-install" mailing list
Mary Haley
haley at ucar.edu
Thu Jul 12 13:41:06 MDT 2012
Hi folks,
Just a heads up that this was resolved by downloading a version of NCL that was compiled with a newer version of gcc, and also installing some additional system libraries required (like expat, freetype, cairo, etc).
--Mary
On Jul 12, 2012, at 12:47 PM, Ming Zhao wrote:
> Hi Mary,
>
> After installing those missing softwares, it finially worked!
>
> Thanks a lot!!
>
> Ming
>
> [root at T620 ~]# ncargex cpex08
>
> NCAR Graphics Fortran Example <cpex08>
>
> Copying cpex08.f
>
> Copying cpexcc.f
>
> Compiling and linking...
> gfortran -fPIC -fno-second-underscore -fno-range-check -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/ncarg/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lXrender -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lbz2 -lpthread
>
> Executing <cpex08>...
> PLOT TITLE WAS EXAMPLE 8
> INTEGER WORKSPACE USED 120
> REAL WORKSPACE USED 400
> AREA MAP SPACE USED 93250
> PLOT TITLE WAS EXAMPLE 8
> INTEGER WORKSPACE USED 120
> REAL WORKSPACE USED 400
> AREA MAP SPACE USED 866064
>
> Metafile file is named cpex08.ncgm.
>
> On Thu, Jul 12, 2012 at 12:57 PM, Mary Haley <haley at ucar.edu> wrote:
> I believe you can easily install these via yum or apt-get, or whatever is used on your system.
>
> Something like:
>
> yum install expat
> yum install freetype
>
> etc.
>
> --Mary
>
>
>
> On Jul 12, 2012, at 9:49 AM, Ming Zhao wrote:
>
> > Hi Mary,
> >
> > I just tried both ncl_ncarg-6.1.0-beta.Linux_RedHat_x86_64_nodap_gcc444.tar.gz
> > and ncl_ncarg-6.1.0-beta.Linux_Debian_x86_64_nodap_gcc445.tar.gz
> > Now I got these error message below.
> > Does that mean I missing some libraries? Sorry about those questions.
> >
> > Ming
> >
> > [root at T620 ~]# ncargex cpex08 -clean
> >
> > NCAR Graphics Fortran Example <cpex08>
> >
> > Copying cpex08.f
> >
> > Copying cpexcc.f
> >
> > Compiling and linking...
> > gfortran -fPIC -fno-second-underscore -fno-range-check -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/ncarg/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lXrender -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lbz2 -lpthread
> > /bin/ld: cannot find -lcairo
> > /bin/ld: cannot find -lXrender
> > /bin/ld: cannot find -lfontconfig
> > /bin/ld: cannot find -lpixman-1
> > /bin/ld: cannot find -lfreetype
> > /bin/ld: cannot find -lexpat
> > /bin/ld: cannot find -lbz2
> > collect2: error: ld returned 1 exit status
> >
> > The compile and link failed.
> >
> >
> >
> > On Thu, Jul 12, 2012 at 10:16 AM, Mary Haley <haley at ucar.edu> wrote:
> > You should be able to use Debian binaries too, I believe.
> >
> > --Mary
> >
> > On Jul 12, 2012, at 8:03 AM, Ming Zhao wrote:
> >
> > > Mary,
> > >
> > > Thanks! As I am running Fedora 17, the newest version for linux is compiled by GCC444 (ncl_ncarg-6.1.0-beta.Linux_RedHat_x86_64_gcc444.tar.gz ). I will try this one first.
> > >
> > > Ming
> > >
> > >
> > > On Thu, Jul 12, 2012 at 9:56 AM, Mary Haley <haley at ucar.edu> wrote:
> > > You have an newer version of gcc/gfortran, so I recommend downloading a newer binary,
> > > like one that was compiled with gcc 4.6.0.
> > >
> > > The binary file name will have something like "gcc460" as part of the file name, so this
> > > way you know what version to get.
> > >
> > > I have a description of the binaries here:
> > >
> > > http://www.ncl.ucar.edu/Download/list_of_binaries.shtml
> > >
> > > --Mary
> > >
> > > On Jul 11, 2012, at 3:18 PM, Ming Zhao wrote:
> > >
> > > > Hi Mary,
> > > >
> > > > I do need the ncar graphic.
> > > > I really appreciate you help!
> > > >
> > > > Here is what I got after typing:
> > > >
> > > > [ming-zhao at T620 Downloads]$ gcc --version
> > > > gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
> > > > Copyright (C) 2012 Free Software Foundation, Inc.
> > > > This is free software; see the source for copying conditions. There is NO
> > > > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> > > >
> > > > [ming-zhao at T620 Downloads]$ gfortran --version
> > > > GNU Fortran (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
> > > > Copyright (C) 2012 Free Software Foundation, Inc.
> > > >
> > > > GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
> > > > You may redistribute copies of GNU Fortran
> > > > under the terms of the GNU General Public License.
> > > > For more information about these matters, see the file named COPYING
> > > >
> > > > [ming-zhao at T620 Downloads]$ locate libgfortran
> > > > /usr/lib/gcc/x86_64-redhat-linux/4.7.0/libgfortran.so
> > > > /usr/lib/gcc/x86_64-redhat-linux/4.7.0/libgfortran.spec
> > > > /usr/lib/gcc/x86_64-redhat-linux/4.7.0/libgfortranbegin.a
> > > > /usr/lib/gcc/x86_64-redhat-linux/4.7.0/32/libgfortran.a
> > > > /usr/lib/gcc/x86_64-redhat-linux/4.7.0/32/libgfortran.so
> > > > /usr/lib/gcc/x86_64-redhat-linux/4.7.0/32/libgfortranbegin.a
> > > > /usr/lib64/libgfortran.so.3
> > > > /usr/lib64/libgfortran.so.3.0.0
> > > > /usr/share/doc/gcc-gfortran-4.7.0/ChangeLog-2002.libgfortran.bz2
> > > > /usr/share/doc/gcc-gfortran-4.7.0/ChangeLog-2003.libgfortran.bz2
> > > > /usr/share/doc/gcc-gfortran-4.7.0/ChangeLog-2004.libgfortran.bz2
> > > > /usr/share/doc/gcc-gfortran-4.7.0/ChangeLog-2005.libgfortran.bz2
> > > > /usr/share/doc/gcc-gfortran-4.7.0/ChangeLog-2006.libgfortran.bz2
> > > > /usr/share/doc/gcc-gfortran-4.7.0/ChangeLog-2007.libgfortran.bz2
> > > > /usr/share/doc/gcc-gfortran-4.7.0/ChangeLog-2008.libgfortran.bz2
> > > > /usr/share/doc/gcc-gfortran-4.7.0/ChangeLog-2009.libgfortran.bz2
> > > > /usr/share/doc/gcc-gfortran-4.7.0/ChangeLog-2010.libgfortran.bz2
> > > > /usr/share/doc/gcc-gfortran-4.7.0/ChangeLog-2011.libgfortran.bz2
> > > > /usr/share/doc/gcc-gfortran-4.7.0/ChangeLog.libgfortran.bz2
> > > >
> > > >
> > > >
> > > > On Wed, Jul 11, 2012 at 5:11 PM, Mary Haley <haley at ucar.edu> wrote:
> > > > Ming,
> > > >
> > > > I'll answer question #2 first. When I say "link in -lgfortran", I mean include "-lgfortran" at the end of your compile line. That's what you were doing when you typed:
> > > >
> > > > > ncargf77 cpex08.f cpexcc.f -o cpex08 -lgfortran
> > > >
> > > >
> > > > It looks like the version of NCL/NCAR Graphics that you downloaded was not built with the same version of gfortran that you have installed on your system.
> > > >
> > > > Do you actually need to use NCAR Graphics, or are you running this program because that's what the installation instructions told you to do? If you only need to use "ncl", then you don't need to worry about this particular test not working. The test to make sure "ncl" is working is:
> > > >
> > > > ncl -V
> > > >
> > > > and
> > > >
> > > > ng4ex xy01n -clean
> > > >
> > > > The second command will cause a window to pop up on your screen, and you need to click on this screen with your left mouse button to move to the next frame.
> > > >
> > > > If you do indeed need to use NCAR Graphics, then what does the following report:
> > > >
> > > > gcc --version
> > > > gfortran --version
> > > > locate libgfortran
> > > >
> > > > It may be that you have multiple versions of gcc/gfortran on your system, so you might need to "help" the compiler find the right version. The above commands will help me determine what version of gfortran you have (by default), and whether there might be multiple gfortran compilers installed on your system.
> > > >
> > > >
> > > > --Mary
> > > >
> > > >
> > > > On Jul 11, 2012, at 2:55 PM, Ming Zhao wrote:
> > > >
> > > > > Hi Mary,
> > > > >
> > > > > Thanks for your quick response.
> > > > >
> > > > > 1. I tried ncargf77 cpex08.f cpexcc.f -o cpex08 -lgfortran
> > > > > it give me errors:
> > > > >
> > > > > gfortran -fPIC -fno-second-underscore -O cpex08.f cpexcc.f -o cpex08 -lgfortran -L/usr/local/ncarg/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lgfortran
> > > > > /usr/local/ncarg/lib/libncarg.a(cpcldm.o): In function `cpcldm_':
> > > > > cpcldm.f:(.text+0x7e5): undefined reference to `_gfortran_copy_string'
> > > > > cpcldm.f:(.text+0xa17): undefined reference to `_gfortran_pow_r4_i4'
> > > > > cpcldm.f:(.text+0xa86): undefined reference to `_gfortran_pow_r4_i4'
> > > > > cpcldm.f:(.text+0xdcf): undefined reference to `_gfortran_copy_string'
> > > > > cpcldm.f:(.text+0xe59): undefined reference to `_gfortran_copy_string'
> > > > > cpcldm.f:(.text+0xf28): undefined reference to `_gfortran_copy_string'
> > > > > cpcldm.f:(.text+0x1014): undefined reference to `_gfortran_copy_string'
> > > > > cpcldm.f:(.text+0x10ad): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg.a(cpcldm.o):cpcldm.f:(.text+0x114f): more undefined references to `_gfortran_copy_string' follow
> > > > > /usr/local/ncarg/lib/libncarg.a(cppkcl.o): In function `cppkcl_':
> > > > > cppkcl.f:(.text+0x459): undefined reference to `_gfortran_pow_r4_i4'
> > > > > cppkcl.f:(.text+0x521): undefined reference to `_gfortran_pow_r4_i4'
> > > > > cppkcl.f:(.text+0x553): undefined reference to `_gfortran_pow_r4_i4'
> > > > > cppkcl.f:(.text+0x704): undefined reference to `_gfortran_copy_string'
> > > > > cppkcl.f:(.text+0x73f): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg.a(cppklb.o): In function `cppklb_':
> > > > > cppklb.f:(.text+0x4b1): undefined reference to `_gfortran_pow_r4_i4'
> > > > > cppklb.f:(.text+0x568): undefined reference to `_gfortran_pow_r4_i4'
> > > > > cppklb.f:(.text+0x5ee): undefined reference to `_gfortran_copy_string'
> > > > > cppklb.f:(.text+0x607): undefined reference to `_gfortran_copy_string'
> > > > > cppklb.f:(.text+0x861): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg.a(cpsetr.o): In function `cpsetr_':
> > > > > cpsetr.f:(.text+0x60): undefined reference to `_gfortran_copy_string'
> > > > > cpsetr.f:(.text+0x77): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg.a(cpsetr.o):cpsetr.f:(.text+0x39f): more undefined references to `_gfortran_copy_string' follow
> > > > > /usr/local/ncarg/lib/libncarg.a(cpinit.o): In function `cpinit_':
> > > > > cpinit.f:(.text+0x145a): undefined reference to `_gfortran_pow_r4_i4'
> > > > > /usr/local/ncarg/lib/libncarg.a(cpinrc.o): In function `cpinrc_':
> > > > > cpinrc.f:(.text+0x8d): undefined reference to `_gfortran_pow_r4_i4'
> > > > > cpinrc.f:(.text+0xb9): undefined reference to `_gfortran_copy_string'
> > > > > cpinrc.f:(.text+0x189): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg.a(cpnumb.o): In function `cpnumb_':
> > > > > cpnumb.f:(.text+0xf8): undefined reference to `_gfortran_copy_string'
> > > > > cpnumb.f:(.text+0x41b): undefined reference to `_gfortran_copy_string'
> > > > > cpnumb.f:(.text+0x558): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg.a(cpnumb.o):cpnumb.f:(.text+0x9ca): more undefined references to `_gfortran_copy_string' follow
> > > > > /usr/local/ncarg/lib/libncarg.a(dpgetc.o): In function `dpgetc_':
> > > > > dpgetc.f:(.text+0x52): undefined reference to `_gfortran_internal_malloc'
> > > > > dpgetc.f:(.text+0x83): undefined reference to `_gfortran_copy_string'
> > > > > dpgetc.f:(.text+0x8b): undefined reference to `_gfortran_internal_free'
> > > > > dpgetc.f:(.text+0x10a): undefined reference to `_gfortran_copy_string'
> > > > > dpgetc.f:(.text+0x16e): undefined reference to `_gfortran_copy_string'
> > > > > dpgetc.f:(.text+0x1d2): undefined reference to `_gfortran_copy_string'
> > > > > dpgetc.f:(.text+0x23e): undefined reference to `_gfortran_copy_string'
> > > > > dpgetc.f:(.text+0x24a): undefined reference to `_gfortran_internal_malloc'
> > > > > dpgetc.f:(.text+0x27b): undefined reference to `_gfortran_copy_string'
> > > > > dpgetc.f:(.text+0x283): undefined reference to `_gfortran_internal_free'
> > > > > /usr/local/ncarg/lib/libncarg.a(dpgetr.o): In function `dpgetr_':
> > > > > dpgetr.f:(.text+0x50): undefined reference to `_gfortran_internal_malloc'
> > > > > dpgetr.f:(.text+0x81): undefined reference to `_gfortran_copy_string'
> > > > > dpgetr.f:(.text+0x89): undefined reference to `_gfortran_internal_free'
> > > > > dpgetr.f:(.text+0x5c6): undefined reference to `_gfortran_internal_malloc'
> > > > > dpgetr.f:(.text+0x5f7): undefined reference to `_gfortran_copy_string'
> > > > > dpgetr.f:(.text+0x5ff): undefined reference to `_gfortran_internal_free'
> > > > > /usr/local/ncarg/lib/libncarg.a(dpsetc.o): In function `dpsetc_':
> > > > > dpsetc.f:(.text+0x96): undefined reference to `_gfortran_internal_malloc'
> > > > > dpsetc.f:(.text+0xc7): undefined reference to `_gfortran_copy_string'
> > > > > dpsetc.f:(.text+0xcf): undefined reference to `_gfortran_internal_free'
> > > > > dpsetc.f:(.text+0x146): undefined reference to `_gfortran_copy_string'
> > > > > dpsetc.f:(.text+0x1a2): undefined reference to `_gfortran_copy_string'
> > > > > dpsetc.f:(.text+0x1fe): undefined reference to `_gfortran_copy_string'
> > > > > dpsetc.f:(.text+0x277): undefined reference to `_gfortran_copy_string'
> > > > > dpsetc.f:(.text+0x283): undefined reference to `_gfortran_internal_malloc'
> > > > > dpsetc.f:(.text+0x2b4): undefined reference to `_gfortran_copy_string'
> > > > > dpsetc.f:(.text+0x2bc): undefined reference to `_gfortran_internal_free'
> > > > > /usr/local/ncarg/lib/libncarg.a(dpsetr.o): In function `dpsetr_':
> > > > > dpsetr.f:(.text+0x94): undefined reference to `_gfortran_internal_malloc'
> > > > > dpsetr.f:(.text+0xc5): undefined reference to `_gfortran_copy_string'
> > > > > dpsetr.f:(.text+0xcd): undefined reference to `_gfortran_internal_free'
> > > > > dpsetr.f:(.text+0x7e7): undefined reference to `_gfortran_internal_malloc'
> > > > > dpsetr.f:(.text+0x818): undefined reference to `_gfortran_copy_string'
> > > > > dpsetr.f:(.text+0x820): undefined reference to `_gfortran_internal_free'
> > > > > /usr/local/ncarg/lib/libncarg.a(mdpbla.o): In function `mdpbla_':
> > > > > mdpbla.f:(.text+0x31eb): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg.a(mdpita.o): In function `mdpita_':
> > > > > mdpita.f:(.text+0x3ce): undefined reference to `_gfortran_pow_r8_i4'
> > > > > mdpita.f:(.text+0x448): undefined reference to `_gfortran_pow_r8_i4'
> > > > > /usr/local/ncarg/lib/libncarg.a(mdpitm.o): In function `mdpitm_':
> > > > > mdpitm.f:(.text+0x3db): undefined reference to `_gfortran_pow_r8_i4'
> > > > > mdpitm.f:(.text+0x455): undefined reference to `_gfortran_pow_r8_i4'
> > > > > /usr/local/ncarg/lib/libncarg.a(mdlnam.o): In function `mdlnam_':
> > > > > mdlnam.f:(.text+0x98): undefined reference to `_gfortran_internal_malloc'
> > > > > mdlnam.f:(.text+0xca): undefined reference to `_gfortran_internal_malloc'
> > > > > mdlnam.f:(.text+0xf3): undefined reference to `_gfortran_internal_free'
> > > > > mdlnam.f:(.text+0x10b): undefined reference to `_gfortran_copy_string'
> > > > > mdlnam.f:(.text+0x113): undefined reference to `_gfortran_internal_free'
> > > > > mdlnam.f:(.text+0x185): undefined reference to `_gfortran_internal_malloc'
> > > > > mdlnam.f:(.text+0x1b6): undefined reference to `_gfortran_internal_malloc'
> > > > > mdlnam.f:(.text+0x1e3): undefined reference to `_gfortran_internal_free'
> > > > > mdlnam.f:(.text+0x1ee): undefined reference to `_gfortran_internal_malloc'
> > > > > mdlnam.f:(.text+0x216): undefined reference to `_gfortran_internal_free'
> > > > > mdlnam.f:(.text+0x23c): undefined reference to `_gfortran_copy_string'
> > > > > mdlnam.f:(.text+0x249): undefined reference to `_gfortran_internal_free'
> > > > > mdlnam.f:(.text+0x354): undefined reference to `_gfortran_copy_string'
> > > > > mdlnam.f:(.text+0x50e): undefined reference to `_gfortran_copy_string'
> > > > > mdlnam.f:(.text+0x5a5): undefined reference to `_gfortran_copy_string'
> > > > > mdlnam.f:(.text+0x6a6): undefined reference to `_gfortran_copy_string'
> > > > > mdlnam.f:(.text+0x70f): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg.a(mdlnam.o):mdlnam.f:(.text+0xc1c): more undefined references to `_gfortran_copy_string' follow
> > > > > /usr/local/ncarg/lib/libncarg.a(mdlndr.o): In function `mdlndr_':
> > > > > mdlndr.f:(.text+0x81): undefined reference to `_gfortran_internal_malloc'
> > > > > mdlndr.f:(.text+0xb0): undefined reference to `_gfortran_internal_malloc'
> > > > > mdlndr.f:(.text+0xd9): undefined reference to `_gfortran_internal_free'
> > > > > mdlndr.f:(.text+0xf1): undefined reference to `_gfortran_copy_string'
> > > > > mdlndr.f:(.text+0xf9): undefined reference to `_gfortran_internal_free'
> > > > > mdlndr.f:(.text+0x165): undefined reference to `_gfortran_internal_malloc'
> > > > > mdlndr.f:(.text+0x190): undefined reference to `_gfortran_internal_malloc'
> > > > > mdlndr.f:(.text+0x1ba): undefined reference to `_gfortran_internal_free'
> > > > > mdlndr.f:(.text+0x1c5): undefined reference to `_gfortran_internal_malloc'
> > > > > mdlndr.f:(.text+0x1ed): undefined reference to `_gfortran_internal_free'
> > > > > mdlndr.f:(.text+0x213): undefined reference to `_gfortran_copy_string'
> > > > > mdlndr.f:(.text+0x220): undefined reference to `_gfortran_internal_free'
> > > > > mdlndr.f:(.text+0x31e): undefined reference to `_gfortran_copy_string'
> > > > > mdlndr.f:(.text+0x4d2): undefined reference to `_gfortran_copy_string'
> > > > > mdlndr.f:(.text+0x563): undefined reference to `_gfortran_copy_string'
> > > > > mdlndr.f:(.text+0x5d4): undefined reference to `_gfortran_copy_string'
> > > > > mdlndr.f:(.text+0x636): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg.a(lbsetr.o):lbsetr.f:(.text+0x5a): more undefined references to `_gfortran_copy_string' follow
> > > > > /usr/local/ncarg/lib/libncarg.a(plchhq.o): In function `plchhq_':
> > > > > plchhq.f:(.text+0x262): undefined reference to `_gfortran_pow_r4_i4'
> > > > > /usr/local/ncarg/lib/libncarg.a(pcgetc.o): In function `pcgetc_':
> > > > > pcgetc.f:(.text+0xbd): undefined reference to `_gfortran_copy_string'
> > > > > pcgetc.f:(.text+0x151): undefined reference to `_gfortran_copy_string'
> > > > > pcgetc.f:(.text+0x17e): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg.a(pcfopn.o): In function `pcfopn_':
> > > > > pcfopn.f:(.text+0x39): undefined reference to `_gfortran_copy_string'
> > > > > pcfopn.f:(.text+0xa5): undefined reference to `_gfortran_copy_string'
> > > > > pcfopn.f:(.text+0x123): undefined reference to `_gfortran_internal_malloc'
> > > > > pcfopn.f:(.text+0x160): undefined reference to `_gfortran_copy_string'
> > > > > pcfopn.f:(.text+0x168): undefined reference to `_gfortran_internal_free'
> > > > > pcfopn.f:(.text+0x295): undefined reference to `_gfortran_copy_string'
> > > > > pcfopn.f:(.text+0x2bd): undefined reference to `_gfortran_copy_string'
> > > > > pcfopn.f:(.text+0x2f6): undefined reference to `_gfortran_internal_malloc'
> > > > > pcfopn.f:(.text+0x33a): undefined reference to `_gfortran_copy_string'
> > > > > pcfopn.f:(.text+0x342): undefined reference to `_gfortran_internal_free'
> > > > > pcfopn.f:(.text+0x38d): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg.a(sfsgfa.o): In function `sfsgfa_':
> > > > > sfsgfa.f:(.text+0x4c7): undefined reference to `_gfortran_pow_r4_i4'
> > > > > /usr/local/ncarg/lib/libncarg.a(seter.o): In function `seter_':
> > > > > seter.f:(.text+0x31f): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg.a(bcgetr.o): In function `bcgetr_':
> > > > > bcgetr.f:(.text+0x25): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg.a(bcsetr.o): In function `bcsetr_':
> > > > > bcsetr.f:(.text+0x25): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg.a(icfell.o): In function `icfell_':
> > > > > icfell.f:(.text+0x9d): undefined reference to `_gfortran_copy_string'
> > > > > icfell.f:(.text+0xb7): undefined reference to `_gfortran_internal_malloc'
> > > > > icfell.f:(.text+0xe4): undefined reference to `_gfortran_internal_malloc'
> > > > > icfell.f:(.text+0x10a): undefined reference to `_gfortran_internal_free'
> > > > > icfell.f:(.text+0x11d): undefined reference to `_gfortran_copy_string'
> > > > > icfell.f:(.text+0x125): undefined reference to `_gfortran_internal_free'
> > > > > icfell.f:(.text+0x147): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg.a(cpinrk.o): In function `cpinrk_':
> > > > > cpinrk.f:(.text+0x29): undefined reference to `_gfortran_pow_r4_i4'
> > > > > /usr/local/ncarg/lib/libncarg.a(mdgetc.o): In function `mdgetc_':
> > > > > mdgetc.f:(.text+0x8d): undefined reference to `_gfortran_copy_string'
> > > > > mdgetc.f:(.text+0xdc): undefined reference to `_gfortran_copy_string'
> > > > > mdgetc.f:(.text+0x12f): undefined reference to `_gfortran_copy_string'
> > > > > mdgetc.f:(.text+0x183): undefined reference to `_gfortran_copy_string'
> > > > > mdgetc.f:(.text+0x1d6): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg.a(mdgetc.o):mdgetc.f:(.text+0x226): more undefined references to `_gfortran_copy_string' follow
> > > > > /usr/local/ncarg/lib/libncarg.a(mdpcem.o): In function `mdpcem_':
> > > > > mdpcem.f:(.text+0x42): undefined reference to `_gfortran_internal_malloc'
> > > > > mdpcem.f:(.text+0x72): undefined reference to `_gfortran_copy_string'
> > > > > mdpcem.f:(.text+0x7a): undefined reference to `_gfortran_internal_free'
> > > > > /usr/local/ncarg/lib/libncarg.a(mdpio.o): In function `mdpio_':
> > > > > mdpio.f:(.text+0xe7): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg.a(mdpit.o): In function `mdpit_':
> > > > > mdpit.f:(.text+0x47a): undefined reference to `_gfortran_pow_r8_i4'
> > > > > mdpit.f:(.text+0x4f4): undefined reference to `_gfortran_pow_r8_i4'
> > > > > /usr/local/ncarg/lib/libncarg.a(mpdbdi.o): In function `mpdbdi_':
> > > > > mpdbdi.f:(.text+0x31): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg.a(plchmq.o): In function `plchmq_':
> > > > > plchmq.f:(.text+0x14b): undefined reference to `_gfortran_pow_r4_i4'
> > > > > /usr/local/ncarg/lib/libncarg.a(plchlq.o): In function `plchlq_':
> > > > > plchlq.f:(.text+0x1d9): undefined reference to `_gfortran_pow_r4_i4'
> > > > > /usr/local/ncarg/lib/libncarg.a(cpux.o): In function `cpux_':
> > > > > cpux.f:(.text+0xc4): undefined reference to `_gfortran_pow_r4_i4'
> > > > > /usr/local/ncarg/lib/libncarg.a(cpuy.o): In function `cpuy_':
> > > > > cpuy.f:(.text+0xc9): undefined reference to `_gfortran_pow_r4_i4'
> > > > > /usr/local/ncarg/lib/libncarg_gks.a(gerhnd.o): In function `gerhnd_':
> > > > > gerhnd.f:(.text+0xdc): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg_gks.a(gzgte2.o): In function `gzgte2_':
> > > > > gzgte2.f:(.text+0x66): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg_gks.a(gzputs.o): In function `gzputs_':
> > > > > gzputs.f:(.text+0x7c): undefined reference to `_gfortran_copy_string'
> > > > > gzputs.f:(.text+0xf8): undefined reference to `_gfortran_copy_string'
> > > > > gzputs.f:(.text+0x17d): undefined reference to `_gfortran_copy_string'
> > > > > /usr/local/ncarg/lib/libncarg_gks.a(gzopwk.o):gzopwk.f:(.text+0x516): more undefined references to `_gfortran_copy_string' follow
> > > > > collect2: error: ld returned 1 exit status
> > > > >
> > > > > 2. I read the question #5, but I do not understand this line
> > > > > "If your undefined references contain the string "gfortran", then you need to link in "-lgfortran": ".
> > > > > How could I "link in -lgfortran"?
> > > > > I also eidted the file ncargf77, but no luck.
> > > > >
> > > > >
> > > > > Thanks again!
> > > > >
> > > > > Ming
> > > > >
> > > > > On Wed, Jul 11, 2012 at 3:36 PM, Mary Haley <haley at ucar.edu> wrote:
> > > > > You may need to add -lgfortran to the end of the compile line.
> > > > >
> > > > > Try:
> > > > >
> > > > > ncargf77 cpex08.f cpexcc.f -o cpex08 -lgfortran
> > > > > ./cpex08
> > > > >
> > > > > If this doesn't work, then see question #5 at:
> > > > >
> > > > > http://www.ncl.ucar.edu/FAQ/#misc_005
> > > > >
> > > > > --Mary
> > > > >
> > > > > On Jul 11, 2012, at 12:27 PM, Ming Zhao wrote:
> > > > >
> > > > > > Dear all,
> > > > > >
> > > > > > I have downloaded the ncl_ncarg-6.0.0.Linux_RedHat_x86_64_nodap_gcc412
> > > > > >
> > > > > > My gfortran version is 4.7.0
> > > > > >
> > > > > > When I try to run the sample NCL script (ng4ex gsun01n) it works fine.
> > > > > > However, the ncarg sample produces errors:
> > > > > >
> > > > > > [root at T620 ~]# ncargex cpex08 -clean
> > > > > >
> > > > > > NCAR Graphics Fortran Example <cpex08>
> > > > > >
> > > > > > Copying cpex08.f
> > > > > >
> > > > > > Copying cpexcc.f
> > > > > >
> > > > > > Compiling and linking...
> > > > > > gfortran -fPIC -fno-second-underscore -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/ncarg/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext
> > > > > > /usr/local/ncarg/lib/libncarg.a(cpcldm.o): In function `cpcldm_':
> > > > > > cpcldm.f:(.text+0x7e5): undefined reference to `_gfortran_copy_string'
> > > > > > cpcldm.f:(.text+0xa17): undefined reference to `_gfortran_pow_r4_i4'
> > > > > > cpcldm.f:(.text+0xa86): undefined reference to `_gfortran_pow_r4_i4'
> > > > > > cpcldm.f:(.text+0xdcf): undefined reference to `_gfortran_copy_string'
> > > > > > cpcldm.f:(.text+0xe59): undefined reference to `_gfortran_copy_string'
> > > > > > cpcldm.f:(.text+0xf28): undefined reference to `_gfortran_copy_string'
> > > > > > cpcldm.f:(.text+0x1014): undefined reference to `_gfortran_copy_string'
> > > > > > cpcldm.f:(.text+0x10ad): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg.a(cpcldm.o):cpcldm.f:(.text+0x114f): more undefined references to `_gfortran_copy_string' follow
> > > > > > /usr/local/ncarg/lib/libncarg.a(cppkcl.o): In function `cppkcl_':
> > > > > > cppkcl.f:(.text+0x459): undefined reference to `_gfortran_pow_r4_i4'
> > > > > > cppkcl.f:(.text+0x521): undefined reference to `_gfortran_pow_r4_i4'
> > > > > > cppkcl.f:(.text+0x553): undefined reference to `_gfortran_pow_r4_i4'
> > > > > > cppkcl.f:(.text+0x704): undefined reference to `_gfortran_copy_string'
> > > > > > cppkcl.f:(.text+0x73f): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg.a(cppklb.o): In function `cppklb_':
> > > > > > cppklb.f:(.text+0x4b1): undefined reference to `_gfortran_pow_r4_i4'
> > > > > > cppklb.f:(.text+0x568): undefined reference to `_gfortran_pow_r4_i4'
> > > > > > cppklb.f:(.text+0x5ee): undefined reference to `_gfortran_copy_string'
> > > > > > cppklb.f:(.text+0x607): undefined reference to `_gfortran_copy_string'
> > > > > > cppklb.f:(.text+0x861): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg.a(cpsetr.o): In function `cpsetr_':
> > > > > > cpsetr.f:(.text+0x60): undefined reference to `_gfortran_copy_string'
> > > > > > cpsetr.f:(.text+0x77): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg.a(cpsetr.o):cpsetr.f:(.text+0x39f): more undefined references to `_gfortran_copy_string' follow
> > > > > > /usr/local/ncarg/lib/libncarg.a(cpinit.o): In function `cpinit_':
> > > > > > cpinit.f:(.text+0x145a): undefined reference to `_gfortran_pow_r4_i4'
> > > > > > /usr/local/ncarg/lib/libncarg.a(cpinrc.o): In function `cpinrc_':
> > > > > > cpinrc.f:(.text+0x8d): undefined reference to `_gfortran_pow_r4_i4'
> > > > > > cpinrc.f:(.text+0xb9): undefined reference to `_gfortran_copy_string'
> > > > > > cpinrc.f:(.text+0x189): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg.a(cpnumb.o): In function `cpnumb_':
> > > > > > cpnumb.f:(.text+0xf8): undefined reference to `_gfortran_copy_string'
> > > > > > cpnumb.f:(.text+0x41b): undefined reference to `_gfortran_copy_string'
> > > > > > cpnumb.f:(.text+0x558): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg.a(cpnumb.o):cpnumb.f:(.text+0x9ca): more undefined references to `_gfortran_copy_string' follow
> > > > > > /usr/local/ncarg/lib/libncarg.a(dpgetc.o): In function `dpgetc_':
> > > > > > dpgetc.f:(.text+0x52): undefined reference to `_gfortran_internal_malloc'
> > > > > > dpgetc.f:(.text+0x83): undefined reference to `_gfortran_copy_string'
> > > > > > dpgetc.f:(.text+0x8b): undefined reference to `_gfortran_internal_free'
> > > > > > dpgetc.f:(.text+0x10a): undefined reference to `_gfortran_copy_string'
> > > > > > dpgetc.f:(.text+0x16e): undefined reference to `_gfortran_copy_string'
> > > > > > dpgetc.f:(.text+0x1d2): undefined reference to `_gfortran_copy_string'
> > > > > > dpgetc.f:(.text+0x23e): undefined reference to `_gfortran_copy_string'
> > > > > > dpgetc.f:(.text+0x24a): undefined reference to `_gfortran_internal_malloc'
> > > > > > dpgetc.f:(.text+0x27b): undefined reference to `_gfortran_copy_string'
> > > > > > dpgetc.f:(.text+0x283): undefined reference to `_gfortran_internal_free'
> > > > > > /usr/local/ncarg/lib/libncarg.a(dpgetr.o): In function `dpgetr_':
> > > > > > dpgetr.f:(.text+0x50): undefined reference to `_gfortran_internal_malloc'
> > > > > > dpgetr.f:(.text+0x81): undefined reference to `_gfortran_copy_string'
> > > > > > dpgetr.f:(.text+0x89): undefined reference to `_gfortran_internal_free'
> > > > > > dpgetr.f:(.text+0x5c6): undefined reference to `_gfortran_internal_malloc'
> > > > > > dpgetr.f:(.text+0x5f7): undefined reference to `_gfortran_copy_string'
> > > > > > dpgetr.f:(.text+0x5ff): undefined reference to `_gfortran_internal_free'
> > > > > > /usr/local/ncarg/lib/libncarg.a(dpsetc.o): In function `dpsetc_':
> > > > > > dpsetc.f:(.text+0x96): undefined reference to `_gfortran_internal_malloc'
> > > > > > dpsetc.f:(.text+0xc7): undefined reference to `_gfortran_copy_string'
> > > > > > dpsetc.f:(.text+0xcf): undefined reference to `_gfortran_internal_free'
> > > > > > dpsetc.f:(.text+0x146): undefined reference to `_gfortran_copy_string'
> > > > > > dpsetc.f:(.text+0x1a2): undefined reference to `_gfortran_copy_string'
> > > > > > dpsetc.f:(.text+0x1fe): undefined reference to `_gfortran_copy_string'
> > > > > > dpsetc.f:(.text+0x277): undefined reference to `_gfortran_copy_string'
> > > > > > dpsetc.f:(.text+0x283): undefined reference to `_gfortran_internal_malloc'
> > > > > > dpsetc.f:(.text+0x2b4): undefined reference to `_gfortran_copy_string'
> > > > > > dpsetc.f:(.text+0x2bc): undefined reference to `_gfortran_internal_free'
> > > > > > /usr/local/ncarg/lib/libncarg.a(dpsetr.o): In function `dpsetr_':
> > > > > > dpsetr.f:(.text+0x94): undefined reference to `_gfortran_internal_malloc'
> > > > > > dpsetr.f:(.text+0xc5): undefined reference to `_gfortran_copy_string'
> > > > > > dpsetr.f:(.text+0xcd): undefined reference to `_gfortran_internal_free'
> > > > > > dpsetr.f:(.text+0x7e7): undefined reference to `_gfortran_internal_malloc'
> > > > > > dpsetr.f:(.text+0x818): undefined reference to `_gfortran_copy_string'
> > > > > > dpsetr.f:(.text+0x820): undefined reference to `_gfortran_internal_free'
> > > > > > /usr/local/ncarg/lib/libncarg.a(mdpbla.o): In function `mdpbla_':
> > > > > > mdpbla.f:(.text+0x31eb): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg.a(mdpita.o): In function `mdpita_':
> > > > > > mdpita.f:(.text+0x3ce): undefined reference to `_gfortran_pow_r8_i4'
> > > > > > mdpita.f:(.text+0x448): undefined reference to `_gfortran_pow_r8_i4'
> > > > > > /usr/local/ncarg/lib/libncarg.a(mdpitm.o): In function `mdpitm_':
> > > > > > mdpitm.f:(.text+0x3db): undefined reference to `_gfortran_pow_r8_i4'
> > > > > > mdpitm.f:(.text+0x455): undefined reference to `_gfortran_pow_r8_i4'
> > > > > > /usr/local/ncarg/lib/libncarg.a(mdlnam.o): In function `mdlnam_':
> > > > > > mdlnam.f:(.text+0x98): undefined reference to `_gfortran_internal_malloc'
> > > > > > mdlnam.f:(.text+0xca): undefined reference to `_gfortran_internal_malloc'
> > > > > > mdlnam.f:(.text+0xf3): undefined reference to `_gfortran_internal_free'
> > > > > > mdlnam.f:(.text+0x10b): undefined reference to `_gfortran_copy_string'
> > > > > > mdlnam.f:(.text+0x113): undefined reference to `_gfortran_internal_free'
> > > > > > mdlnam.f:(.text+0x185): undefined reference to `_gfortran_internal_malloc'
> > > > > > mdlnam.f:(.text+0x1b6): undefined reference to `_gfortran_internal_malloc'
> > > > > > mdlnam.f:(.text+0x1e3): undefined reference to `_gfortran_internal_free'
> > > > > > mdlnam.f:(.text+0x1ee): undefined reference to `_gfortran_internal_malloc'
> > > > > > mdlnam.f:(.text+0x216): undefined reference to `_gfortran_internal_free'
> > > > > > mdlnam.f:(.text+0x23c): undefined reference to `_gfortran_copy_string'
> > > > > > mdlnam.f:(.text+0x249): undefined reference to `_gfortran_internal_free'
> > > > > > mdlnam.f:(.text+0x354): undefined reference to `_gfortran_copy_string'
> > > > > > mdlnam.f:(.text+0x50e): undefined reference to `_gfortran_copy_string'
> > > > > > mdlnam.f:(.text+0x5a5): undefined reference to `_gfortran_copy_string'
> > > > > > mdlnam.f:(.text+0x6a6): undefined reference to `_gfortran_copy_string'
> > > > > > mdlnam.f:(.text+0x70f): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg.a(mdlnam.o):mdlnam.f:(.text+0xc1c): more undefined references to `_gfortran_copy_string' follow
> > > > > > /usr/local/ncarg/lib/libncarg.a(mdlndr.o): In function `mdlndr_':
> > > > > > mdlndr.f:(.text+0x81): undefined reference to `_gfortran_internal_malloc'
> > > > > > mdlndr.f:(.text+0xb0): undefined reference to `_gfortran_internal_malloc'
> > > > > > mdlndr.f:(.text+0xd9): undefined reference to `_gfortran_internal_free'
> > > > > > mdlndr.f:(.text+0xf1): undefined reference to `_gfortran_copy_string'
> > > > > > mdlndr.f:(.text+0xf9): undefined reference to `_gfortran_internal_free'
> > > > > > mdlndr.f:(.text+0x165): undefined reference to `_gfortran_internal_malloc'
> > > > > > mdlndr.f:(.text+0x190): undefined reference to `_gfortran_internal_malloc'
> > > > > > mdlndr.f:(.text+0x1ba): undefined reference to `_gfortran_internal_free'
> > > > > > mdlndr.f:(.text+0x1c5): undefined reference to `_gfortran_internal_malloc'
> > > > > > mdlndr.f:(.text+0x1ed): undefined reference to `_gfortran_internal_free'
> > > > > > mdlndr.f:(.text+0x213): undefined reference to `_gfortran_copy_string'
> > > > > > mdlndr.f:(.text+0x220): undefined reference to `_gfortran_internal_free'
> > > > > > mdlndr.f:(.text+0x31e): undefined reference to `_gfortran_copy_string'
> > > > > > mdlndr.f:(.text+0x4d2): undefined reference to `_gfortran_copy_string'
> > > > > > mdlndr.f:(.text+0x563): undefined reference to `_gfortran_copy_string'
> > > > > > mdlndr.f:(.text+0x5d4): undefined reference to `_gfortran_copy_string'
> > > > > > mdlndr.f:(.text+0x636): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg.a(lbsetr.o):lbsetr.f:(.text+0x5a): more undefined references to `_gfortran_copy_string' follow
> > > > > > /usr/local/ncarg/lib/libncarg.a(plchhq.o): In function `plchhq_':
> > > > > > plchhq.f:(.text+0x262): undefined reference to `_gfortran_pow_r4_i4'
> > > > > > /usr/local/ncarg/lib/libncarg.a(pcgetc.o): In function `pcgetc_':
> > > > > > pcgetc.f:(.text+0xbd): undefined reference to `_gfortran_copy_string'
> > > > > > pcgetc.f:(.text+0x151): undefined reference to `_gfortran_copy_string'
> > > > > > pcgetc.f:(.text+0x17e): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg.a(pcfopn.o): In function `pcfopn_':
> > > > > > pcfopn.f:(.text+0x39): undefined reference to `_gfortran_copy_string'
> > > > > > pcfopn.f:(.text+0xa5): undefined reference to `_gfortran_copy_string'
> > > > > > pcfopn.f:(.text+0x123): undefined reference to `_gfortran_internal_malloc'
> > > > > > pcfopn.f:(.text+0x160): undefined reference to `_gfortran_copy_string'
> > > > > > pcfopn.f:(.text+0x168): undefined reference to `_gfortran_internal_free'
> > > > > > pcfopn.f:(.text+0x295): undefined reference to `_gfortran_copy_string'
> > > > > > pcfopn.f:(.text+0x2bd): undefined reference to `_gfortran_copy_string'
> > > > > > pcfopn.f:(.text+0x2f6): undefined reference to `_gfortran_internal_malloc'
> > > > > > pcfopn.f:(.text+0x33a): undefined reference to `_gfortran_copy_string'
> > > > > > pcfopn.f:(.text+0x342): undefined reference to `_gfortran_internal_free'
> > > > > > pcfopn.f:(.text+0x38d): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg.a(sfsgfa.o): In function `sfsgfa_':
> > > > > > sfsgfa.f:(.text+0x4c7): undefined reference to `_gfortran_pow_r4_i4'
> > > > > > /usr/local/ncarg/lib/libncarg.a(seter.o): In function `seter_':
> > > > > > seter.f:(.text+0x31f): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg.a(bcgetr.o): In function `bcgetr_':
> > > > > > bcgetr.f:(.text+0x25): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg.a(bcsetr.o): In function `bcsetr_':
> > > > > > bcsetr.f:(.text+0x25): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg.a(icfell.o): In function `icfell_':
> > > > > > icfell.f:(.text+0x9d): undefined reference to `_gfortran_copy_string'
> > > > > > icfell.f:(.text+0xb7): undefined reference to `_gfortran_internal_malloc'
> > > > > > icfell.f:(.text+0xe4): undefined reference to `_gfortran_internal_malloc'
> > > > > > icfell.f:(.text+0x10a): undefined reference to `_gfortran_internal_free'
> > > > > > icfell.f:(.text+0x11d): undefined reference to `_gfortran_copy_string'
> > > > > > icfell.f:(.text+0x125): undefined reference to `_gfortran_internal_free'
> > > > > > icfell.f:(.text+0x147): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg.a(cpinrk.o): In function `cpinrk_':
> > > > > > cpinrk.f:(.text+0x29): undefined reference to `_gfortran_pow_r4_i4'
> > > > > > /usr/local/ncarg/lib/libncarg.a(mdgetc.o): In function `mdgetc_':
> > > > > > mdgetc.f:(.text+0x8d): undefined reference to `_gfortran_copy_string'
> > > > > > mdgetc.f:(.text+0xdc): undefined reference to `_gfortran_copy_string'
> > > > > > mdgetc.f:(.text+0x12f): undefined reference to `_gfortran_copy_string'
> > > > > > mdgetc.f:(.text+0x183): undefined reference to `_gfortran_copy_string'
> > > > > > mdgetc.f:(.text+0x1d6): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg.a(mdgetc.o):mdgetc.f:(.text+0x226): more undefined references to `_gfortran_copy_string' follow
> > > > > > /usr/local/ncarg/lib/libncarg.a(mdpcem.o): In function `mdpcem_':
> > > > > > mdpcem.f:(.text+0x42): undefined reference to `_gfortran_internal_malloc'
> > > > > > mdpcem.f:(.text+0x72): undefined reference to `_gfortran_copy_string'
> > > > > > mdpcem.f:(.text+0x7a): undefined reference to `_gfortran_internal_free'
> > > > > > /usr/local/ncarg/lib/libncarg.a(mdpio.o): In function `mdpio_':
> > > > > > mdpio.f:(.text+0xe7): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg.a(mdpit.o): In function `mdpit_':
> > > > > > mdpit.f:(.text+0x47a): undefined reference to `_gfortran_pow_r8_i4'
> > > > > > mdpit.f:(.text+0x4f4): undefined reference to `_gfortran_pow_r8_i4'
> > > > > > /usr/local/ncarg/lib/libncarg.a(mpdbdi.o): In function `mpdbdi_':
> > > > > > mpdbdi.f:(.text+0x31): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg.a(plchmq.o): In function `plchmq_':
> > > > > > plchmq.f:(.text+0x14b): undefined reference to `_gfortran_pow_r4_i4'
> > > > > > /usr/local/ncarg/lib/libncarg.a(plchlq.o): In function `plchlq_':
> > > > > > plchlq.f:(.text+0x1d9): undefined reference to `_gfortran_pow_r4_i4'
> > > > > > /usr/local/ncarg/lib/libncarg.a(cpux.o): In function `cpux_':
> > > > > > cpux.f:(.text+0xc4): undefined reference to `_gfortran_pow_r4_i4'
> > > > > > /usr/local/ncarg/lib/libncarg.a(cpuy.o): In function `cpuy_':
> > > > > > cpuy.f:(.text+0xc9): undefined reference to `_gfortran_pow_r4_i4'
> > > > > > /usr/local/ncarg/lib/libncarg_gks.a(gerhnd.o): In function `gerhnd_':
> > > > > > gerhnd.f:(.text+0xdc): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg_gks.a(gzgte2.o): In function `gzgte2_':
> > > > > > gzgte2.f:(.text+0x66): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg_gks.a(gzputs.o): In function `gzputs_':
> > > > > > gzputs.f:(.text+0x7c): undefined reference to `_gfortran_copy_string'
> > > > > > gzputs.f:(.text+0xf8): undefined reference to `_gfortran_copy_string'
> > > > > > gzputs.f:(.text+0x17d): undefined reference to `_gfortran_copy_string'
> > > > > > /usr/local/ncarg/lib/libncarg_gks.a(gzopwk.o):gzopwk.f:(.text+0x516): more undefined references to `_gfortran_copy_string' follow
> > > > > > collect2: error: ld returned 1 exit status
> > > > > >
> > > > > > The compile and link failed.
> > > > > >
> > > > > >
> > > > > >
> > > > > > Thanks for your help!
> > > > > >
> > > > > > _______________________________________________
> > > > > > ncl-install mailing list
> > > > > > List instructions, subscriber options, unsubscribe:
> > > > > > http://mailman.ucar.edu/mailman/listinfo/ncl-install
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
More information about the ncl-install
mailing list