NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
NOTE: The decoders
mailing list is no longer active. The list archives are made available for historical reasons.
Wanli, I believe the problem is how standard C needs to have procdures declared. I moved the problem procedures up higher in the code. The new gdes.c file is attached to this message. Let me know if this solves your problem so I can checkin the changes. Robb... ============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research rkambic@xxxxxxxxxxxxxxxx WWW: http://www.unidata.ucar.edu/ ============================================================================== ------- Forwarded Message Delivery-Date: Wed Feb 26 11:44:36 2003 by unidata.ucar.edu (UCAR/Unidata) with ESMTP id h1QIiZt08775 for <steve@xxxxxxxxxxxxxxxx>; Wed, 26 Feb 2003 11:44:35 -0700 (MST) Organization: UCAR/Unidata by kobuk.colorado.edu (8.9.1a/8.9.1/ITS-5.0/standard) with SMTP id LAA26288 for <steve@xxxxxxxxxxxxxxxx>; Wed, 26 Feb 2003 11:44:31 -0700 (MST) Message-Id: <200302261844.LAA26288@xxxxxxxxxxxxxxxxxx> Date: Wed, 26 Feb 2003 11:44:31 -0700 (MST) From: Wanli Wu <wanli@xxxxxxxxxxxxxxxxxx> Subject: Re: 20030226: install udunit To: steve@xxxxxxxxxxxxxxxx MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-MD5: iheKeRut0S36+/9o2CiRDg= X-Mailer: dtmail 1.3.0 CDE Version 1.3 SunOS 5.7 sun4u sparc X-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,NOSPAM_INC,QUOTED_EMAIL_TEXT,SPAM_PHRASE_00_01 version=2.43 X-Spam-Level: Steve, Thanks. Actually, the 'make install' indeed installed those files on my home directory (though some error meesage at the end of installation). Now I tried to install decoders-2.4.3 that has grib2nc. What I did was ./configure --prefix=$HOME The configure did ask where netcdf lib/include are, I given as "-L/usr/local/lib32/r4i3 -lnetcdf" for the netcdf library "-I/usr/local/include" for netcdf include files The config.log file has few error message like: configure:1070: cc -E -traditional-cpp -D_ALL_SOURCE conftest.c >/dev/null 2>co nftest.out cc: 1501-210 command option t contains an incorrect subargument 1506-173 (W) Option lm is not valid. Enter xlc for list of valid options. configure: failed program was: #line 1064 "configure" #include "confdefs.h" #include <assert.h> Syntax Error configure:1087: cc -nologo -E -D_ALL_SOURCE conftest.c >/dev/null 2>conftest.ou t 1506-173 (W) Option lm is not valid. Enter xlc for list of valid options. configure: failed program was: #line 1081 "configure" #include "confdefs.h" #include <assert.h> Syntax Error Then I invoked 'make', it stoped with error: "gdes.c", line 2688.13: 1506-343 (S) Redeclaration of copy_gdes_ll differs from previous declaration on line 2604 of "gdes.c". "gdes.c", line 2688.13: 1506-050 (I) Return type "void" in redeclaration is not compatible with the previous return type "int". "gdes.c", line 2705.13: 1506-343 (S) Redeclaration of copy_gdes_gau differs from previous declaration on line 2612 of "gdes.c". "gdes.c", line 2705.13: 1506-050 (I) Return type "void" in redeclaration is not compatible with the previous return type "int". "gdes.c", line 2722.13: 1506-343 (S) Redeclaration of copy_gdes_sph differs from previous declaration on line 2620 of "gdes.c". "gdes.c", line 2722.13: 1506-050 (I) Return type "void" in redeclaration is not compatible with the previous return type "int". "gdes.c", line 2740.13: 1506-343 (S) Redeclaration of copy_gdes_mercat differs from previous declaration on line 2626 of "gdes.c". "gdes.c", line 2740.13: 1506-050 (I) Return type "void" in redeclaration is not compatible with the previous return type "int". "gdes.c", line 2745.13: 1506-343 (S) Redeclaration of copy_gdes_polars differs from previous declaration on line 2632 of "gdes.c". "gdes.c", line 2745.13: 1506-050 (I) Return type "void" in redeclaration is not compatible with the previous return type "int". "gdes.c", line 2750.13: 1506-343 (S) Redeclaration of copy_gdes_lambert differs from previous declaration on line 2637 of "gdes.c". "gdes.c", line 2750.13: 1506-050 (I) Return type "void" in redeclaration is not compatible with the previous return type "int". make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. What can I do or what I did wrong? (of course, 'make install' could not go). Thanks, Wanli
Return-Path: <steve@xxxxxxxxxxxxxxxx> Organization: UCAR/Unidata To: Wanli Wu <wanli@xxxxxxxxxxxxxxxxxx> cc: support-udunits@xxxxxxxxxxxxxxxx Subject: 20030226: install udunit In-reply-to: Your message of "Wed, 26 Feb 2003 11:11:52 MST."
<200302261811.LAA26262@xxxxxxxxxxxxxxxxxx>
Keywords: 200302261811.h1QIBut15714 Wanli Wu,Date: Wed, 26 Feb 2003 11:11:52 -0700 (MST) From: Wanli Wu <wanli@xxxxxxxxxxxxxxxxxx> Organization: University of Colorado To: steve@xxxxxxxxxxxxxxxx Subject: Re: 20030226: install udunitThe above message contained the following:Thanks for the quick response. I didn't 'make' before 'make install'. So I made a clean install again. At the end, I saw message like below though I intended to install it at my home directory (./configure --prefix=$HOME). Will it work if I manually copy the following files to $HOME:You should allow the package to install itself by executing the command "make install" (after the command "make") rather than try to install the package manually. Regards, Steve Emmerson <http://www.unidata.ucar.edu>
<> +++++++ Wanli Wu +++++++ <> <> CIRES, University of Colorado <> <> Boulder, Colorado <> <> (303) 492-0281 (O) <> <> wanli@xxxxxxxxxxxxxxxxxx <> <> http://cires.colorado.edu/~wwu <>
decoders
archives: