<!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.7638.1">
<TITLE>Error in Bulding PB2NC</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Dear Sir,<BR>
I am compiling METV1.1 using Intel FORTRAN compiler V10.1 on 32bit machine. all modules were built and run successfully including GSL, F2c. One only module (PB2NC) were not built due to missing links with buflib library. The following show how i built the bufrlib<BR>
<BR>
icc -c -O2 -DUNDERSCORE *.c<BR>
ifort -c -O2 -assume no2underscore *.f<BR>
ar crv buflib.a *.o<BR>
<BR>
Part of the error in linking PB2NC with buflib is shown:<BR>
<BR>
<BR>
<BR>
<BR>
icc -o pb2nc pb2nc.cc pb2nc_Conf.o numpbmsg.o openpb.o readpb.o dumppb.o \<BR>
-Bstatic -DMET_BASE=\"/home/mat/WRF_MODEL/POSTPROCESS/METv1.1\" \<BR>
-I../../lib -I/home/mat/LIBRARIES/NETCDF-intel/include<BR>
-I/home/mat/LIBRARIES/GSL-1.9-intel/include -I/home/mat/LIBRARIES/BUFLIB-intel<BR>
\<BR>
-L../../lib -L/home/mat/LIBRARIES/NETCDF-intel/lib<BR>
-L/home/mat/LIBRARIES/GSL-1.9-intel/lib -L/home/mat/LIBRARIES/BUFLIB-intel \<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 -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>
\<BR>
-lnetcdf_c++ -lnetcdf \<BR>
-lbufr -lf2c -lrt -lpthread<BR>
openpb.o: In function `openpb_':<BR>
openpb.f:(.text+0x57): undefined reference to `for_open'<BR>
dumppb.o: In function `dumppb_':<BR>
dumppb.f:(.text+0x145): undefined reference to `for_concat'<BR>
dumppb.f:(.text+0x196): undefined reference to `for_open'<BR>
dumppb.f:(.text+0x236): undefined reference to `for_open'<BR>
dumppb.f:(.text+0x40a): undefined reference to `for_write_seq_fmt'<BR>
dumppb.f:(.text+0x4cd): undefined reference to `for_write_seq_fmt'<BR>
dumppb.f:(.text+0x50a): undefined reference to `for_write_seq_fmt'<BR>
dumppb.f:(.text+0x53f): undefined reference to `for_write_seq_fmt_xmit'<BR>
dumppb.f:(.text+0x574): undefined reference to `for_write_seq_fmt_xmit'<BR>
dumppb.f:(.text+0x5a9): undefined reference to `for_write_seq_fmt_xmit'<BR>
dumppb.f:(.text+0x5de): undefined reference to `for_write_seq_fmt_xmit'<BR>
dumppb.f:(.text+0x613): undefined reference to `for_write_seq_fmt_xmit'<BR>
dumppb.o:dumppb.f:(.text+0x648): more undefined references to<BR>
`for_write_seq_fmt_xmit' follow<BR>
dumppb.o: In function `dumppb_':<BR>
dumppb.f:(.text+0x6af): undefined reference to `for_write_seq_fmt'<BR>
dumppb.f:(.text+0x774): undefined reference to `for_write_int_fmt'<BR>
dumppb.f:(.text+0x7b5): undefined reference to `for_write_int_fmt_xmit'<BR>
dumppb.f:(.text+0x80b): undefined reference to `for_cpstr'<BR>
dumppb.f:(.text+0x8d8): undefined reference to `for_close'<BR>
dumppb.f:(.text+0x92a): undefined reference to `for_write_seq_fmt'<BR>
dumppb.f:(.text+0x949): undefined reference to `for_stop_core'<BR>
dumppb.o: In function `readpbdump_':<BR>
dumppb.f:(.text+0x9ba): undefined reference to `for_cpystr'<BR>
dumppb.f:(.text+0xb07): undefined reference to `for_cpstr'<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
Could you please help me to find the error?<BR>
Thank you very much for your support<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>