ncarg libraries

From: Motilal Mittal <moti_at_nyahnyahspammersnyahnyah>
Date: Thu, 25 Jan 2007 17:34:41 -0500

I am using ncarglib in my WRFV2.2 model
When I compile WPS module, I am getting the error

 make -i -r plotgrids.exe \
 WRF_DIR="/n/mmittal/WRFCHEMNEW/WPS/../WRF2.2" \
 FC="ifort " \
 CC="icc " \
 CPP="/lib/cpp -C -P -traditional" \
  FFLAGS="-FR -convert big_endian" \
 CFLAGS="-w" \
  LDFLAGS="" \
 CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINA
RY -DIO_GRIB1 -DBIT32 -D_UTIL" )
  make[1]: Entering directory `/n/mmittal/WRFCHEMNEW/WPS/util/src'
   ifort -o plotgrids.exe module_map_utils.o module_debug.o cio.o
constant s_module.o misc_definitions_module.o \
   plotgrids.o -L/n/mmittal/ncarg/lib -lncarg -lcgm -lncarg_gks -ln
  carg_c
    /n/mmittal/ncarg/lib/libncarg.a(mdlndr.o)(.text+0xd2): In function
`mdln dr_':
   : undefined reference to `s_cat'
   /n/mmittal/ncarg/lib/libncarg.a(mdlndr.o)(.text+0x182): In function
`mdl ndr_':
  : undefined reference to `s_cmp'

Basically the error is that in the library libncarg.a has reference to
s_cat, s_copy, and s_cmp but these are not defined.

I executed the command
nm /n/mmittal/ncarg-4.4.1/ncarg2d/src/libncarg/ezmapb/mdlndr.o

and it shows
                 U s_cat
                 U s_cmp
                 U s_copy
                 U seter_

or nm libnarg.a
and it shows the same under mdlndr.o

>From where are these references come and how to resolve these?

Any suggestions, ideas or comments would be appreciated.
Moti
_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Thu Jan 25 2007 - 15:34:41 MST

This archive was generated by hypermail 2.2.0 : Mon Feb 05 2007 - 16:33:14 MST