[Met_help] [rt.rap.ucar.edu #71983] History for met-5.0 error> recipe for target 'pb2nc' failed

Julie Prestopnik via RT met_help at ucar.edu
Mon May 18 13:37:01 MDT 2015


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

Hello,
I have trouble with compiling met 5.0. and I would be glad for helping me
in this issue. I have bufrlib, netcdf, gsl libraries installed, all
environmental variables settled, but still cant compile the program.  I
tried to disable block4 by ./configure --prefix=`pwd` --disable-block4 but
no help. My problem seems to be with pb2nc because if i run ./configure
--prefix=/home/dasa/Desktop/met/met --disable-block4 --disable-pb2nc it
works. Unfortunately for me, I need it.
Thank you very much.

Kind regards
Dasa Srbova


Part of my log looks like:
g++  -g -L../../../../src/basic/vx_cal -L../../../../src/basic/vx_config
-L../../../../src/basic/vx_log -L../../../../src/basic/vx_math
-L../../../../src/basic/vx_util -L../../../../src/libcode/vx_afm
-L../../../../src/libcode/vx_analysis_util
-L../../../../src/libcode/vx_color -L../../../../src/libcode/vx_data2d
-L../../../../src/libcode/vx_data2d_factory
-L../../../../src/libcode/vx_data2d_grib
-L../../../../src/libcode/vx_data2d_grib2
-L../../../../src/libcode/vx_data2d_nccf
-L../../../../src/libcode/vx_data2d_nc_met
-L../../../../src/libcode/vx_data2d_nc_pinterp
-L../../../../src/libcode/vx_geodesy -L../../../../src/libcode/vx_gnomon
-L../../../../src/libcode/vx_grid -L../../../../src/libcode/vx_gsl_prob
-L../../../../src/libcode/vx_nav -L../../../../src/libcode/vx_nc_util
-L../../../../src/libcode/vx_pb_util -L../../../../src/libcode/vx_plot_util
-L../../../../src/libcode/vx_ps -L../../../../src/libcode/vx_pxm
-L../../../../src/libcode/vx_render -L../../../../src/libcode/vx_shapedata
-L../../../../src/libcode/vx_statistics
-L../../../../src/libcode/vx_stat_out -L../../../../src/libcode/vx_tc_util
-L/netcdf/lib -L/gsl/lib -L/home/dasa/Desktop/met/bufrlib/lib -o pb2nc
pb2nc-pb2nc.o pb2nc-pb2nc_conf_info.o numpbmsg.o openpb.o closepb.o
readpb.o dumppb.o -lvx_stat_out -lvx_statistics -lvx_shapedata
-lvx_gsl_prob -lvx_analysis_util -lvx_data2d_grib -lvx_data2d -lvx_nc_util
-lvx_grid -lvx_config -lvx_pb_util -lvx_cal -lvx_util -lvx_math -lvx_color
-lvx_log -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas -lbufr -L/netcdf/lib
-L/gsl/lib -L/home/dasa/Desktop/met/bufrlib/lib
-L/usr/lib/gcc/x86_64-redhat-linux/4.9.2
-L/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../lib64 -L/lib/../lib64
-L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../..
-lgfortran -lm -lquadmath
/home/dasa/Desktop/met/bufrlib/lib/libbufr.a(closbf.o): In function
`closbf_':
closbf.f:(.text+0x7a): undefined reference to `closfb_'
/home/dasa/Desktop/met/bufrlib/lib/libbufr.a(msgwrt.o): In function
`msgwrt_':
msgwrt.f:(.text+0x7d9): undefined reference to `cwrbufr_'
/home/dasa/Desktop/met/bufrlib/lib/libbufr.a(openbf.o): In function
`openbf_':
openbf.f:(.text+0x2a8): undefined reference to `arallocc_'
openbf.f:(.text+0x725): undefined reference to `openrb_'
openbf.f:(.text+0x911): undefined reference to `openrb_'
openbf.f:(.text+0x9a1): undefined reference to `openwb_'
openbf.f:(.text+0xa10): undefined reference to `openrb_'
openbf.f:(.text+0xaa0): undefined reference to `openwb_'
openbf.f:(.text+0xb34): undefined reference to `openwb_'
openbf.f:(.text+0xbee): undefined reference to `openab_'
/home/dasa/Desktop/met/bufrlib/lib/libbufr.a(posapx.o): In function
`posapx_':
posapx.f:(.text+0x91): undefined reference to `backbufr_'
/home/dasa/Desktop/met/bufrlib/lib/libbufr.a(rdbfdx.o): In function
`rdbfdx_':
rdbfdx.f:(.text+0x8d): undefined reference to `backbufr_'
rdbfdx.f:(.text+0xeb): undefined reference to `backbufr_'
/home/dasa/Desktop/met/bufrlib/lib/libbufr.a(rdmsgw.o): In function
`rdmsgw_':
rdmsgw.f:(.text+0x4a): undefined reference to `crdbufr_'
/home/dasa/Desktop/met/bufrlib/lib/libbufr.a(stndrd.o): In function
`stndrd_':
stndrd.f:(.text+0x35a): undefined reference to `restd_'
/home/dasa/Desktop/met/bufrlib/lib/libbufr.a(bort2.o): In function `bort2_':
bort2.f:(.text+0xb4): undefined reference to `bort_exit_'
/home/dasa/Desktop/met/bufrlib/lib/libbufr.a(bort.o): In function `bort_':
bort.f:(.text+0x88): undefined reference to `bort_exit_'
/home/dasa/Desktop/met/bufrlib/lib/libbufr.a(readmg.o): In function
`readmg_':
readmg.f:(.text+0x1fa): undefined reference to `backbufr_'
/home/dasa/Desktop/met/bufrlib/lib/libbufr.a(reads3.o): In function
`reads3_':
reads3.f:(.text+0xc35): undefined reference to `stseq_'
/home/dasa/Desktop/met/bufrlib/lib/libbufr.a(rewnbf.o): In function
`rewnbf_':
rewnbf.f:(.text+0x286): undefined reference to `cewind_'
/home/dasa/Desktop/met/bufrlib/lib/libbufr.a(readmt.o): In function
`readmt_':
readmt.f:(.text+0x11e8): undefined reference to `icvidx_'
readmt.f:(.text+0x139f): undefined reference to `cpmstabs_'
collect2: error: ld returned 1 exit status
Makefile:340: recipe for target 'pb2nc' failed
make[5]: *** [pb2nc] Error 1
make[5]: Leaving directory
'/home/dasa/Desktop/met/met-5.0/src/tools/other/pb2nc'
Makefile:302: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1


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

Subject: met-5.0 error> recipe for target 'pb2nc' failed
From: Julie Prestopnik
Time: Mon May 18 09:00:44 2015

Hi Dasa.  I'm sorry to hear that you are having trouble compiling
METv5.0.

I suspect there may be an inconsistency between how BUFRLIB was
compiled
and how MET is trying to call it.  Please refer to the directions for
how
to compile BUFRLIB in the MET Online Tutorial:

http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php

Please note the presence of the -DUNDERSCORE flag when compiling
BUFRLIB.

Please give that a try, then reconfigure and try compiling MET again.
Please let us know how it goes.

Thanks,
Julie


On Sat, May 16, 2015 at 7:18 PM, Daša Srbová via RT
<met_help at ucar.edu>
wrote:

>
> Sat May 16 19:18:26 2015: Request 71983 was acted upon.
> Transaction: Ticket created by srbova.dasa at gmail.com
>        Queue: met_help
>      Subject: met-5.0 error> recipe for target 'pb2nc' failed
>        Owner: Nobody
>   Requestors: srbova.dasa at gmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71983 >
>
>
> Hello,
> I have trouble with compiling met 5.0. and I would be glad for
helping me
> in this issue. I have bufrlib, netcdf, gsl libraries installed, all
> environmental variables settled, but still cant compile the program.
I
> tried to disable block4 by ./configure --prefix=`pwd` --disable-
block4 but
> no help. My problem seems to be with pb2nc because if i run
./configure
> --prefix=/home/dasa/Desktop/met/met --disable-block4 --disable-pb2nc
it
> works. Unfortunately for me, I need it.
> Thank you very much.
>
> Kind regards
> Dasa Srbova
>
>
> Part of my log looks like:
> g++  -g -L../../../../src/basic/vx_cal
-L../../../../src/basic/vx_config
> -L../../../../src/basic/vx_log -L../../../../src/basic/vx_math
> -L../../../../src/basic/vx_util -L../../../../src/libcode/vx_afm
> -L../../../../src/libcode/vx_analysis_util
> -L../../../../src/libcode/vx_color
-L../../../../src/libcode/vx_data2d
> -L../../../../src/libcode/vx_data2d_factory
> -L../../../../src/libcode/vx_data2d_grib
> -L../../../../src/libcode/vx_data2d_grib2
> -L../../../../src/libcode/vx_data2d_nccf
> -L../../../../src/libcode/vx_data2d_nc_met
> -L../../../../src/libcode/vx_data2d_nc_pinterp
> -L../../../../src/libcode/vx_geodesy
-L../../../../src/libcode/vx_gnomon
> -L../../../../src/libcode/vx_grid
-L../../../../src/libcode/vx_gsl_prob
> -L../../../../src/libcode/vx_nav
-L../../../../src/libcode/vx_nc_util
> -L../../../../src/libcode/vx_pb_util
-L../../../../src/libcode/vx_plot_util
> -L../../../../src/libcode/vx_ps -L../../../../src/libcode/vx_pxm
> -L../../../../src/libcode/vx_render
-L../../../../src/libcode/vx_shapedata
> -L../../../../src/libcode/vx_statistics
> -L../../../../src/libcode/vx_stat_out
-L../../../../src/libcode/vx_tc_util
> -L/netcdf/lib -L/gsl/lib -L/home/dasa/Desktop/met/bufrlib/lib -o
pb2nc
> pb2nc-pb2nc.o pb2nc-pb2nc_conf_info.o numpbmsg.o openpb.o closepb.o
> readpb.o dumppb.o -lvx_stat_out -lvx_statistics -lvx_shapedata
> -lvx_gsl_prob -lvx_analysis_util -lvx_data2d_grib -lvx_data2d
-lvx_nc_util
> -lvx_grid -lvx_config -lvx_pb_util -lvx_cal -lvx_util -lvx_math
-lvx_color
> -lvx_log -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas -lbufr
-L/netcdf/lib
> -L/gsl/lib -L/home/dasa/Desktop/met/bufrlib/lib
> -L/usr/lib/gcc/x86_64-redhat-linux/4.9.2
> -L/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../lib64
-L/lib/../lib64
> -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-
linux/4.9.2/../../..
> -lgfortran -lm -lquadmath
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(closbf.o): In function
> `closbf_':
> closbf.f:(.text+0x7a): undefined reference to `closfb_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(msgwrt.o): In function
> `msgwrt_':
> msgwrt.f:(.text+0x7d9): undefined reference to `cwrbufr_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(openbf.o): In function
> `openbf_':
> openbf.f:(.text+0x2a8): undefined reference to `arallocc_'
> openbf.f:(.text+0x725): undefined reference to `openrb_'
> openbf.f:(.text+0x911): undefined reference to `openrb_'
> openbf.f:(.text+0x9a1): undefined reference to `openwb_'
> openbf.f:(.text+0xa10): undefined reference to `openrb_'
> openbf.f:(.text+0xaa0): undefined reference to `openwb_'
> openbf.f:(.text+0xb34): undefined reference to `openwb_'
> openbf.f:(.text+0xbee): undefined reference to `openab_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(posapx.o): In function
> `posapx_':
> posapx.f:(.text+0x91): undefined reference to `backbufr_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(rdbfdx.o): In function
> `rdbfdx_':
> rdbfdx.f:(.text+0x8d): undefined reference to `backbufr_'
> rdbfdx.f:(.text+0xeb): undefined reference to `backbufr_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(rdmsgw.o): In function
> `rdmsgw_':
> rdmsgw.f:(.text+0x4a): undefined reference to `crdbufr_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(stndrd.o): In function
> `stndrd_':
> stndrd.f:(.text+0x35a): undefined reference to `restd_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(bort2.o): In function
> `bort2_':
> bort2.f:(.text+0xb4): undefined reference to `bort_exit_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(bort.o): In function
`bort_':
> bort.f:(.text+0x88): undefined reference to `bort_exit_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(readmg.o): In function
> `readmg_':
> readmg.f:(.text+0x1fa): undefined reference to `backbufr_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(reads3.o): In function
> `reads3_':
> reads3.f:(.text+0xc35): undefined reference to `stseq_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(rewnbf.o): In function
> `rewnbf_':
> rewnbf.f:(.text+0x286): undefined reference to `cewind_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(readmt.o): In function
> `readmt_':
> readmt.f:(.text+0x11e8): undefined reference to `icvidx_'
> readmt.f:(.text+0x139f): undefined reference to `cpmstabs_'
> collect2: error: ld returned 1 exit status
> Makefile:340: recipe for target 'pb2nc' failed
> make[5]: *** [pb2nc] Error 1
> make[5]: Leaving directory
> '/home/dasa/Desktop/met/met-5.0/src/tools/other/pb2nc'
> Makefile:302: recipe for target 'all-recursive' failed
> make[4]: *** [all-recursive] Error 1
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: met-5.0 error> recipe for target 'pb2nc' failed
From: Daša Srbová
Time: Mon May 18 13:33:10 2015

Hello Julie,
I was about to write you before you replied. Thank you very much, as
you
stressed to use -DUNDERSCORE, that helped. I am sorry for taking your
time.
I hope, I will not need to contact you anymore:)

I see, you do really good job.
Thank you again

Dasa

2015-05-17 3:18 GMT+02:00 met_help at ucar.edu via RT
<met_help at ucar.edu>:

> Greetings,
>
> This message has been automatically generated in response to the
> creation of a trouble ticket regarding:
>         "met-5.0 error> recipe for target 'pb2nc' failed",
> a summary of which appears below.
>
> There is no need to reply to this message right now.  Your ticket
has been
> assigned an ID of [rt.rap.ucar.edu #71983].
>
> Please include the string:
>
>          [rt.rap.ucar.edu #71983]
>
> in the subject line of all future correspondence about this issue.
To do
> so,
> you may reply to this message.
>
>                         Thank you,
>                         met_help at ucar.edu
>
>
-------------------------------------------------------------------------
> Hello,
> I have trouble with compiling met 5.0. and I would be glad for
helping me
> in this issue. I have bufrlib, netcdf, gsl libraries installed, all
> environmental variables settled, but still cant compile the program.
I
> tried to disable block4 by ./configure --prefix=`pwd` --disable-
block4 but
> no help. My problem seems to be with pb2nc because if i run
./configure
> --prefix=/home/dasa/Desktop/met/met --disable-block4 --disable-pb2nc
it
> works. Unfortunately for me, I need it.
> Thank you very much.
>
> Kind regards
> Dasa Srbova
>
>
> Part of my log looks like:
> g++  -g -L../../../../src/basic/vx_cal
-L../../../../src/basic/vx_config
> -L../../../../src/basic/vx_log -L../../../../src/basic/vx_math
> -L../../../../src/basic/vx_util -L../../../../src/libcode/vx_afm
> -L../../../../src/libcode/vx_analysis_util
> -L../../../../src/libcode/vx_color
-L../../../../src/libcode/vx_data2d
> -L../../../../src/libcode/vx_data2d_factory
> -L../../../../src/libcode/vx_data2d_grib
> -L../../../../src/libcode/vx_data2d_grib2
> -L../../../../src/libcode/vx_data2d_nccf
> -L../../../../src/libcode/vx_data2d_nc_met
> -L../../../../src/libcode/vx_data2d_nc_pinterp
> -L../../../../src/libcode/vx_geodesy
-L../../../../src/libcode/vx_gnomon
> -L../../../../src/libcode/vx_grid
-L../../../../src/libcode/vx_gsl_prob
> -L../../../../src/libcode/vx_nav
-L../../../../src/libcode/vx_nc_util
> -L../../../../src/libcode/vx_pb_util
-L../../../../src/libcode/vx_plot_util
> -L../../../../src/libcode/vx_ps -L../../../../src/libcode/vx_pxm
> -L../../../../src/libcode/vx_render
-L../../../../src/libcode/vx_shapedata
> -L../../../../src/libcode/vx_statistics
> -L../../../../src/libcode/vx_stat_out
-L../../../../src/libcode/vx_tc_util
> -L/netcdf/lib -L/gsl/lib -L/home/dasa/Desktop/met/bufrlib/lib -o
pb2nc
> pb2nc-pb2nc.o pb2nc-pb2nc_conf_info.o numpbmsg.o openpb.o closepb.o
> readpb.o dumppb.o -lvx_stat_out -lvx_statistics -lvx_shapedata
> -lvx_gsl_prob -lvx_analysis_util -lvx_data2d_grib -lvx_data2d
-lvx_nc_util
> -lvx_grid -lvx_config -lvx_pb_util -lvx_cal -lvx_util -lvx_math
-lvx_color
> -lvx_log -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas -lbufr
-L/netcdf/lib
> -L/gsl/lib -L/home/dasa/Desktop/met/bufrlib/lib
> -L/usr/lib/gcc/x86_64-redhat-linux/4.9.2
> -L/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../lib64
-L/lib/../lib64
> -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-
linux/4.9.2/../../..
> -lgfortran -lm -lquadmath
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(closbf.o): In function
> `closbf_':
> closbf.f:(.text+0x7a): undefined reference to `closfb_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(msgwrt.o): In function
> `msgwrt_':
> msgwrt.f:(.text+0x7d9): undefined reference to `cwrbufr_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(openbf.o): In function
> `openbf_':
> openbf.f:(.text+0x2a8): undefined reference to `arallocc_'
> openbf.f:(.text+0x725): undefined reference to `openrb_'
> openbf.f:(.text+0x911): undefined reference to `openrb_'
> openbf.f:(.text+0x9a1): undefined reference to `openwb_'
> openbf.f:(.text+0xa10): undefined reference to `openrb_'
> openbf.f:(.text+0xaa0): undefined reference to `openwb_'
> openbf.f:(.text+0xb34): undefined reference to `openwb_'
> openbf.f:(.text+0xbee): undefined reference to `openab_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(posapx.o): In function
> `posapx_':
> posapx.f:(.text+0x91): undefined reference to `backbufr_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(rdbfdx.o): In function
> `rdbfdx_':
> rdbfdx.f:(.text+0x8d): undefined reference to `backbufr_'
> rdbfdx.f:(.text+0xeb): undefined reference to `backbufr_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(rdmsgw.o): In function
> `rdmsgw_':
> rdmsgw.f:(.text+0x4a): undefined reference to `crdbufr_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(stndrd.o): In function
> `stndrd_':
> stndrd.f:(.text+0x35a): undefined reference to `restd_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(bort2.o): In function
> `bort2_':
> bort2.f:(.text+0xb4): undefined reference to `bort_exit_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(bort.o): In function
`bort_':
> bort.f:(.text+0x88): undefined reference to `bort_exit_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(readmg.o): In function
> `readmg_':
> readmg.f:(.text+0x1fa): undefined reference to `backbufr_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(reads3.o): In function
> `reads3_':
> reads3.f:(.text+0xc35): undefined reference to `stseq_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(rewnbf.o): In function
> `rewnbf_':
> rewnbf.f:(.text+0x286): undefined reference to `cewind_'
> /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(readmt.o): In function
> `readmt_':
> readmt.f:(.text+0x11e8): undefined reference to `icvidx_'
> readmt.f:(.text+0x139f): undefined reference to `cpmstabs_'
> collect2: error: ld returned 1 exit status
> Makefile:340: recipe for target 'pb2nc' failed
> make[5]: *** [pb2nc] Error 1
> make[5]: Leaving directory
> '/home/dasa/Desktop/met/met-5.0/src/tools/other/pb2nc'
> Makefile:302: recipe for target 'all-recursive' failed
> make[4]: *** [all-recursive] Error 1
>
>

------------------------------------------------
Subject: met-5.0 error> recipe for target 'pb2nc' failed
From: Julie Prestopnik
Time: Mon May 18 13:36:36 2015

Hi Dasa.

I'm glad to hear that you were able to get it working.  Please let us
know
if you encounter any other problems.

Thanks,
Julie

On Mon, May 18, 2015 at 1:33 PM, Daša Srbová via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71983 >
>
> Hello Julie,
> I was about to write you before you replied. Thank you very much, as
you
> stressed to use -DUNDERSCORE, that helped. I am sorry for taking
your time.
> I hope, I will not need to contact you anymore:)
>
> I see, you do really good job.
> Thank you again
>
> Dasa
>
> 2015-05-17 3:18 GMT+02:00 met_help at ucar.edu via RT
<met_help at ucar.edu>:
>
> > Greetings,
> >
> > This message has been automatically generated in response to the
> > creation of a trouble ticket regarding:
> >         "met-5.0 error> recipe for target 'pb2nc' failed",
> > a summary of which appears below.
> >
> > There is no need to reply to this message right now.  Your ticket
has
> been
> > assigned an ID of [rt.rap.ucar.edu #71983].
> >
> > Please include the string:
> >
> >          [rt.rap.ucar.edu #71983]
> >
> > in the subject line of all future correspondence about this issue.
To do
> > so,
> > you may reply to this message.
> >
> >                         Thank you,
> >                         met_help at ucar.edu
> >
> >
-------------------------------------------------------------------------
> > Hello,
> > I have trouble with compiling met 5.0. and I would be glad for
helping me
> > in this issue. I have bufrlib, netcdf, gsl libraries installed,
all
> > environmental variables settled, but still cant compile the
program.  I
> > tried to disable block4 by ./configure --prefix=`pwd` --disable-
block4
> but
> > no help. My problem seems to be with pb2nc because if i run
./configure
> > --prefix=/home/dasa/Desktop/met/met --disable-block4 --disable-
pb2nc it
> > works. Unfortunately for me, I need it.
> > Thank you very much.
> >
> > Kind regards
> > Dasa Srbova
> >
> >
> > Part of my log looks like:
> > g++  -g -L../../../../src/basic/vx_cal
-L../../../../src/basic/vx_config
> > -L../../../../src/basic/vx_log -L../../../../src/basic/vx_math
> > -L../../../../src/basic/vx_util -L../../../../src/libcode/vx_afm
> > -L../../../../src/libcode/vx_analysis_util
> > -L../../../../src/libcode/vx_color
-L../../../../src/libcode/vx_data2d
> > -L../../../../src/libcode/vx_data2d_factory
> > -L../../../../src/libcode/vx_data2d_grib
> > -L../../../../src/libcode/vx_data2d_grib2
> > -L../../../../src/libcode/vx_data2d_nccf
> > -L../../../../src/libcode/vx_data2d_nc_met
> > -L../../../../src/libcode/vx_data2d_nc_pinterp
> > -L../../../../src/libcode/vx_geodesy
-L../../../../src/libcode/vx_gnomon
> > -L../../../../src/libcode/vx_grid
-L../../../../src/libcode/vx_gsl_prob
> > -L../../../../src/libcode/vx_nav
-L../../../../src/libcode/vx_nc_util
> > -L../../../../src/libcode/vx_pb_util
> -L../../../../src/libcode/vx_plot_util
> > -L../../../../src/libcode/vx_ps -L../../../../src/libcode/vx_pxm
> > -L../../../../src/libcode/vx_render
> -L../../../../src/libcode/vx_shapedata
> > -L../../../../src/libcode/vx_statistics
> > -L../../../../src/libcode/vx_stat_out
> -L../../../../src/libcode/vx_tc_util
> > -L/netcdf/lib -L/gsl/lib -L/home/dasa/Desktop/met/bufrlib/lib -o
pb2nc
> > pb2nc-pb2nc.o pb2nc-pb2nc_conf_info.o numpbmsg.o openpb.o
closepb.o
> > readpb.o dumppb.o -lvx_stat_out -lvx_statistics -lvx_shapedata
> > -lvx_gsl_prob -lvx_analysis_util -lvx_data2d_grib -lvx_data2d
> -lvx_nc_util
> > -lvx_grid -lvx_config -lvx_pb_util -lvx_cal -lvx_util -lvx_math
> -lvx_color
> > -lvx_log -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas -lbufr
-L/netcdf/lib
> > -L/gsl/lib -L/home/dasa/Desktop/met/bufrlib/lib
> > -L/usr/lib/gcc/x86_64-redhat-linux/4.9.2
> > -L/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../lib64
> -L/lib/../lib64
> > -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-
linux/4.9.2/../../..
> > -lgfortran -lm -lquadmath
> > /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(closbf.o): In
function
> > `closbf_':
> > closbf.f:(.text+0x7a): undefined reference to `closfb_'
> > /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(msgwrt.o): In
function
> > `msgwrt_':
> > msgwrt.f:(.text+0x7d9): undefined reference to `cwrbufr_'
> > /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(openbf.o): In
function
> > `openbf_':
> > openbf.f:(.text+0x2a8): undefined reference to `arallocc_'
> > openbf.f:(.text+0x725): undefined reference to `openrb_'
> > openbf.f:(.text+0x911): undefined reference to `openrb_'
> > openbf.f:(.text+0x9a1): undefined reference to `openwb_'
> > openbf.f:(.text+0xa10): undefined reference to `openrb_'
> > openbf.f:(.text+0xaa0): undefined reference to `openwb_'
> > openbf.f:(.text+0xb34): undefined reference to `openwb_'
> > openbf.f:(.text+0xbee): undefined reference to `openab_'
> > /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(posapx.o): In
function
> > `posapx_':
> > posapx.f:(.text+0x91): undefined reference to `backbufr_'
> > /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(rdbfdx.o): In
function
> > `rdbfdx_':
> > rdbfdx.f:(.text+0x8d): undefined reference to `backbufr_'
> > rdbfdx.f:(.text+0xeb): undefined reference to `backbufr_'
> > /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(rdmsgw.o): In
function
> > `rdmsgw_':
> > rdmsgw.f:(.text+0x4a): undefined reference to `crdbufr_'
> > /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(stndrd.o): In
function
> > `stndrd_':
> > stndrd.f:(.text+0x35a): undefined reference to `restd_'
> > /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(bort2.o): In function
> > `bort2_':
> > bort2.f:(.text+0xb4): undefined reference to `bort_exit_'
> > /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(bort.o): In function
> `bort_':
> > bort.f:(.text+0x88): undefined reference to `bort_exit_'
> > /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(readmg.o): In
function
> > `readmg_':
> > readmg.f:(.text+0x1fa): undefined reference to `backbufr_'
> > /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(reads3.o): In
function
> > `reads3_':
> > reads3.f:(.text+0xc35): undefined reference to `stseq_'
> > /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(rewnbf.o): In
function
> > `rewnbf_':
> > rewnbf.f:(.text+0x286): undefined reference to `cewind_'
> > /home/dasa/Desktop/met/bufrlib/lib/libbufr.a(readmt.o): In
function
> > `readmt_':
> > readmt.f:(.text+0x11e8): undefined reference to `icvidx_'
> > readmt.f:(.text+0x139f): undefined reference to `cpmstabs_'
> > collect2: error: ld returned 1 exit status
> > Makefile:340: recipe for target 'pb2nc' failed
> > make[5]: *** [pb2nc] Error 1
> > make[5]: Leaving directory
> > '/home/dasa/Desktop/met/met-5.0/src/tools/other/pb2nc'
> > Makefile:302: recipe for target 'all-recursive' failed
> > make[4]: *** [all-recursive] Error 1
> >
> >
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

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


More information about the Met_help mailing list