<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Jennifer,<br>
<br>
Thanks for your response. I have checked versions 3.6.3, 4.1.1 and
3.5.1 (which is the oldest available) of netcdf, and I haven't found
this definition. Do you know what version of netcdf GraDS requires?<br>
<br>
Thanks,<br>
<br>
Spencer <br>
<br>
On 2/28/2012 2:08 PM, Jennifer Adams wrote:
<blockquote
cite="mid:1EC39255-E96E-40F0-9CC7-68709D936D5A@cola.iges.org"
type="cite">
<div>Hi, Spencer -- </div>
<div>You are correct, you must not have the right version of
netcdf.h in your supplibs (or wherever your netcdf4 build is
located). This is where NC_CHUNKED is defined: </div>
<div><br>
</div>
<div>> grep NC_CHUNKED ~/supplibs/include/netcdf/netcdf.h </div>
<div>#define NC_CHUNKED 0</div>
<div><br>
</div>
<div>--Jennifer</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>On Feb 24, 2012, at 12:51 PM, Spencer Ogden wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div>I'm trying to get into grads for the analysis of ocean
wind patterns. <br>
I've worked through a few compilation problems, but have hit
a road <br>
block and I wasn't able to turn up any similar problems on
Google.<br>
<br>
I'm running on Gentoo and I have manually installed libpng
1.2.34 and <br>
g2clib 1.2.3. This has allowed configure to enable grib2 and
netcdf. I'm <br>
running in to a problem with the compile though. When
compiling gaio.c, <br>
NC_CHUNKED throws an error as an undeclared symbol. Seems
like this <br>
could be a case of having the wrong version of a header, but
I haven't <br>
been able to track down where I should start looking.<br>
<br>
Thanks for any advice,<br>
<br>
Spencer<br>
<br>
Here's the last bit of ./configure:<br>
+=========================================================================+<br>
GrADS 2.0.1 : Built Fri Feb 24 11:52:02 EST 2012 for
i686-pc-linux-gnu<br>
<br>
+=========================================================================+<br>
<br>
+-------------------------------+<br>
| |<br>
| GrADS will be built with: |<br>
| |<br>
| - GUI disabled |<br>
| + readline enabled |<br>
| + geotiff enabled |<br>
| - shapefile disabled |<br>
| + printim enabled |<br>
| + grib2 enabled |<br>
| - hdf4 disabled |<br>
| + hdf5 enabled |<br>
| + netcdf-4 enabled |<br>
| - OPeNDAP disabled |<br>
| |<br>
+-------------------------------+<br>
<br>
`make` ouput:<br>
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include
-I/usr/include <br>
-I/usr/include -I/usr/include/hdf -g -O2 -rdynamic -c
gaio.c<br>
gaio.c: In function 'garead':<br>
gaio.c:753:3: warning: format '%ld' expects type 'long int',
but <br>
argument 4 has type 'size_t'<br>
gaio.c:753:3: warning: format '%ld' expects type 'long int',
but <br>
argument 4 has type 'size_t'<br>
gaio.c: In function 'gancsetup':<br>
gaio.c:2446:17: error: 'NC_CHUNKED' undeclared (first use in
this function)<br>
gaio.c:2446:17: note: each undeclared identifier is reported
only once <br>
for each function it appears in<br>
gaio.c:2462:3: warning: format '%ld' expects type 'long
int', but <br>
argument 4 has type 'size_t'<br>
gaio.c:2462:3: warning: format '%ld' expects type 'long
int', but <br>
argument 4 has type 'size_t'<br>
make[2]: *** [gaio.o] Error 1<br>
make[2]: Leaving directory `/home/spencer/grads-2.0.1/src'<br>
make[1]: *** [all] Error 2<br>
make[1]: Leaving directory `/home/spencer/grads-2.0.1/src'<br>
make: *** [all-recursive] Error 1<br>
<br>
<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a moz-do-not-send="true"
href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</div>
</blockquote>
</div>
<br>
<div apple-content-edited="true">
<span class="Apple-style-span" style="font-size: 12px; "><span
class="Apple-style-span" style="border-collapse: separate;
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: normal; text-align: auto;
-khtml-text-decorations-in-effect: none; text-indent: 0px;
-apple-text-size-adjust: auto; text-transform: none;
orphans: 2; white-space: normal; widows: 2; word-spacing:
0px; ">
<div>--</div>
<div>Jennifer M. Adams</div>
<div>IGES/COLA</div>
<div>4041 Powder Mill Road, Suite 302</div>
<div>Calverton, MD 20705</div>
<div><a moz-do-not-send="true"
href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div>
<div><br class="khtml-block-placeholder">
</div>
<br class="Apple-interchange-newline">
</span></span>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
</body>
</html>