<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
i use cc: Sun C 5.9 SunOS_i386 Patch 124868-05 2008/05/13 on a SunOS
5.10 Generic_127128-11 i86pc i386 i86pc.<br>
i have HDF4.2r4 installed without any problem<br>
also NCAR Graphics<b> </b>without NCL<br>
but with NCL i have this error <br>
<br>
<br>
cc -Xt&nbsp; -O&nbsp; -I../../../.././include -I/usr/openwin/include
-I/usr/dt/include -I/usr/include -I/opt/HDF4.2r4/include
-I/opt/netCDF_util-1.1/include&nbsp;&nbsp; -DBuildRasterHDF -DSUN
-DBuildRasterHPPCL -DBuildRasterNrif -DBuildRasterSun&nbsp;
-DBuildRasterXWD&nbsp; -DBuildRasterAVS -DBuildRasterSGI&nbsp;
-DBuildRasterAbekas&nbsp; -DBuildRasterBinary -DBuildRasterYUV&nbsp;
-DNGTMPDIR='"tmp"' -DPC -DSUN -Bdynamic -D_POSIX_SOURCE -DSYSV
-D_XOPEN_SOURCE -D__EXTENSIONS__ -DByteSwapped -Di386 -lfsu
-DNeedFuncProto&nbsp;&nbsp; -c&nbsp; memory.c<br>
cc -Xt&nbsp; -O&nbsp; -I../../../.././include -I/usr/openwin/include
-I/usr/dt/include -I/usr/include -I/opt/HDF4.2r4/include
-I/opt/netCDF_util-1.1/include&nbsp;&nbsp; -DBuildRasterHDF -DSUN
-DBuildRasterHPPCL -DBuildRasterNrif -DBuildRasterSun&nbsp;
-DBuildRasterXWD&nbsp; -DBuildRasterAVS -DBuildRasterSGI&nbsp;
-DBuildRasterAbekas&nbsp; -DBuildRasterBinary -DBuildRasterYUV&nbsp;
-DNGTMPDIR='"tmp"' -DPC -DSUN -Bdynamic -D_POSIX_SOURCE -DSYSV
-D_XOPEN_SOURCE -D__EXTENSIONS__ -DByteSwapped -Di386 -lfsu
-DNeedFuncProto&nbsp;&nbsp; -c&nbsp; hdf.c<br>
"/opt/HDF4.2r4/include/hproto.h", line 402: syntax error before or at:
char<br>
"/opt/HDF4.2r4/include/hproto.h", line 402: function cannot return
function or array<br>
"/opt/HDF4.2r4/include/hproto.h", line 402: warning: old-style
declaration or incorrect type for: strdup<br>
"/opt/HDF4.2r4/include/hproto.h", line 402: identifier redeclared:
strdup<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; current : function() returning int<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; previous: function(pointer to const char) returning pointer to
char : "/usr/include/string.h", line 90<br>
"/opt/HDF4.2r4/include/hproto.h", line 402: syntax error before or at: )<br>
"/opt/HDF4.2r4/include/hproto.h", line 402: warning: syntax error:&nbsp;
empty declaration<br>
cc: acomp failed for hdf.c<br>
*** Error code 2<br>
make: Fatal error: Command failed for target `hdf.o'<br>
Current working directory
/csys/nobackup1_MET/wcohrs/ncl_ncarg-5.1.0/ncarview/src/lib/libncarg_ras<br>
<br>
Wolfgang<br>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Wolfgang Cohrs 
Stiftung Alfred-Wegener-Institut fuer Polar- und Meeresforschung
Postfach 120161 D 27515 Bremerhaven
<a class="moz-txt-link-freetext" href="mailto:Wolfgang.Cohrs@awi.de">mailto:Wolfgang.Cohrs@awi.de</a>
<a class="moz-txt-link-freetext" href="http://www.awi.de/People/show?wcohrs">http://www.awi.de/People/show?wcohrs</a>
</pre>
</body>
</html>