<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>MET compilation error</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hello-<BR>
<BR>
I am trying to compile MET 2.0 using GNU compilers and am getting the following errors when making the pb2nc application:<BR>
<BR>
/usr/bin/g++ -o pb2nc pb2nc.cc pb2nc_Conf.o numpbmsg.o openpb.o readpb.o dumppb.o \<BR>
-Wall -Wshadow -static&nbsp;&nbsp; -DMET_BASE=\&quot;/home/ldm/METv2.0\&quot; \<BR>
-I../../lib -I/home/ldm/NETCDF/netcdf-3.6.3/include -I/home/ldm/GSL/gsl-1.12/include -I/home/ldm/BUFRLIB&nbsp; \<BR>
-L../../lib -L/home/ldm/NETCDF/netcdf-3.6.3/lib -L/home/ldm/GSL/gsl-1.12/lib -L/home/ldm/BUFRLIB&nbsp; \<BR>
-lbufr -lvx_pb_util \<BR>
-lvx_met_util -lvx_analysis_util -lvx_wrfdata -lvx_met_util \<BR>
-lvx_contable -lvx_grib_classes \<BR>
-lvx_econfig -lvx_gsl_prob -lgsl \<BR>
-lvx_plot_util&nbsp; -lvx_render -lvx_pxm -lvx_color -lvx_ps -lvx_afm \<BR>
-lvx_data_grids -lvx_gnomon -lvx_nav -lvx_cal -lvx_util -lvx_math -lm \<BR>
-lnetcdf_c++ -lnetcdf \<BR>
&nbsp; -L/usr/local/gfortran/lib -lgfortran<BR>
/home/ldm/BUFRLIB/libbufr.a(ufbtab.o)(.text+0x731): In function `ufbtab_':<BR>
: undefined reference to `__powidf2'<BR>
/home/ldm/BUFRLIB/libbufr.a(ufbtab.o)(.text+0xf29): In function `ufbtab_':<BR>
: undefined reference to `__powidf2'<BR>
/home/ldm/BUFRLIB/libbufr.a(rdcmps.o)(.text+0x294): In function `rdcmps_':<BR>
: undefined reference to `__powidf2'<BR>
/home/ldm/BUFRLIB/libbufr.a(rdtree.o)(.text+0x1fd): In function `rdtree_':<BR>
: undefined reference to `__powidf2'<BR>
collect2: ld returned 1 exit status<BR>
make[3]: *** [pb2nc] Error 1<BR>
make[2]: *** [all] Error 2<BR>
make[1]: *** [targets] Error 2<BR>
make: *** [all] Error 2<BR>
<BR>
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).<BR>
<BR>
Is there something else I am missing or could try?&nbsp; Thank you...<BR>
<BR>
Holly&nbsp;<BR>
<BR>
-----------------------------------------------<BR>
Holly Hassenzahl<BR>
Meteorologist, Science Analyst<BR>
Data Products Group<BR>
<BR>
Weather Central, Inc.<BR>
401 Charmany Drive Suite 200<BR>
Madison, WI 53719<BR>
608.274.5789<BR>
<A HREF="http://weathercentral.tv">http://weathercentral.tv</A><BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>