[Met_help] MET compilation error

Holly Hassenzahl hhassenzahl at wxc.com
Tue Aug 11 15:43:23 MDT 2009


Hello-

I am trying to compile MET 2.0 using GNU compilers and am getting the following errors when making the pb2nc application:

/usr/bin/g++ -o pb2nc pb2nc.cc pb2nc_Conf.o numpbmsg.o openpb.o readpb.o dumppb.o \
-Wall -Wshadow -static   -DMET_BASE=\"/home/ldm/METv2.0\" \
-I../../lib -I/home/ldm/NETCDF/netcdf-3.6.3/include -I/home/ldm/GSL/gsl-1.12/include -I/home/ldm/BUFRLIB  \
-L../../lib -L/home/ldm/NETCDF/netcdf-3.6.3/lib -L/home/ldm/GSL/gsl-1.12/lib -L/home/ldm/BUFRLIB  \
-lbufr -lvx_pb_util \
-lvx_met_util -lvx_analysis_util -lvx_wrfdata -lvx_met_util \
-lvx_contable -lvx_grib_classes \
-lvx_econfig -lvx_gsl_prob -lgsl \
-lvx_plot_util  -lvx_render -lvx_pxm -lvx_color -lvx_ps -lvx_afm \
-lvx_data_grids -lvx_gnomon -lvx_nav -lvx_cal -lvx_util -lvx_math -lm \
-lnetcdf_c++ -lnetcdf \
  -L/usr/local/gfortran/lib -lgfortran
/home/ldm/BUFRLIB/libbufr.a(ufbtab.o)(.text+0x731): In function `ufbtab_':
: undefined reference to `__powidf2'
/home/ldm/BUFRLIB/libbufr.a(ufbtab.o)(.text+0xf29): In function `ufbtab_':
: undefined reference to `__powidf2'
/home/ldm/BUFRLIB/libbufr.a(rdcmps.o)(.text+0x294): In function `rdcmps_':
: undefined reference to `__powidf2'
/home/ldm/BUFRLIB/libbufr.a(rdtree.o)(.text+0x1fd): In function `rdtree_':
: undefined reference to `__powidf2'
collect2: ld returned 1 exit status
make[3]: *** [pb2nc] Error 1
make[2]: *** [all] Error 2
make[1]: *** [targets] Error 2
make: *** [all] Error 2

I have tried emptying out all of the F2C lines in the Makefile, as well as emptying out all expect the -lf2c (as recommended to someone in April of this year).

Is there something else I am missing or could try?  Thank you...

Holly  

-----------------------------------------------
Holly Hassenzahl
Meteorologist, Science Analyst
Data Products Group

Weather Central, Inc.
401 Charmany Drive Suite 200
Madison, WI 53719
608.274.5789
http://weathercentral.tv

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/met_help/attachments/20090811/e325ffd5/attachment.html 


More information about the Met_help mailing list