NCAR Graphics compilation problems

From: Fabio Subba (subba@XXXXXX)
Date: Fri Mar 22 2002 - 05:12:02 MST

  • Next message: Dr. John W. Glendening: "O Canada, wherefore art thou Canada"

    Dear everybody
    I am trying to install ncarg-4.2.3 on a Digital Alpha OSF1 with operative
    system Unix 4.0.

    During the configuration phase, I did not encounter any apparent problems.
    I decided NOT to build the HDF support, tried both WITH and WITHOUT the X
    applications (the final result have been same), and used the f77 and cc
    compilers native of my machine.

    When I tried to build the library (I used the "make Everything" command) I
    got after some steps an error message compiling the "rasdraw.c" file. Here
    are the last few lines of the "make-output" file:

    Making ./ncarview/src/bin/rasview
    cc -O -I../../../.././Include -DByteSwapped -DSYSV -std1
    -DNeesFuncProto -c rasdraw.c
    cc: Error: rasdraw.c, line 49: In this declaration, "caddr_t" has no
    linkage and has a prior declaration in this scope at line number 210 in
    file /usr/include/sys/types.h.
    typedef char *caddr_t;
    -------------------^
    cc: Warning: rasdraw.c, line 270: Non-void function "load_palette" does not
    contain a return statement.
    static int load_palette(ras, context)
    ^
    *** Exit 1
    Stop.
    *** Exit 1
    Stop.
    *** Exit 1
    Stop.
    *** Exit 1
    Stop.
    *** Exit 1
    Stop.
    *** Exit 1
    Stop.

    Preceding the reported error message, the name "rasdraw.c" appeard in only
    one place in the make-output file, but at this stage I could not detect any
    sign of problems. Anyway, the corresponding line was:

    makedepend -s "# DO NOT DELETE" -- -I../../../.././include -DByteSwapped
    -DSYSV -std1 -DNeedFuncProto -- rasdraw.c rasview.c

    Could please anybody help me to find out what the problem could be?

    Regards
    Fabio

    Dr. Fabio Subba
    Politecnico di Torino
    Italy

    --9B095B5ADSN=_01C1C6228679A261000028F2chqfolders.lands--



    This archive was generated by hypermail 2b29 : Thu Mar 28 2002 - 08:41:23 MST