[Met_help] [rt.rap.ucar.edu #44850] History for compilation error for pb2nc.cc

RAL HelpDesk {for John Halley Gotway} met_help at ucar.edu
Fri Feb 25 08:45:09 MST 2011


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

I downloaded the bug fix for pb2nc.cc, but got the following compilation errors (I'm using the Intel compiler):

pb2nc.cc(696): error: identifier "make_temp_file_name" is undefined
     blk_file = make_temp_file_name(blk_prefix, '\0');
                ^

pb2nc.cc(772): error: identifier "remove_temp_file" is undefined
        remove_temp_file(blk_file);
        ^

pb2nc.cc(1329): error: identifier "remove_temp_file" is undefined
     remove_temp_file(blk_file);
     ^

See attached for the full compilation log.
- Tom

Thomas Cram
NCAR / CISL / DSS
303-497-1217
tcram at ucar.edu




----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: Re: [rt.rap.ucar.edu #44850] compilation error for pb2nc.cc
From: John Halley Gotway
Time: Wed Feb 23 15:05:46 2011

Thomas,

Can you please retry building from scratch just to make sure your
build is clean?

(1) Retrieve the original METv3.0 release and unpack it:
   wget
http://www.dtcenter.org/met/users/downloads/MET_releases/METv3.0.20100930.tar.gz
   tar -xvzf METv3.0.20100930.tar.gz

(2) Retrieve the latest set of patches and unpack them:
   cd METv3.0
   wget
http://www.dtcenter.org/met/users/support/known_issues/METv3.0/patches/METv3.0_patches_20110215.tar.gz
   tar -xvzf METv3.0_patches_20110215.tar.gz

(3) Configure the Makefile, or just copy in the previous one you were
using for METv3.0.  And then compile:
   make >& make_met.log

Hopefully that'll give you a clean build, and you won't experience the
compilation problems you had.  Please let us know how it goes.

Thanks,
John Halley Gotway
met_help at ucar.edu


On 02/23/2011 03:02 PM, RAL HelpDesk {for Thomas Cram} wrote:
>
> Wed Feb 23 15:02:18 2011: Request 44850 was acted upon.
> Transaction: Ticket created by tcram at ucar.edu
>        Queue: met_help
>      Subject: compilation error for pb2nc.cc
>        Owner: Nobody
>   Requestors: tcram at ucar.edu
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=44850 >
>
>
> I downloaded the bug fix for pb2nc.cc, but got the following
compilation errors (I'm using the Intel compiler):
>
> pb2nc.cc(696): error: identifier "make_temp_file_name" is undefined
>      blk_file = make_temp_file_name(blk_prefix, '\0');
>                 ^
>
> pb2nc.cc(772): error: identifier "remove_temp_file" is undefined
>         remove_temp_file(blk_file);
>         ^
>
> pb2nc.cc(1329): error: identifier "remove_temp_file" is undefined
>      remove_temp_file(blk_file);
>      ^
>
> See attached for the full compilation log.
> - Tom
>
> Thomas Cram
> NCAR / CISL / DSS
> 303-497-1217
> tcram at ucar.edu
>
>
>
>
>
>
>

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #44850] compilation error for pb2nc.cc
From: Thomas Cram
Time: Wed Feb 23 15:45:04 2011

Thanks, John.  That worked.
- Tom

On Feb 23, 2011, at 3:05 PM, RAL HelpDesk {for John Halley Gotway}
wrote:

> Thomas,
>
> Can you please retry building from scratch just to make sure your
build is clean?
>
> (1) Retrieve the original METv3.0 release and unpack it:
>   wget
http://www.dtcenter.org/met/users/downloads/MET_releases/METv3.0.20100930.tar.gz
>   tar -xvzf METv3.0.20100930.tar.gz
>
> (2) Retrieve the latest set of patches and unpack them:
>   cd METv3.0
>   wget
http://www.dtcenter.org/met/users/support/known_issues/METv3.0/patches/METv3.0_patches_20110215.tar.gz
>   tar -xvzf METv3.0_patches_20110215.tar.gz
>
> (3) Configure the Makefile, or just copy in the previous one you
were using for METv3.0.  And then compile:
>   make >& make_met.log
>
> Hopefully that'll give you a clean build, and you won't experience
the compilation problems you had.  Please let us know how it goes.
>
> Thanks,
> John Halley Gotway
> met_help at ucar.edu
>
>
> On 02/23/2011 03:02 PM, RAL HelpDesk {for Thomas Cram} wrote:
>>
>> Wed Feb 23 15:02:18 2011: Request 44850 was acted upon.
>> Transaction: Ticket created by tcram at ucar.edu
>>       Queue: met_help
>>     Subject: compilation error for pb2nc.cc
>>       Owner: Nobody
>>  Requestors: tcram at ucar.edu
>>      Status: new
>> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=44850 >
>>
>>
>> I downloaded the bug fix for pb2nc.cc, but got the following
compilation errors (I'm using the Intel compiler):
>>
>> pb2nc.cc(696): error: identifier "make_temp_file_name" is undefined
>>     blk_file = make_temp_file_name(blk_prefix, '\0');
>>                ^
>>
>> pb2nc.cc(772): error: identifier "remove_temp_file" is undefined
>>        remove_temp_file(blk_file);
>>        ^
>>
>> pb2nc.cc(1329): error: identifier "remove_temp_file" is undefined
>>     remove_temp_file(blk_file);
>>     ^
>>
>> See attached for the full compilation log.
>> - Tom
>>
>> Thomas Cram
>> NCAR / CISL / DSS
>> 303-497-1217
>> tcram at ucar.edu
>>
>>
>>
>>
>>
>>
>>
>

Thomas Cram
NCAR / CISL / DSS
303-497-1217
tcram at ucar.edu




------------------------------------------------


More information about the Met_help mailing list