Re: the error from NCARG Graphic

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri, 11 Jul 2008 09:00:02 -0600 (MDT)

> Dear Sirs/Madams,
>
> I have a error with NCAR Graphic (version 5.0) when I combine RIP4 on IBM AIX5.2.
> ...........
> ..................
> ld: 0711-317 ERROR: Undefined symbol: .gdawk
> ld: 0711-317 ERROR: Undefined symbol: .gclwk
> ld: 0711-317 ERROR: Undefined symbol: .gclks
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> make: 1254-004 The error code from the last command is 8.
> make: 1254-005 Ignored error code 8 from last command.
> .............
>
> I am using xlf fortran with the following configurations:
>
> ibm:
> (cd src/ ; $(MAKE) all \
> "CF = xlf" \
> "FFLAGS = " \
> "FFLAGS2 = " \
> "FFLAGS3 = $(FFLAGS2)" \
> "CCFLAGS = -DLITTLE" \
> "LDFLAGS = -O3 -qarch=auto -qmaxmem=-1 -qblankpad" \
> "LOCAL_LIBS = " \
> "NETCDFLIB = /home1/khiem/netcdf/lib" \
> "NETCDFINC = /home1/khiem/netcdf/include" \
> "LIBS = -L$(NCARG_ROOT)/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lm" )
> ( $(RM) $(RM_LIST_EXE) ; $(LN) src/rip . ; $(LN) src/ripdp_mm5 . ; $(LN) src/ripdp_wrf . ; $(LN) src/ripcomp . ; $(LN) sr
> c/ripinterp . ; $(LN) src/ripshow . ; $(LN) src/showtraj . ; $(LN) src/tabdiag . ; $(LN) src/upscale . )
>
> Could you please help me to sovle my problem?
>
> Thank you very much,
>
> Sincerely your,
> Khiem

Dear Khiem,

The symbols that are undefined:

  ld: 0711-317 ERROR: Undefined symbol: .gdawk
  ld: 0711-317 ERROR: Undefined symbol: .gclwk
  ld: 0711-317 ERROR: Undefined symbol: .gclks

should be in your GKS library, which it looks like you are including
on the compile line via "-lncarg_gks".

There could be a few things going on. One is that something is
wrong with your library, and it didn't get built properly. Another is
that perhaps you are not linking to the correct version of this
library, if you happen to have multiple versions of this library
installed on the same directory system but for different computer
systems. Another is maybe your compile line is not working properly,
and "-lncarg_gks" is not being included. I can't tell from your output
if this is the case.

Can you include the *full* output from your compile line, so I can be
sure "-lncarg_gks" is being included. Also, can you type the
following:

     nm $NCARG_ROOT/lib/libncarg_gks.a | grep gdawk

and send me the output.

Thanks,

--Mary
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Jul 11 2008 - 09:00:02 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 11 2008 - 11:22:42 MDT