Failed Installation Test

From: Patrick O'Reilly (patrick.oreilly@XXXXXX)
Date: Fri Feb 01 2002 - 11:52:59 MST

  • Next message: Patrick O'Reilly: "Solaris 8 Compile error"

    I have installed sucessfully installed NCAR Graphics version 4.2.1 on a Sun running Solaris 8. I am using the gcc and g77 compilers, and have added
    setenv FC g77
    setenv CC gcc
    to my .cshrc. I have the installation in /usr/local. When I test the installation, I get:

    [weather@cirrus]#ncargex cpex08

    NCAR Graphics Fortran Example <cpex08>

      Copying cpex08.f

      Copying cpexcc.f

    Compiling and linking...
    f77 -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/lib -L/usr/openwin/lib -L/usr/dt/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext
    cpexcc.f: In subroutine `capsap':
    cpexcc.f:88:
               TIME=SECOND(DUMI)-TIME
                    ^
    Too many arguments passed to intrinsic `SECOND' at (^)
    cpexcc.f: Outside of any program unit:
    cpexcc.f:88: warning:
               TIME=SECOND(DUMI)-TIME
                    1
    cpexcc.f:186: (continued):
             FUNCTION SECOND (DUMI)
                      2
    Same name `second' used for global at (2) and intrinsic at (1) [info -f g77 M INTGLOB]
    cpex08.f: In program `exmpl8':
    cpex08.f:79:
               TIME=SECOND(DUMI)
                    ^
    Too many arguments passed to intrinsic `SECOND' at (^)

    The compile and link failed.

    Has anyone seen this, and if so, what exactly is the problem? There seem to be problems with the cpex08.f and cpexcc.f files? Any help would be appreciated.

    Patrick

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Patrick O'Reilly Support Scientist
    The STORM Project patrick.oreilly@uni.edu
    208 Latham Hall ph: 319-273-3789
    University of Northern Iowa
    Cedar Falls, IA 50614
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



    This archive was generated by hypermail 2b29 : Wed Feb 06 2002 - 09:04:51 MST