Trouble installing NCL Graphics in MacOS 10.4

From: Dave Lane <dlane_at_nyahnyahspammersnyahnyah>
Date: Thu, 16 Apr 2009 09:46:54 -0300

Hi,

I'm having trouble compiling NCAR Graphics - just the graphics libs
(and demos).

The first error message that I notice is when compiling the demos.
See below at bottom of message. "Undefined symbol: _ggkwdr_". This
repeats several times during the "make" but it does not stop when the
error occurs. The last few lines of the make log imply all went well.

When I try the examples the same undefined symbol shows up. Any
suggestions?

Regards,

Dave Lane

--->>>

[maia2:~] dlane% ncargex cpex08

NCAR Graphics Fortran Example <cpex08>

   Copying cpex08.f

   Copying cpexcc.f

Compiling and linking...
gfortran -fPIC -fno-range-check -O -o cpex08 cpexcc.f cpex08.f -L/usr/
local/ncarg/lib -L/usr/local/lib -L/usr/X11R6/lib -L/sw/lib -lncarg -
lncarg_gks -lncarg_c -lXpm -lX11 -lXext -lpng -lz
/usr/bin/ld: Undefined symbols:
_ggkwdr_
collect2: ld returned 1 exit status

The compile and link failed.

[maia2:~] dlane%

Error during make ->>

gfortran -fPIC -fno-range-check -O -o pre2ncgm.prog alover.o
clipit.o frm.o garg.o intcnv.o lodctb.o mmdef.o multi.o
patdrw.o patset.o pltclp.o pltit.o pnt.o posit.o pwt.o setop.o
setrng.o trndt2.o trnmch.o twobyt.o xmdef.o xmopdf.o fndarg.o
metred.o mninst.o trans.o trassn.o trlate.o trndat.o ../../../.././
ncarg2d/src/libncarg_gks/awi/ggkwdr_stub.o -L../../../.././ncarg2d/
src/libncarg -lncarg -L../../../.././ncarg2d/src/libncarg_gks -
lncarg_gks -L../../../.././common/src/libncarg_c -lncarg_c -lgfortran
-L/usr/local/ncarg/lib -L/usr/local/lib -L/usr/X11R6/lib -L/sw/lib
Making ./ncarg2d/src/bin/psplit
gcc -ansi -fPIC -O -I../../../.././include -I/usr/X11R6/include -I/
sw/include -I/usr/local/include -DSYSV -D_POSIX_SOURCE -
D_XOPEN_SOURCE -DByteSwapped -D__UNIXOS2__ -DNeedFuncProto -c -o
psplit.o psplit.c
gcc -ansi -fPIC -O -o psplit psplit.o -L/usr/local/ncarg/lib -L/
usr/local/lib -L/usr/X11R6/lib -L/sw/lib
Making ./ncarg2d/src/bin/tdpackdemo
gfortran -fPIC -fno-range-check -O -c -o TdpackDemo.o TdpackDemo.f
gfortran -fPIC -fno-range-check -O -o tdpackdemo TdpackDemo.o -
L../../../.././ncarg2d/src/libncarg -lncarg -L../../../.././ncarg2d/
src/libncarg_gks -lncarg_gks -L../../../.././common/src/libncarg_c -
lncarg_c -lpng -lz -L/usr/local/ncarg/lib -L/usr/local/lib -L/usr/
X11R6/lib -L/sw/lib -lXpm -lX11 -lXext
/usr/bin/ld: Undefined symbols:
_ggkwdr_
collect2: ld returned 1 exit status

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Thu Apr 16 2009 - 06:46:54 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 16 2009 - 10:06:19 MDT