Error on compiling NCARGRAPHIC only

From: Mald MM5 <maldmm5_at_nyahnyahspammersnyahnyah>
Date: Wed, 8 Oct 2008 04:17:49 +1300

Hi there ,

I am trying to compile NCARgraphics only on Ubuntu 8.04 with Intel C and
fortran compilers.

I have installed the HDF and netCDF successfully.

To start with, in the NCARgraphics compiling log I have the following
warning
makedepend -s "# DO NOT DELETE" -- -I../../../.././include
-I/usr/X11R6/include -DNGTMPDIR='"tmp"' -DDEFAULT_GKS_BUFSIZE='0' -DSYSV
-D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto --
cgm_tools.c meta_edit.c misc.c mem_file.c name.c
makedepend: warning: cgm_tools.c (reading /usr/include/stdio.h, line 34):
cannot find include file "stddef.h"
    not in ../../../.././include/stddef.h
    not in /usr/X11R6/include/stddef.h
    not in /usr/include/stddef.h

icc -ansi -fPIC -O -I../../.././include -I/usr/X11R6/include -DLinux
-DIBM -DNGVERSION='"5.0.0"' -DNCLVERSION='"5.0.0"' -DNCARGURL='"ngurl"'
-DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto -c
-o bcopyswap.o bcopyswap.c
bcopyswap.c(48): warning #266: function "exit" declared implicitly
          exit(1);

ifort: command line warning #10006: ignoring unknown option
'-fno-second-underscore'
ifort -fPIC -fno-second-underscore -O -o Iftran Iftran.o
-L../../../.././common/src/libncarg_c -lncarg_c -L/usr/local/ncarg/lib
-L/usr/X11R6/lib
ifort: command line warning #10006: ignoring unknown option
'-fno-second-underscore'
icc -ansi -fPIC -O -I../../../.././include -I/usr/X11R6/include -DSYSV
-D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto -c -o
Fsplit.o Fsplit.c
Fsplit.c(80): warning #266: function "isspace" declared implicitly
        collecting=!(comment=(c=='c'||c=='C'))&&isspace(c);
                                                ^

Fsplit.c(83): warning #266: function "isspace" declared implicitly
        if (!isspace(c)) collecting=0;
ifort -fPIC -fno-second-underscore -O -c -o arblda.o arblda.f
ifort: command line warning #10006: ignoring unknown option
'-fno-second-underscore'
compilation aborted for xdevice.c (code 4)
make[5]: *** [xdevice.o] Error 4

ifort: command line warning #10006: ignoring unknown option
'-fno-second-underscore'
../../../.././ncarg2d/src/libncarg_gks/libncarg_gks.a(gztowk.o): In function
`gztowk_':
gztowk.f:(.text+0x23b): undefined reference to `ggkwdr_'
gztowk.f:(.text+0x5ae): undefined reference to `ggkwdr_'
gztowk.f:(.text+0x94c): undefined reference to `ggkwdr_'
../../../.././ncarg2d/src/libncarg_gks/libncarg_gks.a(gziqwk.o): In function
`gziqwk_':
gziqwk.f:(.text+0x17a): undefined reference to `ggkwdr_'
make[5]: *** [tdpackdemo] Error 1
gztowk.f:(.text+0x94c): undefined reference to `ggkwdr_'
make[5]: *** [ezmapdemo] Error 1

and whole bunch of other errors....

Any one had success with this combination?..
suggestions welcome

cheers
Mald

_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Tue Oct 07 2008 - 09:17:49 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 08 2008 - 10:08:17 MDT