[Met_help] error messages while compiling MET

Marlous Jonker M.Jonker at weer.nl
Tue Aug 25 04:06:17 MDT 2009


Hello!

 

While compiling the MET software I encountered the error messages below.
The Makefile I used is in the attachment. 

I am pretty stuck on how to solve the error, so I hope you have some
ideas to tackle the problem.

 

Kind regards,

 

Marlous Jonker

 

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

  Marlous Jonker

  Meteorological Researcher

  Meteo Consult BV, Wageningen, the Netherlands

  Tel: +31 (0)317 399872

  Email: M.Jonker at weer.nl

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

 

Error messages encountered:

 

 

*** Making pcp_combine application ***

 

 

/usr/pgi/linux86/7.1-6/bin/pgCC -o pcp_combine pcp_combine.cc \

        -Bstatic -Msecond_underscore
-DMET_BASE=\"/home/mm5/MET/METv2.0\" \

        -I../../lib -I/home/mm5/WRF/netcdf/netcdf-4.0/include
-I/home/mm5/MET/gsl/gsl-1.9/include \

        -L../../lib -L/home/mm5/WRF/netcdf/netcdf-4.0/lib
-L/home/mm5/MET/gsl/gsl-1.9/lib \

        -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 \

 

pcp_combine.cc:

pcp_combine.o: In function `write_netcdf__FLT1iR10GribRecord':

pcp_combine.cc:(.text+0x3421): undefined reference to `NcFile::__ct(char
const *, NcFile::FileMode, unsigned int *, unsigned int,
NcFile::FileFormat)'

pcp_combine.cc:(.text+0x3466): undefined reference to `NcFile::is_valid(
const(void))'

pcp_combine.cc:(.text+0x34f4): undefined reference to
`NcFile::close(void)'

pcp_combine.cc:(.text+0x369a): undefined reference to
`NcFile::add_att(char const *, char const *)'

pcp_combine.cc:(.text+0x3927): undefined reference to
`NcFile::add_att(char const *, char const *)'

pcp_combine.cc:(.text+0x3b5b): undefined reference to
`NcVar::add_att(char const *, int)'

pcp_combine.cc:(.text+0x3ba7): undefined reference to
`NcVar::add_att(char const *, char const *)'

pcp_combine.cc:(.text+0x3bf3): undefined reference to
`NcVar::add_att(char const *, char const *)'

pcp_combine.cc:(.text+0x3c42): undefined reference to
`NcVar::add_att(char const *, char const *)'

pcp_combine.cc:(.text+0x3c66): undefined reference to
`NcVar::add_att(char const *, float)'

pcp_combine.cc:(.text+0x3d4e): undefined reference to
`NcVar::add_att(char const *, char const *)'

pcp_combine.cc:(.text+0x3d74): undefined reference to
`NcVar::add_att(char const *, long)'

pcp_combine.cc:(.text+0x3e46): undefined reference to
`NcVar::add_att(char const *, char const *)'

pcp_combine.cc:(.text+0x3e6c): undefined reference to
`NcVar::add_att(char const *, long)'

pcp_combine.cc:(.text+0x3eee): undefined reference to
`NcVar::add_att(char const *, char const *)'

pcp_combine.cc:(.text+0x3f11): undefined reference to
`NcVar::add_att(char const *, int)'

pcp_combine.cc:(.text+0x3f7f): undefined reference to `NcVar::put(float
const *, long, long, long, long, long)'

pcp_combine.cc:(.text+0x3fef): undefined reference to
`NcFile::close(void)'

../../lib/libvx_met_util.a(write_netcdf.o): In function
`write_netcdf_proj(NcFile *, Grid const &)':

write_netcdf.cc:(.text+0x71): undefined reference to
`NcFile::add_att(char const *, char const *)'

write_netcdf.cc:(.text+0xe6): undefined reference to
`NcFile::add_att(char const *, char const *)'

write_netcdf.cc:(.text+0x135): undefined reference to
`NcFile::add_att(char const *, char const *)'

write_netcdf.cc:(.text+0x17f): undefined reference to
`NcFile::add_att(char const *, char const *)'

write_netcdf.cc:(.text+0x1c9): undefined reference to
`NcFile::add_att(char const *, char const *)'

../../lib/libvx_met_util.a(write_netcdf.o):write_netcdf.cc:(.text+0x20c)
: more undefined references to `NcFile::add_att(char const *, char const
*)' follow

make[3]: *** [pcp_combine] Error 2

make[2]: *** [all] Error 2

make[1]: *** [targets] Error 2

make: *** [all] Error 2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/met_help/attachments/20090825/059e4ae2/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 8809 bytes
Desc: Makefile
Url : http://mailman.ucar.edu/pipermail/met_help/attachments/20090825/059e4ae2/attachment-0001.obj 


More information about the Met_help mailing list