[ncl-install] ncar problem

Mary Haley haley at ucar.edu
Mon Apr 6 10:30:02 MDT 2009


Juan

If you have a 32-bit system, please see my response at:

   http://www.ncl.ucar.edu/Support/install_archives/2009/0091.html

Scroll down to the bottom and you'll see the link to "libgfortran.412.a".

If you have a 64-bit system, let me know.

Meanwhile, you also need to include "cpexcc.f" on your compile line to
fix the other problem:

  ncargf77 cpex08.f cpexcc.f

--Mary


On Thu, 2 Apr 2009, juan vidal wrote:

> hi  i have ubuntu 8.1 whit gcc 4.3.1 and 4.2.3
>
> ive done the 1-8 principal steeps from the instalation page of ncl 5.1 http://www.ncl.ucar.edu/Download/install.shtml#LinuxMacNotes
>
> and the 1-3 steeps form the 9th  principal steep
>
> ncl is working good, but with ncarg by the time when im compiling
> i have the next problem
>
> cihuaocelotl:~> ncargf77 cpex08.f
> gfortran -fPIC -fno-second-underscore -fno-range-check -O cpex08.f -L/usr/local/ncarg/lib -L/usr/X11R6/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lpng -lz
> /tmp/cc47kP9W.o: In function `MAIN__':
> cpex08.f:(.text+0x5e6): undefined reference to `dfclrs_'
> cpex08.f:(.text+0x634): undefined reference to `gendat_'
> cpex08.f:(.text+0xd7e): undefined reference to `capsap_'
> cpex08.f:(.text+0xda4): undefined reference to `labtop_'
> cpex08.f:(.text+0xda9): undefined reference to `bndary_'
> cpex08.f:(.text+0x126b): undefined reference to `capsap_'
> cpex08.f:(.text+0x128b): undefined reference to `labtop_'
> cpex08.f:(.text+0x1290): undefined reference to `bndary_'
> /usr/local/ncarg/lib/libncarg.a(cpcldm.o): In function `cpcldm_':
> cpcldm.f:(.text+0x8ab): undefined reference to `_gfortran_copy_string'
> cpcldm.f:(.text+0xaf5): undefined reference to `_gfortran_pow_r4_i4'
> cpcldm.f:(.text+0xb79): undefined reference to `_gfortran_pow_r4_i4'
> cpcldm.f:(.text+0xf36): undefined reference to `_gfortran_copy_string'
> cpcldm.f:(.text+0xfc8): undefined reference to `_gfortran_copy_string'
> cpcldm.f:(.text+0x10bd): undefined reference to `_gfortran_copy_string'
> cpcldm.f:(.text+0x11c4): undefined reference to `_gfortran_copy_string'
> cpcldm.f:(.text+0x127f): undefined reference to `_gfortran_copy_string'
> .
> .
> .
> .
> ./usr/local/ncarg/lib/libncarg.a(mdgetc.o):mdgetc.f:(.text+0x289): more undefined references to `_gfortran_copy_string' follow
> /usr/local/ncarg/lib/libncarg.a(mdpcem.o): In function `mdpcem_':
> mdpcem.f:(.text+0x2c): undefined reference to `_gfortran_internal_malloc'
> mdpcem.f:(.text+0x7a): undefined reference to `_gfortran_copy_string'
> mdpcem.f:(.text+0x82): undefined reference to `_gfortran_internal_free'
> /usr/local/ncarg/lib/libncarg.a(mdpio.o): In function `mdpio_':
> mdpio.f:(.text+0x113): undefined reference to `_gfortran_copy_string'
> /usr/local/ncarg/lib/libncarg.a(mdpit.o): In function `mdpit_':
> mdpit.f:(.text+0x39b): undefined reference to `_gfortran_pow_r8_i4'
> mdpit.f:(.text+0x40d): undefined reference to `_gfortran_pow_r8_i4'
> /usr/local/ncarg/lib/libncarg.a(mpdbdi.o): In function `mpdbdi_':
> mpdbdi.f:(.text+0x3e): undefined reference to `_gfortran_copy_string'
> /usr/local/ncarg/lib/libncarg.a(plchmq.o): In function `plchmq_':
> plchmq.f:(.text+0x161): undefined reference to `_gfortran_pow_r4_i4'
> /usr/local/ncarg/lib/libncarg.a(plchlq.o): In function `plchlq_':
> plchlq.f:(.text+0x1ee): undefined reference to `_gfortran_pow_r4_i4'
> /usr/local/ncarg/lib/libncarg.a(cpux.o): In function `cpux_':
> cpux.f:(.text+0xe8): undefined reference to `_gfortran_pow_r4_i4'
> /usr/local/ncarg/lib/libncarg.a(cpuy.o): In function `cpuy_':
> cpuy.f:(.text+0xf7): undefined reference to `_gfortran_pow_r4_i4'
> /usr/local/ncarg/lib/libncarg_gks.a(gerhnd.o): In function `gerhnd_':
> gerhnd.f:(.text+0x101): undefined reference to `_gfortran_copy_string'
> /usr/local/ncarg/lib/libncarg_gks.a(gzgte2.o): In function `gzgte2_':
> gzgte2.f:(.text+0x72): undefined reference to `_gfortran_copy_string'
> /usr/local/ncarg/lib/libncarg_gks.a(gzputs.o): In function `gzputs_':
> gzputs.f:(.text+0x69): undefined reference to `_gfortran_copy_string'
> gzputs.f:(.text+0xed): undefined reference to `_gfortran_copy_string'
> gzputs.f:(.text+0x185): undefined reference to `_gfortran_copy_string'
> /usr/local/ncarg/lib/libncarg_gks.a(gzopwk.o):gzopwk.f:(.text+0x49e): more undefined references to `_gfortran_copy_string' follow
> collect2: ld devolvió el estado de salida 1
>
>
> what can i do?
>
> .
>
>


       ¡Obtén la mejor experiencia en la web! Descarga gratis el nuevo Internet Explorer 8. http://downloads.yahoo.com/ieak8/?l=mx


More information about the ncl-install mailing list