[Wrf-users] WRF 3.2 compilation issue

Hisham Mohd Aderis hisham.aderis at quantumbeez.com
Mon Jun 21 20:35:09 MDT 2010


Dear all,

I have problem compiling WRF version 3.2 using portland group compiler. I
have installed pg compiler version 10.5 and also compiled netcdf version
4.1.1 using the pg compiler. The problem is, when I try to compile test
cases for WRF, a series of error like below appear and the compilation
failed:

/state/partition1/apps/netcdf/libncdap3/oc/./ocinternal.c:161: undefined
reference to `curl_version_info'
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `ocfetchhttpcode':
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:25: undefined reference
to `curl_easy_getinfo'
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `ocfetchurl_file':
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:44: undefined reference
to `curl_easy_setopt'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:49: undefined reference
to `curl_easy_setopt'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:54: undefined reference
to `curl_easy_setopt'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:59: undefined reference
to `curl_easy_setopt'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:59: undefined reference
to `curl_easy_perform'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:74: undefined reference
to `curl_easy_getinfo'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:79: undefined reference
to `curl_easy_strerror'
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `ocfetchurl':
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:93: undefined reference
to `curl_easy_setopt'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:98: undefined reference
to `curl_easy_setopt'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:103: undefined reference
to `curl_easy_setopt'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:108: undefined reference
to `curl_easy_setopt'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:108: undefined reference
to `curl_easy_perform'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:114: undefined reference
to `curl_easy_strerror'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:121: undefined reference
to `curl_easy_getinfo'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:132: undefined reference
to `curl_easy_strerror'
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `occurlopen':
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:217: undefined reference
to `curl_easy_init'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:225: undefined reference
to `curl_easy_setopt'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:225: undefined reference
to `curl_easy_setopt'
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `occurlclose':
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:242: undefined reference
to `curl_easy_cleanup'
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`ocsetcurlproperties':
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:283: undefined reference
to `curl_easy_strerror'
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`ocfetchlastmodified':
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:297: undefined reference
to `curl_easy_setopt'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:302: undefined reference
to `curl_easy_setopt'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:302: undefined reference
to `curl_easy_setopt'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:302: undefined reference
to `curl_easy_setopt'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:302: undefined reference
to `curl_easy_setopt'
/usr/local/lib/libnetcdf.a(liboc_la-http.o):/state/partition1/apps/netcdf/libncdap3/oc/./http.c:302:
more undefined references to `curl_easy_setopt' follow
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`ocfetchlastmodified':
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:302: undefined reference
to `curl_easy_perform'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:312: undefined reference
to `curl_easy_getinfo'
/state/partition1/apps/netcdf/libncdap3/oc/./http.c:318: undefined reference
to `curl_easy_strerror'
/usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o): In function
`set_user_password':
/state/partition1/apps/netcdf/libncdap3/oc/./curlfunctions.c:26: undefined
reference to `curl_easy_setopt'
/state/partition1/apps/netcdf/libncdap3/oc/./curlfunctions.c:35: undefined
reference to `curl_easy_setopt'
/usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o): In function
`set_proxy':
/state/partition1/apps/netcdf/libncdap3/oc/./curlfunctions.c:49: undefined
reference to `curl_easy_setopt'
/state/partition1/apps/netcdf/libncdap3/oc/./curlfunctions.c:53: undefined
reference to `curl_easy_setopt'
/state/partition1/apps/netcdf/libncdap3/oc/./curlfunctions.c:65: undefined
reference to `curl_easy_setopt'
/usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o):/state/partition1/apps/netcdf/libncdap3/oc/./curlfunctions.c:88:
more undefined references to `curl_easy_setopt' follow

I have searching the internet for a few days now, for solution but to no
avail. If there is anyone who knows the solution, or know where I can find
the solution, your help is greatly appreciated. I used Rocks cluster 5.3 for
the OS and a few amd opteron machines built into cluster for this
installation.

Thank you very much

-- 
Regards,

Hisham Bin Mohd Aderis
Quantum Beez Sdn. Bhd.

IMPORTANT:
This e-mail (including any attachment hereto) is intended solely for the
addressee and is confidential and privileged.  If this should have been sent
to you in error, you are not to reproduce, distribute or take any action in
reliance on it. Kindly notify us and delete the e-mail and all attachments
immediately.

As e-mail and/or attachments may contain viruses and other interfering or
damaging elements, the receipt and/or downloading of e-mail and/or
attachments will be at your own risk and we accept no liability for any
damage sustained as a result of any such viruses; you should carry out your
own virus checks before opening any attachment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20100622/2799a6c4/attachment.html 


More information about the Wrf-users mailing list