hi,<br> A few days before I downloaded "ncl_ncarg-5.1.0.Linux_i686_gcc412.tar.gz(binary)" from <a href="http://ucar.edu">ucar.edu</a>. I installed it according to "<a href="http://www.ncl.ucar.edu/Download/install.shtml">http://www.ncl.ucar.edu/Download/install.shtml</a>". I tested "ng4ex gsun01" and it worked well. I know the NCL was installed properly. But when i typed "ncargex cpex08" and it said as following. How can i do? Thanks a million!<br>
------------------------------------------------------------------------------------------------------------------------<br>Compiling and linking...<br>gfortran -fPIC -fno-second-underscore -fno-range-check -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/ncarg/lib -L/usr/X11R6/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lpng -lz -lgfortran<br>
/usr/lib/gcc/i386-redhat-linux/4.3.0/../../../crt1.o: In function `_start':<br>(.text+0x18): undefined reference to `main'<br>/usr/local/ncarg/lib/libncarg.a(cpcldm.o): In function `cpcldm_':<br>cpcldm.f:(.text+0x8ab): undefined reference to `_gfortran_copy_string'<br>
cpcldm.f:(.text+0xaf5): undefined reference to `_gfortran_pow_r4_i4'<br>cpcldm.f:(.text+0xb79): undefined reference to `_gfortran_pow_r4_i4'<br>cpcldm.f:(.text+0xf36): undefined reference to `_gfortran_copy_string'<br>
cpcldm.f:(.text+0xfc8): undefined reference to `_gfortran_copy_string'<br>cpcldm.f:(.text+0x10bd): undefined reference to `_gfortran_copy_string'<br>cpcldm.f:(.text+0x11c4): undefined reference to `_gfortran_copy_string'<br>
cpcldm.f:(.text+0x127f): undefined reference to `_gfortran_copy_string'<br>/usr/local/ncarg/lib/libncarg.a(cpcldm.o):cpcldm.f:(.text+0x134b): more undefined references to `_gfortran_copy_string' follow<br>/usr/local/ncarg/lib/libncarg.a(cppkcl.o): In function `cppkcl_':<br>
cppkcl.f:(.text+0x465): undefined reference to `_gfortran_pow_r4_i4'<br>cppkcl.f:(.text+0x52b): undefined reference to `_gfortran_pow_r4_i4'<br>cppkcl.f:(.text+0x553): undefined reference to `_gfortran_pow_r4_i4'<br>
cppkcl.f:(.text+0x6f6): undefined reference to `_gfortran_copy_string'<br>cppkcl.f:(.text+0x739): undefined reference to `_gfortran_copy_string'<br>/usr/local/ncarg/lib/libncarg.a(cppklb.o): In function `cppklb_':<br>
cppklb.f:(.text+0x47e): undefined reference to `_gfortran_pow_r4_i4'<br>cppklb.f:(.text+0x563): undefined reference to `_gfortran_pow_r4_i4'<br>cppklb.f:(.text+0x5ea): undefined reference to `_gfortran_copy_string'<br>
cppklb.f:(.text+0x60c): undefined reference to `_gfortran_copy_string'<br>cppklb.f:(.text+0x845): undefined reference to `_gfortran_copy_string'<br>/usr/local/ncarg/lib/libncarg.a(cpsetr.o): In function `cpsetr_':<br>
cpsetr.f:(.text+0x7b): undefined reference to `_gfortran_copy_string'<br>cpsetr.f:(.text+0x9c): undefined reference to `_gfortran_copy_string'<br>/usr/local/ncarg/lib/libncarg.a(cpsetr.o):cpsetr.f:(.text+0x4cc): more undefined references to `_gfortran_copy_string' follow<br>
/usr/local/ncarg/lib/libncarg.a(cpinit.o): In function `cpinit_':<br>cpinit.f:(.text+0x12f8): undefined reference to `_gfortran_pow_r4_i4'<br>/usr/local/ncarg/lib/libncarg.a(cpinrc.o): In function `cpinrc_':<br>
cpinrc.f:(.text+0xa1): undefined reference to `_gfortran_pow_r4_i4'<br>cpinrc.f:(.text+0xd5): undefined reference to `_gfortran_copy_string'<br>cpinrc.f:(.text+0x1b3): undefined reference to `_gfortran_copy_string'<br>
/usr/local/ncarg/lib/libncarg.a(cpnumb.o): In function `cpnumb_':<br>cpnumb.f:(.text+0xee): undefined reference to `_gfortran_copy_string'<br>cpnumb.f:(.text+0x472): undefined reference to `_gfortran_copy_string'<br>
cpnumb.f:(.text+0x602): undefined reference to `_gfortran_copy_string'<br>/usr/local/ncarg/lib/libncarg.a(cpnumb.o):cpnumb.f:(.text+0xa0f): more undefined references to `_gfortran_copy_string' follow<br>/usr/local/ncarg/lib/libncarg.a(dpgetc.o): In function `dpgetc_':<br>
dpgetc.f:(.text+0x61): undefined reference to `_gfortran_internal_malloc'<br>dpgetc.f:(.text+0xb3): undefined reference to `_gfortran_copy_string'<br>dpgetc.f:(.text+0xbb): undefined reference to `_gfortran_internal_free'<br>
dpgetc.f:(.text+0x161): undefined reference to `_gfortran_copy_string'<br>dpgetc.f:(.text+0x1e6): undefined reference to `_gfortran_copy_string'<br>dpgetc.f:(.text+0x26b): undefined reference to `_gfortran_copy_string'<br>
dpgetc.f:(.text+0x2f9): undefined reference to `_gfortran_copy_string'<br>dpgetc.f:(.text+0x30f): undefined reference to `_gfortran_internal_malloc'<br>dpgetc.f:(.text+0x361): undefined reference to `_gfortran_copy_string'<br>
dpgetc.f:(.text+0x369): undefined reference to `_gfortran_internal_free'<br>/usr/local/ncarg/lib/libncarg.a(dpgetr.o): In function `dpgetr_':<br>dpgetr.f:(.text+0x61): undefined reference to `_gfortran_internal_malloc'<br>
dpgetr.f:(.text+0xb3): undefined reference to `_gfortran_copy_string'<br>dpgetr.f:(.text+0xbb): undefined reference to `_gfortran_internal_free'<br>dpgetr.f:(.text+0x773): undefined reference to `_gfortran_internal_malloc'<br>
dpgetr.f:(.text+0x7c5): undefined reference to `_gfortran_copy_string'<br>dpgetr.f:(.text+0x7cd): undefined reference to `_gfortran_internal_free'<br>/usr/local/ncarg/lib/libncarg.a(dpsetc.o): In function `dpsetc_':<br>
dpsetc.f:(.text+0xa6): undefined reference to `_gfortran_internal_malloc'<br>dpsetc.f:(.text+0xf6): undefined reference to `_gfortran_copy_string'<br>dpsetc.f:(.text+0x101): undefined reference to `_gfortran_internal_free'<br>
dpsetc.f:(.text+0x19f): undefined reference to `_gfortran_copy_string'<br>dpsetc.f:(.text+0x21f): undefined reference to `_gfortran_copy_string'<br>dpsetc.f:(.text+0x29f): undefined reference to `_gfortran_copy_string'<br>
dpsetc.f:(.text+0x33f): undefined reference to `_gfortran_copy_string'<br>dpsetc.f:(.text+0x352): undefined reference to `_gfortran_internal_malloc'<br>dpsetc.f:(.text+0x3a2): undefined reference to `_gfortran_copy_string'<br>
dpsetc.f:(.text+0x3ad): undefined reference to `_gfortran_internal_free'<br>/usr/local/ncarg/lib/libncarg.a(dpsetr.o): In function `dpsetr_':<br>dpsetr.f:(.text+0xa6): undefined reference to `_gfortran_internal_malloc'<br>
dpsetr.f:(.text+0xf6): undefined reference to `_gfortran_copy_string'<br>dpsetr.f:(.text+0x101): undefined reference to `_gfortran_internal_free'<br>dpsetr.f:(.text+0xa2e): undefined reference to `_gfortran_internal_malloc'<br>
dpsetr.f:(.text+0xa7e): undefined reference to `_gfortran_copy_string'<br>dpsetr.f:(.text+0xa89): undefined reference to `_gfortran_internal_free'<br>/usr/local/ncarg/lib/libncarg.a(mdpbla.o): In function `.L372':<br>
mdpbla.f:(.text+0x2928): undefined reference to `_gfortran_copy_string'<br>/usr/local/ncarg/lib/libncarg.a(mdpita.o): In function `mdpita_':<br>mdpita.f:(.text+0x314): undefined reference to `_gfortran_pow_r8_i4'<br>
mdpita.f:(.text+0x386): undefined reference to `_gfortran_pow_r8_i4'<br>/usr/local/ncarg/lib/libncarg.a(mdpitm.o): In function `mdpitm_':<br>mdpitm.f:(.text+0x318): undefined reference to `_gfortran_pow_r8_i4'<br>
mdpitm.f:(.text+0x38a): undefined reference to `_gfortran_pow_r8_i4'<br>/usr/local/ncarg/lib/libncarg.a(mdlnam.o): In function `mdlnam_':<br>mdlnam.f:(.text+0x83): undefined reference to `_gfortran_internal_malloc'<br>
mdlnam.f:(.text+0xcf): undefined reference to `_gfortran_internal_malloc'<br>mdlnam.f:(.text+0x111): undefined reference to `_gfortran_internal_free'<br>mdlnam.f:(.text+0x135): undefined reference to `_gfortran_copy_string'<br>
mdlnam.f:(.text+0x13d): undefined reference to `_gfortran_internal_free'<br>mdlnam.f:(.text+0x1dd): undefined reference to `_gfortran_internal_malloc'<br>mdlnam.f:(.text+0x222): undefined reference to `_gfortran_internal_malloc'<br>
mdlnam.f:(.text+0x25e): undefined reference to `_gfortran_internal_free'<br>mdlnam.f:(.text+0x26c): undefined reference to `_gfortran_internal_malloc'<br>mdlnam.f:(.text+0x2ac): undefined reference to `_gfortran_internal_free'<br>
mdlnam.f:(.text+0x2e7): undefined reference to `_gfortran_copy_string'<br>mdlnam.f:(.text+0x301): undefined reference to `_gfortran_internal_free'<br>mdlnam.f:(.text+0x416): undefined reference to `_gfortran_copy_string'<br>
mdlnam.f:(.text+0x61b): undefined reference to `_gfortran_copy_string'<br>mdlnam.f:(.text+0x6b3): undefined reference to `_gfortran_copy_string'<br>mdlnam.f:(.text+0x7ce): undefined reference to `_gfortran_copy_string'<br>
mdlnam.f:(.text+0x840): undefined reference to `_gfortran_copy_string'<br>/usr/local/ncarg/lib/libncarg.a(mdlnam.o):mdlnam.f:(.text+0xd29): more undefined references to `_gfortran_copy_string' follow<br>/usr/local/ncarg/lib/libncarg.a(mdlndr.o): In function `mdlndr_':<br>
mdlndr.f:(.text+0x83): undefined reference to `_gfortran_internal_malloc'<br>mdlndr.f:(.text+0xcf): undefined reference to `_gfortran_internal_malloc'<br>mdlndr.f:(.text+0x111): undefined reference to `_gfortran_internal_free'<br>
mdlndr.f:(.text+0x135): undefined reference to `_gfortran_copy_string'<br>mdlndr.f:(.text+0x13d): undefined reference to `_gfortran_internal_free'<br>mdlndr.f:(.text+0x1dd): undefined reference to `_gfortran_internal_malloc'<br>
mdlndr.f:(.text+0x222): undefined reference to `_gfortran_internal_malloc'<br>mdlndr.f:(.text+0x25e): undefined reference to `_gfortran_internal_free'<br>mdlndr.f:(.text+0x26c): undefined reference to `_gfortran_internal_malloc'<br>
mdlndr.f:(.text+0x2ac): undefined reference to `_gfortran_internal_free'<br>mdlndr.f:(.text+0x2e7): undefined reference to `_gfortran_copy_string'<br>mdlndr.f:(.text+0x301): undefined reference to `_gfortran_internal_free'<br>
mdlndr.f:(.text+0x416): undefined reference to `_gfortran_copy_string'<br>mdlndr.f:(.text+0x61b): undefined reference to `_gfortran_copy_string'<br>mdlndr.f:(.text+0x6b3): undefined reference to `_gfortran_copy_string'<br>
mdlndr.f:(.text+0x732): undefined reference to `_gfortran_copy_string'<br>mdlndr.f:(.text+0x796): undefined reference to `_gfortran_copy_string'<br>/usr/local/ncarg/lib/libncarg.a(lbsetr.o):lbsetr.f:(.text+0x73): more undefined references to `_gfortran_copy_string' follow<br>
/usr/local/ncarg/lib/libncarg.a(plchhq.o): In function `plchhq_':<br>plchhq.f:(.text+0x23a): undefined reference to `_gfortran_pow_r4_i4'<br>/usr/local/ncarg/lib/libncarg.a(pcgetc.o): In function `pcgetc_':<br>
pcgetc.f:(.text+0xe3): undefined reference to `_gfortran_copy_string'<br>pcgetc.f:(.text+0x192): undefined reference to `_gfortran_copy_string'<br>pcgetc.f:(.text+0x1bf): undefined reference to `_gfortran_copy_string'<br>
/usr/local/ncarg/lib/libncarg.a(pcfopn.o): In function `pcfopn_':<br>pcfopn.f:(.text+0x47): undefined reference to `_gfortran_copy_string'<br>pcfopn.f:(.text+0xa8): undefined reference to `_gfortran_copy_string'<br>
pcfopn.f:(.text+0x132): undefined reference to `_gfortran_internal_malloc'<br>pcfopn.f:(.text+0x18e): undefined reference to `_gfortran_copy_string'<br>pcfopn.f:(.text+0x19c): undefined reference to `_gfortran_internal_free'<br>
pcfopn.f:(.text+0x31b): undefined reference to `_gfortran_copy_string'<br>pcfopn.f:(.text+0x348): undefined reference to `_gfortran_copy_string'<br>pcfopn.f:(.text+0x38d): undefined reference to `_gfortran_internal_malloc'<br>
pcfopn.f:(.text+0x3e5): undefined reference to `_gfortran_copy_string'<br>pcfopn.f:(.text+0x3ed): undefined reference to `_gfortran_internal_free'<br>pcfopn.f:(.text+0x453): undefined reference to `_gfortran_copy_string'<br>
/usr/local/ncarg/lib/libncarg.a(sfsgfa.o): In function `sfsgfa_':<br>sfsgfa.f:(.text+0x495): undefined reference to `_gfortran_pow_r4_i4'<br>/usr/local/ncarg/lib/libncarg.a(seter.o): In function `seter_':<br>seter.f:(.text+0x38c): undefined reference to `_gfortran_copy_string'<br>
/usr/local/ncarg/lib/libncarg.a(bcgetr.o): In function `bcgetr_':<br>bcgetr.f:(.text+0x34): undefined reference to `_gfortran_copy_string'<br>/usr/local/ncarg/lib/libncarg.a(bcsetr.o): In function `bcsetr_':<br>
bcsetr.f:(.text+0x34): undefined reference to `_gfortran_copy_string'<br>/usr/local/ncarg/lib/libncarg.a(icfell.o): In function `icfell_':<br>icfell.f:(.text+0x9f): undefined reference to `_gfortran_copy_string'<br>
icfell.f:(.text+0xbf): undefined reference to `_gfortran_internal_malloc'<br>icfell.f:(.text+0x105): undefined reference to `_gfortran_internal_malloc'<br>icfell.f:(.text+0x147): undefined reference to `_gfortran_internal_free'<br>
icfell.f:(.text+0x165): undefined reference to `_gfortran_copy_string'<br>icfell.f:(.text+0x16d): undefined reference to `_gfortran_internal_free'<br>icfell.f:(.text+0x192): undefined reference to `_gfortran_copy_string'<br>
/usr/local/ncarg/lib/libncarg.a(cpinrk.o): In function `cpinrk_':<br>cpinrk.f:(.text+0x2d): undefined reference to `_gfortran_pow_r4_i4'<br>/usr/local/ncarg/lib/libncarg.a(mdgetc.o): In function `mdgetc_':<br>
mdgetc.f:(.text+0xa3): undefined reference to `_gfortran_copy_string'<br>mdgetc.f:(.text+0x103): undefined reference to `_gfortran_copy_string'<br>mdgetc.f:(.text+0x167): undefined reference to `_gfortran_copy_string'<br>
mdgetc.f:(.text+0x1c4): undefined reference to `_gfortran_copy_string'<br>mdgetc.f:(.text+0x228): undefined reference to `_gfortran_copy_string'<br>/usr/local/ncarg/lib/libncarg.a(mdgetc.o):mdgetc.f:(.text+0x289): more undefined references to `_gfortran_copy_string' follow<br>
/usr/local/ncarg/lib/libncarg.a(mdpcem.o): In function `mdpcem_':<br>mdpcem.f:(.text+0x2c): undefined reference to `_gfortran_internal_malloc'<br>mdpcem.f:(.text+0x7a): undefined reference to `_gfortran_copy_string'<br>
mdpcem.f:(.text+0x82): undefined reference to `_gfortran_internal_free'<br>/usr/local/ncarg/lib/libncarg.a(mdpio.o): In function `mdpio_':<br>mdpio.f:(.text+0x113): undefined reference to `_gfortran_copy_string'<br>
/usr/local/ncarg/lib/libncarg.a(mdpit.o): In function `mdpit_':<br>mdpit.f:(.text+0x39b): undefined reference to `_gfortran_pow_r8_i4'<br>mdpit.f:(.text+0x40d): undefined reference to `_gfortran_pow_r8_i4'<br>
/usr/local/ncarg/lib/libncarg.a(mpdbdi.o): In function `mpdbdi_':<br>mpdbdi.f:(.text+0x3e): undefined reference to `_gfortran_copy_string'<br>/usr/local/ncarg/lib/libncarg.a(plchmq.o): In function `plchmq_':<br>
plchmq.f:(.text+0x161): undefined reference to `_gfortran_pow_r4_i4'<br>/usr/local/ncarg/lib/libncarg.a(plchlq.o): In function `plchlq_':<br>plchlq.f:(.text+0x1ee): undefined reference to `_gfortran_pow_r4_i4'<br>
/usr/local/ncarg/lib/libncarg.a(cpux.o): In function `cpux_':<br>cpux.f:(.text+0xe8): undefined reference to `_gfortran_pow_r4_i4'<br>/usr/local/ncarg/lib/libncarg.a(cpuy.o): In function `cpuy_':<br>cpuy.f:(.text+0xf7): undefined reference to `_gfortran_pow_r4_i4'<br>
/usr/local/ncarg/lib/libncarg_gks.a(gerhnd.o): In function `gerhnd_':<br>gerhnd.f:(.text+0x101): undefined reference to `_gfortran_copy_string'<br>/usr/local/ncarg/lib/libncarg_gks.a(gzgte2.o): In function `gzgte2_':<br>
gzgte2.f:(.text+0x72): undefined reference to `_gfortran_copy_string'<br>/usr/local/ncarg/lib/libncarg_gks.a(gzputs.o): In function `gzputs_':<br>gzputs.f:(.text+0x69): undefined reference to `_gfortran_copy_string'<br>
gzputs.f:(.text+0xed): undefined reference to `_gfortran_copy_string'<br>gzputs.f:(.text+0x185): undefined reference to `_gfortran_copy_string'<br>/usr/local/ncarg/lib/libncarg_gks.a(gzopwk.o):gzopwk.f:(.text+0x49e): more undefined references to `_gfortran_copy_string' follow<br>
collect2: ld ·µ»Ø 1<br><br>The compile and link failed.<br>---------------------------------------------------------------------------------------------------------------------<br>