[ncl-install] Trouble installing NCL Graphics in MacOS 10.4
Dave Lane
dlane at ap.stmarys.ca
Thu Apr 16 06:46:54 MDT 2009
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20090416/0370e683/attachment.html
More information about the ncl-install
mailing list