building ncarg with Intel compilers on Debian Linux box

From: michael bane (michael.bane AT manchester.ac.uk)
Date: Tue Mar 01 2005 - 07:40:14 MST


Folks
I've been trying to build the NCAR graphics (4.4.1) on my Debian Linux
box using the Intel 8.x compilers. I've got so far but seem to have hit
a problem already mentioned in the archives but I cannot find a solution
mentioned. In brief, with the config/LINUX as below I get the following
error during compilation:

icc -mp -ansi -O -o ictrans
main.o ../../../.././ncarview/src/lib/libictrans
/libictrans.o ../../../.././ncarview/src/lib/libctrans/libctrans.o
-L../../../..
/./ncarview/src/lib/libcgm -lcgm
-L../../../.././ncarview/src/lib/libncarg_ras -
lncarg_ras -L../../../.././common/src/libncarg_c
-lncarg_c
-L/usr/local/ncarg/lib -L/usr/X11R6/lib -lXpm -lX11 -lXext -lm
../../../.././ncarview/src/lib/libcgm/libcgm.a(meta_edit.o)(.text
+0x134e): In fu
nction `CGM_initMetaEdit':
: warning: the use of `mktemp' is dangerous, better use `mkstemp'
../../../.././ncarview/src/lib/libictrans/libictrans.o(.text+0x61a2): In
functio
n `giargs_':
: undefined reference to `for_cpystr'
../../../.././ncarview/src/lib/libictrans/libictrans.o(.text+0x61ca): In
functio
n `giargs_':
: undefined reference to `for_cpystr'
make[5]: *** [ictrans] Error 1

There seems to be no direct mention of for_cpystr in the giargs()
subroutine so I guess it's something required in fortran-to-C...

Here's my config file:
#define HdfDefines -DLINUX
#define StdDefines -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped
#define ByteSwapped
#define Cstatic
#define Cdynamic
#define CppCommand '/usr/bin/cpp -traditional'
#define CCompiler icc -mp
#define FCompiler ifc -mp -Vaxlib
/* MKB do not need CEPCF90 anymore
   #define CtoFLibraries -lCEPCF90 -lF90 -lm */
#define CtoFLibraries -lm
#define CcOptions -ansi
#define XToolLibrary -lXt -lSM -lICE
#define BuildShared NO
#define XLibrary -lXpm -lX11 -lXext

#define ArchRecLibSearch -L/usr/X11R6/lib
#define ArchRecIncSearch -I/usr/X11R6/include

All help appreciated, thanks!

-- 
Michael Bane
Atmospheric Physics Group
University of Manchester

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



This archive was generated by hypermail 2b29 : Wed Mar 02 2005 - 09:37:11 MST