Re: Mac OS X ncargex missing symbols linking problem

From: Kip Smith (weathersmith1 AT XXXXXX)
Date: Fri Jul 09 2004 - 13:53:53 MDT


Craig:

    I also had this problem last year. You need to do the following:

   set libextra="-lcc_dynamic"

   in $NCARG_ROOT/bin/ncargf77

   That solved the problem and I just ran ncargex cpex08 and it work as
expected.

-- 
Kip Smith
WeatherSmith, LLC
Phoenix, AZ

www.weathersmith.com

On Friday 09 July 2004 11:50, Craig C. Douglas wrote: > I have installed the binary distribution for Mac OS X on a 10.3.4 > system. I tried the test example and got the following missing > symbols: restFP and saveFP. Could someone please suggest what I need > to add to the compile and link line to get this to load? Using nm, I > can see that both symbols are undefined in some of the NCAR Graphics .a > files. > > Thanks, > Craig Douglas > > > % ncargex cpex08 c_cpex08 > > NCAR Graphics Fortran Example <cpex08> > > Copying cpex08.f > > Copying cpexcc.f > > Compiling and linking... > g77 -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/ncarg/lib > -L/usr/X11R6/lib -lncarg -lncarg_gks -lncarg_c -lXpm -lX11 -lXext > /usr/bin/ld: Undefined symbols: > restFP > saveFP > collect2: ld returned 1 exit status > > The compile and link failed.

_______________________________________________ ncarg-talk mailing list ncarg-talk AT unknown http://mailman.ucar.edu/mailman/listinfo/ncarg-talk



This archive was generated by hypermail 2b29 : Mon Jul 12 2004 - 07:56:50 MDT