[Met_help] [rt.rap.ucar.edu #45496] History for make pcp_combine problem

RAL HelpDesk {for Paul Oldenburg} met_help at ucar.edu
Fri Apr 8 11:18:29 MDT 2011


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


*** Making the Model Evaluation Tools Project ***


*** Making vx_afm Library ***


cp libvx_afm.a ../.

*** Making vx_analysis_util Library ***


cp libvx_analysis_util.a ../.

*** Making vx_cal Library ***


cp libvx_cal.a ../.

*** Making vx_color Library ***


cp libvx_color.a ../.

*** Making vx_contable Library ***


cp libvx_contable.a ../.


*** Making vx_econfig Library ***


cp libvx_econfig.a ../.

*** Making vx_gdata Library ***


cp libvx_gdata.a ../.

*** Making vx_gnomon Library ***


cp libvx_gnomon.a ../.

*** Making vx_grib_classes Library ***


cp libvx_grib_classes.a ../.

*** Making vx_gsl_prob Library ***


cp libvx_gsl_prob.a ../.

*** Making vx_math Library ***


cp libvx_math.a ../.

*** Making vx_met_util Library ***


cp libvx_met_util.a ../.

*** Making vx_nav Library ***


cp libvx_nav.a ../.

*** Making vx_plot_util Library ***


cp libvx_plot_util.a ../.

*** Making vx_ps Library ***


cp libvx_ps.a ../.

*** Making vx_pxm Library ***


cp libvx_pxm.a ../.

*** Making vx_render Library ***


cp libvx_render.a ../.

*** Making vx_util Library ***


cp libvx_util.a ../.

*** Making vx_pb_util Library ***


cp libvx_pb_util.a ../.

*** Making vx_wrfdata Library ***


cp libvx_wrfdata.a ../.

*** Making vx_wrfmode Library ***


cp libvx_wrfmode.a ../.

*** Making pcp_combine application ***


/usr/bin/g++ -o pcp_combine pcp_combine.cc \
	-Wall -Wshadow -static   -DMET_BASE=\"/root/METv3.0\" \
	-I../../lib -I/root/netcdf-4.1.1/include -I/root/gsl-1.14/include \
	-L../../lib -L/root/netcdf-4.1.1/lib -L/root/gsl-1.14/lib \
	-lvx_contable -lvx_met_util -lvx_analysis_util \
	-lvx_gdata -lvx_wrfdata -lvx_contable -lvx_met_util -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 \
	


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

Subject: Re: [rt.rap.ucar.edu #45496] make pcp_combine problem
From: Paul Oldenburg
Time: Mon Mar 21 09:25:50 2011

Emily,

We have two recommendations:

1.  use g++ not gcc

2.  Make sure to carefully follow the online tutorial instructions for
building NetCDF, especially the use of the
--disable-netcdf-4 option.  If you still have trouble building MET
with NetCDF4, we suggest downloading, building and
using NetCDF 3.6 instead.  The pertinent MET Online Tutorial page is
here:

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

Also, make sure you build NetCDF with the same compiler family (i.e.
GNU) that you use to build MET.  Please let us know
if you have any questions.

Thanks,

Paul



On 03/21/2011 07:58 AM, RAL HelpDesk {for emily niebuhr} wrote:
>
> Mon Mar 21 07:58:31 2011: Request 45496 was acted upon.
> Transaction: Ticket created by elniebuhr at gmail.com
>        Queue: met_help
>      Subject: make pcp_combine problem
>        Owner: Nobody
>   Requestors: elniebuhr at gmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=45496 >
>
>
>
> *** Making the Model Evaluation Tools Project ***
>
>
> *** Making vx_afm Library ***
>
>
> cp libvx_afm.a ../.
>
> *** Making vx_analysis_util Library ***
>
>
> cp libvx_analysis_util.a ../.
>
> *** Making vx_cal Library ***
>
>
> cp libvx_cal.a ../.
>
> *** Making vx_color Library ***
>
>
> cp libvx_color.a ../.
>
> *** Making vx_contable Library ***
>
>
> cp libvx_contable.a ../.
>
>
> *** Making vx_econfig Library ***
>
>
> cp libvx_econfig.a ../.
>
> *** Making vx_gdata Library ***
>
>
> cp libvx_gdata.a ../.
>
> *** Making vx_gnomon Library ***
>
>
> cp libvx_gnomon.a ../.
>
> *** Making vx_grib_classes Library ***
>
>
> cp libvx_grib_classes.a ../.
>
> *** Making vx_gsl_prob Library ***
>
>
> cp libvx_gsl_prob.a ../.
>
> *** Making vx_math Library ***
>
>
> cp libvx_math.a ../.
>
> *** Making vx_met_util Library ***
>
>
> cp libvx_met_util.a ../.
>
> *** Making vx_nav Library ***
>
>
> cp libvx_nav.a ../.
>
> *** Making vx_plot_util Library ***
>
>
> cp libvx_plot_util.a ../.
>
> *** Making vx_ps Library ***
>
>
> cp libvx_ps.a ../.
>
> *** Making vx_pxm Library ***
>
>
> cp libvx_pxm.a ../.
>
> *** Making vx_render Library ***
>
>
> cp libvx_render.a ../.
>
> *** Making vx_util Library ***
>
>
> cp libvx_util.a ../.
>
> *** Making vx_pb_util Library ***
>
>
> cp libvx_pb_util.a ../.
>
> *** Making vx_wrfdata Library ***
>
>
> cp libvx_wrfdata.a ../.
>
> *** Making vx_wrfmode Library ***
>
>
> cp libvx_wrfmode.a ../.
>
> *** Making pcp_combine application ***
>
>
> /usr/bin/g++ -o pcp_combine pcp_combine.cc \
> 	-Wall -Wshadow -static   -DMET_BASE=\"/root/METv3.0\" \
> 	-I../../lib -I/root/netcdf-4.1.1/include -I/root/gsl-1.14/include \
> 	-L../../lib -L/root/netcdf-4.1.1/lib -L/root/gsl-1.14/lib \
> 	-lvx_contable -lvx_met_util -lvx_analysis_util \
> 	-lvx_gdata -lvx_wrfdata -lvx_contable -lvx_met_util
-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 \
>
>
>
>
>
> To whom it may concern:
>
> I ran into the following problem while trying to make MET3.0.  I
type  make
>> test1  and get the following ending output when making the
pcp_combine
> application.  I was unable to find anyone else who has had a similar
problem
> in your archives: I tried both setting g++ and gcc as the compilers
and
> while g++ had fewer errors I still ran into this problem.   Thank
you for
> your time!
>
> Sincerely,
> Emily
>
>
> [root at josey METv3.0]# make > test4.txt
> /usr/local/lib/libnetcdf.a(liboc_la-ocinternal.o): In function
> `ocinitialize':
> /root/netcdf-4.1.1/libncdap3/oc/ocinternal.c:167: undefined
reference to
> `curl_version_info'
> /usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`ocfetchhttpcode':
> /root/netcdf-4.1.1/libncdap3/oc/http.c:27: undefined reference to
> `curl_easy_getinfo'
> /usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
> `ocsetcurlproperties':
> /root/netcdf-4.1.1/libncdap3/oc/http.c:283: undefined reference to
> `curl_easy_strerror'
> /usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
> `ocfetchlastmodified':
> /root/netcdf-4.1.1/libncdap3/oc/http.c:297: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:318: undefined reference to
> `curl_easy_strerror'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:302: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:303: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:304: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:305: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:306: undefined reference to
> `curl_easy_setopt'
> /usr/local/lib/libnetcdf.a(liboc_la-http.o):/root/netcdf-
4.1.1/libncdap3/oc/http.c:307:
> more undefined references to `curl_easy_setopt' follow
> /usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
> `ocfetchlastmodified':
> /root/netcdf-4.1.1/libncdap3/oc/http.c:309: undefined reference to
> `curl_easy_perform'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:312: undefined reference to
> `curl_easy_getinfo'
> /usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`ocfetchurl_file':
> /root/netcdf-4.1.1/libncdap3/oc/http.c:44: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:79: undefined reference to
> `curl_easy_strerror'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:49: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:54: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:59: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:63: undefined reference to
> `curl_easy_perform'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:74: undefined reference to
> `curl_easy_getinfo'
> /usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`occurlopen':
> /root/netcdf-4.1.1/libncdap3/oc/http.c:221: undefined reference to
> `curl_easy_init'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:225: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:229: undefined reference to
> `curl_easy_setopt'
> /usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`ocfetchurl':
> /root/netcdf-4.1.1/libncdap3/oc/http.c:93: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:132: undefined reference to
> `curl_easy_strerror'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:98: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:103: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:108: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:110: undefined reference to
> `curl_easy_perform'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:121: undefined reference to
> `curl_easy_getinfo'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:113: undefined reference to
> `curl_easy_strerror'
> /usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`occurlclose':
> /root/netcdf-4.1.1/libncdap3/oc/http.c:242: undefined reference to
> `curl_easy_cleanup'
> /usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o): In function
> `set_verify':
> /root/netcdf-4.1.1/libncdap3/oc/curlfunctions.c:103: undefined
reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/curlfunctions.c:106: undefined
reference to
> `curl_easy_setopt'
> /usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o): In function
> `set_cookies':
> /root/netcdf-4.1.1/libncdap3/oc/curlfunctions.c:88: undefined
reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/curlfunctions.c:92: undefined
reference to
> `curl_easy_setopt'
> /usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o): In function
> `set_proxy':
> /root/netcdf-4.1.1/libncdap3/oc/curlfunctions.c:49: undefined
reference to
> `curl_easy_setopt'
> /usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o):/root/netcdf-
4.1.1/libncdap3/oc/curlfunctions.c:53:
> more undefined references to `curl_easy_setopt' follow
> collect2: ld returned 1 exit status
> make[3]: *** [pcp_combine] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [targets] Error 2
> make: *** [all] Error 2
>
>
>
> To whom it may concern:
>
> I ran into the following problem while trying to make MET3.0.  I
type  make >
> test1  and get the following ending output when making the
pcp_combine
> application.  I was unable to find anyone else who has had a similar
problem in
> your archives: I tried both setting g++ and gcc as the compilers and
while g++
> had fewer errors I still ran into this problem.   Thank you for your
time!
>
> Sincerely,
> Emily
>
>
> [root at josey METv3.0]# make > test4.txt
> /usr/local/lib/libnetcdf.a(liboc_la-ocinternal.o): In function
`ocinitialize':
> /root/netcdf-4.1.1/libncdap3/oc/ocinternal.c:167: undefined
reference to
> `curl_version_info'
> /usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`ocfetchhttpcode':
> /root/netcdf-4.1.1/libncdap3/oc/http.c:27: undefined reference to
> `curl_easy_getinfo'
> /usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`ocsetcurlproperties':
> /root/netcdf-4.1.1/libncdap3/oc/http.c:283: undefined reference to
> `curl_easy_strerror'
> /usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`ocfetchlastmodified':
> /root/netcdf-4.1.1/libncdap3/oc/http.c:297: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:318: undefined reference to
> `curl_easy_strerror'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:302: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:303: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:304: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:305: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:306: undefined reference to
> `curl_easy_setopt'
> /usr/local/lib/libnetcdf.a(liboc_la-http.o):/root/netcdf-
4.1.1/libncdap3/oc/http.c:307:
> more undefined references to `curl_easy_setopt' follow
> /usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`ocfetchlastmodified':
> /root/netcdf-4.1.1/libncdap3/oc/http.c:309: undefined reference to
> `curl_easy_perform'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:312: undefined reference to
> `curl_easy_getinfo'
> /usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`ocfetchurl_file':
> /root/netcdf-4.1.1/libncdap3/oc/http.c:44: undefined reference to
`curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:79: undefined reference to
> `curl_easy_strerror'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:49: undefined reference to
`curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:54: undefined reference to
`curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:59: undefined reference to
`curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:63: undefined reference to
> `curl_easy_perform'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:74: undefined reference to
> `curl_easy_getinfo'
> /usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`occurlopen':
> /root/netcdf-4.1.1/libncdap3/oc/http.c:221: undefined reference to
`curl_easy_init'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:225: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:229: undefined reference to
> `curl_easy_setopt'
> /usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`ocfetchurl':
> /root/netcdf-4.1.1/libncdap3/oc/http.c:93: undefined reference to
`curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:132: undefined reference to
> `curl_easy_strerror'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:98: undefined reference to
`curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:103: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:108: undefined reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:110: undefined reference to
> `curl_easy_perform'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:121: undefined reference to
> `curl_easy_getinfo'
> /root/netcdf-4.1.1/libncdap3/oc/http.c:113: undefined reference to
> `curl_easy_strerror'
> /usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`occurlclose':
> /root/netcdf-4.1.1/libncdap3/oc/http.c:242: undefined reference to
> `curl_easy_cleanup'
> /usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o): In function
`set_verify':
> /root/netcdf-4.1.1/libncdap3/oc/curlfunctions.c:103: undefined
reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/curlfunctions.c:106: undefined
reference to
> `curl_easy_setopt'
> /usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o): In function
`set_cookies':
> /root/netcdf-4.1.1/libncdap3/oc/curlfunctions.c:88: undefined
reference to
> `curl_easy_setopt'
> /root/netcdf-4.1.1/libncdap3/oc/curlfunctions.c:92: undefined
reference to
> `curl_easy_setopt'
> /usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o): In function
`set_proxy':
> /root/netcdf-4.1.1/libncdap3/oc/curlfunctions.c:49: undefined
reference to
> `curl_easy_setopt'
> /usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o):/root/netcdf-
4.1.1/libncdap3/oc/curlfunctions.c:53:
> more undefined references to `curl_easy_setopt' follow
> collect2: ld returned 1 exit status
> make[3]: *** [pcp_combine] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [targets] Error 2
> make: *** [all] Error 2
>


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


More information about the Met_help mailing list