ncargex cpex08 error when linking

From: Mald MM5 <maldmm5_at_nyahnyahspammersnyahnyah>
Date: Sun, 17 Aug 2008 17:08:23 +0500

Hi there,

I have just now compiled the NCL/NCARGRAPHIC version 5.0.0.
I tested the commands ncl -V and it works fine.

when I invoke the command > ng4ex gsun01n it brings up the test graph window
too. Flipped through all the other profiels was OK and it closes fine. But
giving this warning--" warning:Unable to load System Resource File
/usr/local/ncarg/lib/ncarg/sysresfile"

When I execute > ncargex cpex08 it gives me the following error

NCAR Graphics Fortran Example <cpex08>

  Copying cpex08.f

  Copying cpexcc.f

Compiling and linking...
ifort -fPIC -fno-second-underscore -O -o cpex08 cpexcc.f cpex08.f
-L/usr/local/ncarg/lib -L/usr/X11R6/lib -lncarg -lncarg_gks -lncarg_c -lX11
-lXext
ifort: command line warning #10006: ignoring unknown option
'-fno-second-underscore'
/usr/local/ncarg/lib/libncarg_gks.a(gziqwk.o): In function `gziqwk_':
gziqwk.f:(.text+0x17a): undefined reference to `ggkwdr_'
/usr/local/ncarg/lib/libncarg_gks.a(gztowk.o): In function `gztowk_':
gztowk.f:(.text+0x23b): undefined reference to `ggkwdr_'
gztowk.f:(.text+0x5ae): undefined reference to `ggkwdr_'
gztowk.f:(.text+0x94c): undefined reference to `ggkwdr_'

The compile and link failed.

For sure something must be wrong. Am not sure what. Does this means the NCAR
graphics is installed fine?....For the installaiton I used only the HDF and
NETCDF packages. I did not use the other packages since I dont need them
now.

Am compiling this on Acer Extensa, Duo Core 2.1 GHz, 2Gb RAM, OpenSuse Linux
11.0 2.6.25.5-1.1-pae #1 i686 i686 i386 GNU/Linux.

Any suggestion any one?...

Thank you
Mald

_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Sun Aug 17 2008 - 06:08:23 MDT

This archive was generated by hypermail 2.2.0 : Fri Sep 05 2008 - 15:16:02 MDT