<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
&nbsp;It looks like you have built one of your supporting libraries (i.e.
netcdf / opendap) with curl.&nbsp; My best guess is you should add libcurl.a
to your list of libraries when linking in.<br>
Hope this helps<br>
<br>
Hisham Mohd Aderis wrote:
<blockquote
 cite="mid:AANLkTinol2caaQQZcG4zJhCTsRqZzt3abNxXT72PEipi@mail.gmail.com"
 type="cite">Dear all,
  <div><br>
  </div>
  <div>I have problem compiling WRF version 3.2 using portland group
compiler. I have installed pg compiler version&nbsp;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:</div>
  <div><br>
  </div>
  <div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./ocinternal.c:161:
undefined reference to `curl_version_info'</div>
  <div>/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`ocfetchhttpcode':</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:25:
undefined reference to `curl_easy_getinfo'</div>
  <div>/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`ocfetchurl_file':</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:44:
undefined reference to `curl_easy_setopt'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:49:
undefined reference to `curl_easy_setopt'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:54:
undefined reference to `curl_easy_setopt'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:59:
undefined reference to `curl_easy_setopt'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:59:
undefined reference to `curl_easy_perform'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:74:
undefined reference to `curl_easy_getinfo'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:79:
undefined reference to `curl_easy_strerror'</div>
  <div>/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`ocfetchurl':</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:93:
undefined reference to `curl_easy_setopt'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:98:
undefined reference to `curl_easy_setopt'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:103:
undefined reference to `curl_easy_setopt'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:108:
undefined reference to `curl_easy_setopt'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:108:
undefined reference to `curl_easy_perform'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:114:
undefined reference to `curl_easy_strerror'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:121:
undefined reference to `curl_easy_getinfo'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:132:
undefined reference to `curl_easy_strerror'</div>
  <div>/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`occurlopen':</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:217:
undefined reference to `curl_easy_init'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:225:
undefined reference to `curl_easy_setopt'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:225:
undefined reference to `curl_easy_setopt'</div>
  <div>/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`occurlclose':</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:242:
undefined reference to `curl_easy_cleanup'</div>
  <div>/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`ocsetcurlproperties':</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:283:
undefined reference to `curl_easy_strerror'</div>
  <div>/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`ocfetchlastmodified':</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:297:
undefined reference to `curl_easy_setopt'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:302:
undefined reference to `curl_easy_setopt'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:302:
undefined reference to `curl_easy_setopt'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:302:
undefined reference to `curl_easy_setopt'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:302:
undefined reference to `curl_easy_setopt'</div>
  <div>/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</div>
  <div>/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function
`ocfetchlastmodified':</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:302:
undefined reference to `curl_easy_perform'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:312:
undefined reference to `curl_easy_getinfo'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:318:
undefined reference to `curl_easy_strerror'</div>
  <div>/usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o): In
function `set_user_password':</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./curlfunctions.c:26:
undefined reference to `curl_easy_setopt'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./curlfunctions.c:35:
undefined reference to `curl_easy_setopt'</div>
  <div>/usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o): In
function `set_proxy':</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./curlfunctions.c:49:
undefined reference to `curl_easy_setopt'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./curlfunctions.c:53:
undefined reference to `curl_easy_setopt'</div>
  <div>/state/partition1/apps/netcdf/libncdap3/oc/./curlfunctions.c:65:
undefined reference to `curl_easy_setopt'</div>
  <div>/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</div>
  <div><br>
  </div>
  <div>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.</div>
  <div><br>
  </div>
  <div>Thank you very much</div>
  <br>
-- <br>
Regards,<br>
  <br>
Hisham Bin Mohd Aderis<br>
Quantum Beez Sdn. Bhd.<br>
  <br>
IMPORTANT:<br>
This e-mail (including any attachment hereto) is intended solely for
the addressee and is confidential and privileged. &nbsp;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.<br>
  <br>
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.<br>
  <br>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Wrf-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a>
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/wrf-users">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a>
  </pre>
</blockquote>
</body>
</html>