Greetings!
I'm struggling to get NCAR Graphics (4.1.4) built on a dual Opteron
machine using the new 'gfortran' Fortran 95 compiler that's part of the
new GCC-4.0 compiler suite. I've been able to build NCAR Graphics with
g77-3.3.5 on the same machine, but the user wants to use Fortran 90. He
also has the Absoft 64-bit Fortran 95 compiler (version 9.0), but I
thought I'd have more luck with gfortran than Absoft's compiler.
During the build, I get errors like this:
gfortran: arblda.f: No such file or directory
make[5]: *** [arblda.o] Error 1
for these files: abblda.f cpblda.f ctabgc.f mapaci.f ppdipo.f sfsgfa.f
After installing what was built, when I try the test example (ncargex
cpex08), I get:
gfortran -O -o cpex08 cpexcc.f cpex08.f -L/tmp/ncarg/lib -L/usr/X11R6/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext
/tmp/cceIIz7D.o(.text+0x508): In function `capsap_': : undefined reference to `cpgeti_'
/tmp/cceIIz7D.o(.text+0x51f): In function `capsap_': : undefined reference to `cpgeti_'
(there are a lot more of these sorts of linker errors).
The Fortran files compile just fine, but fail to link properly. I'm a
bit confused because the references (cpgeti_, in this case) *do* exist
in the libraries:
$ nm /tmp/ncarg/lib/libncarg.a
(snip)
c_cpgeti.o:
0000000000000000 T c_cpgeti
U cpgeti_
U fwrite
U stderr
Any hints here? I can forward whatever build / configuration
information I have, if that would be helpful.
Thanks,
Chris
-- Christopher S. Swingley email: cswingle@iarc.uaf.edu (primary) Intl. Arctic Research Center cswingle@gmail.com (secondary) University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle/_______________________________________________ ncarg-talk mailing list ncarg-talk@ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
This archive was generated by hypermail 2b29 : Wed May 04 2005 - 13:06:14 MDT