Problems with compiling NCARG with Intel fortran 9.0 Linux on Fedora 4 system

From: Eric Hendricks <eric.hendricks_at_nyahnyahspammersnyahnyah>
Date: Fri, 27 Jan 2006 16:10:29 -0700

Hello, I am trying to compile NCARG from source with the Intel 9.0 fortran
and GNU C compilers (ifort/gcc) on Fedora 4 LINUX. The compilation fails.
In the make-output file there appears to be a number of repeat errors, and
they are summarized below:

MAKE-OUTPUT ERROR MESSAGES:
(1) A bunch of these messages...
- IPO link: can not find "("
  ifort: error: problem during multi-file optimization compilation (code 1)
  make[4]: *** [fontc] Error 1
- IPO link: can not find "("
  ifort: error: problem during multi-file optimization compilation (code 1)
  make[4]: *** [graphc] Error 1

(2) A number of IftranRun errors like this one:
/bin/sh: ../../../.././ncarg2d/src /libncarg/Iftran/Iftran: No such file or
directory
make[5]: *** [IftranRun] Error 127

HERE ARE MY LINUX SETTINGS:
System File LINUX
Binary Install Directory /usr/local/ncarg/bin
Library Install Directory /usr/local/ncarg/lib
Include Install Directory /usr/local/ncarg/include
Manpage Install Directory /usr/local/ncarg/man
Config Install Directory /usr/local/ncarg/lib/ncarg/config
Data Base Directory /usr/local/ncarg/lib/ncarg/database
Programmer Doc Dir /usr/local/ncarg/lib/ncarg/doc
Reloc Obj. Directory /usr/local/ncarg/lib/ncarg/robj
Examples Directory /usr/local/ncarg/lib/ncarg/examples
Tutorial Directory /usr/local/ncarg/lib/ncarg/tutorial
Test Directory /usr/local/ncarg/lib/ncarg/tests
X App. Def. Directory /usr/local/ncarg/lib/ncarg/xapp
f77 Compiler ifort
f77 Flags -O2
C Compiler gcc
cc Flags -ansi -lgcc_s -O -I./include -I/usr/X11R6/include -DSYSV
-D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto

HERE ARE THE ERRORS UPON RUNNING THE NCARGEX EXAMPLE:
NCAR Graphics Fortran Example <cpex08>

  Copying cpex08.f

  Copying cpexcc.f

Compiling and linking...
ifort -O2 -o cpex08 cpexcc.f cpex08.f -L/usr/local/ncarg/lib
-L/usr/X11R6/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext
/tmp/ifortTj6Kig.o(.text+0x462): In function `capsap_':
cpexcc.f: undefined reference to `cpgeti_'
/tmp/ifortTj6Kig.o(.text+0x476):cpexcc.f: undefined reference to `cpgeti_'
/tmp/ifortW64Pqg.o(.text+0xab): In function `MAIN__':
cpex08.f: undefined reference to `arinam_'
/tmp/ifortW64Pqg.o(.text+0x149):cpex08.f: undefined reference to `mapbla_'
/tmp/ifortW64Pqg.o(.text+0x171):cpex08.f: undefined reference to `mapita_'
/tmp/ifortW64Pqg.o(.text+0x199):cpex08.f: undefined reference to `mapita_'
/tmp/ifortW64Pqg.o(.text+0x1c1):cpex08.f: undefined reference to `mapita_'
/tmp/ifortW64Pqg.o(.text+0x1da):cpex08.f: undefined reference to `mapiqa_'
/tmp/ifortW64Pqg.o(.text+0x205):cpex08.f: undefined reference to `mapita_'
/tmp/ifortW64Pqg.o(.text+0x22d):cpex08.f: undefined reference to `mapita_'
/tmp/ifortW64Pqg.o(.text+0x246):cpex08.f: undefined reference to `mapiqa_'
/tmp/ifortW64Pqg.o(.text+0x257):cpex08.f: undefined reference to `cpseti_'
/tmp/ifortW64Pqg.o(.text+0x268):cpex08.f: undefined reference to `cpseti_'
/tmp/ifortW64Pqg.o(.text+0x279):cpex08.f: undefined reference to `cpsetr_'
/tmp/ifortW64Pqg.o(.text+0x28a):cpex08.f: undefined reference to `cpsetr_'
/tmp/ifortW64Pqg.o(.text+0x29e):cpex08.f: undefined reference to `cpsetr_'
/tmp/ifortW64Pqg.o(.text+0x2af):cpex08.f: undefined reference to `cpsetr_'
/tmp/ifortW64Pqg.o(.text+0x2c0):cpex08.f: undefined reference to `cpseti_'
/tmp/ifortW64Pqg.o(.text+0x2d1):cpex08.f: undefined reference to `cpsetr_'
/tmp/ifortW64Pqg.o(.text+0x2e2):cpex08.f: undefined reference to `cpsetr_'
/tmp/ifortW64Pqg.o(.text+0x2f3):cpex08.f: undefined reference to `cpsetr_'
/tmp/ifortW64Pqg.o(.text+0x304):cpex08.f: undefined reference to `cpsetr_'
/tmp/ifortW64Pqg.o(.text+0x331):cpex08.f: undefined reference to `cprect_'
/tmp/ifortW64Pqg.o(.text+0x34d):cpex08.f: undefined reference to `cpclam_'
/tmp/ifortW64Pqg.o(.text+0x37a):cpex08.f: undefined reference to `arscam_'
/tmp/ifortW64Pqg.o(.text+0x3aa):cpex08.f: undefined reference to `cpcldm_'
/tmp/ifortW64Pqg.o(.text+0x3e1):cpex08.f: undefined reference to `mapgrm_'
/tmp/ifortW64Pqg.o(.text+0x4ff): In function `colrll_':
cpex08.f: undefined reference to `mapaci_'
/tmp/ifortW64Pqg.o(.text+0x616): In function `colram_':
cpex08.f: undefined reference to `mapaci_'
/usr/local/ncarg/lib/libncarg.a(lblbar.o)(.text+0x4e4): In function
`lblbar_':
lblbar.f: undefined reference to `sfsgfa_'

The compile and link failed.

Any help would be greatly appreciated! Thanks very much in advance.

Eric Hendricks

_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Fri Jan 27 2006 - 16:10:29 MST

This archive was generated by hypermail 2.2.0 : Mon Jan 30 2006 - 09:15:10 MST