[ncl-install] Solaris 86 hproto.h", line 402: syntax
Wolfgang Cohrs
wolfgang.cohrs at awi.de
Wed Mar 18 08:13:52 MDT 2009
Hello,
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.
i have HDF4.2r4 installed without any problem
also NCAR Graphics* *without NCL
but with NCL i have this error
cc -Xt -O -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 -DBuildRasterHDF -DSUN
-DBuildRasterHPPCL -DBuildRasterNrif -DBuildRasterSun -DBuildRasterXWD
-DBuildRasterAVS -DBuildRasterSGI -DBuildRasterAbekas
-DBuildRasterBinary -DBuildRasterYUV -DNGTMPDIR='"tmp"' -DPC -DSUN
-Bdynamic -D_POSIX_SOURCE -DSYSV -D_XOPEN_SOURCE -D__EXTENSIONS__
-DByteSwapped -Di386 -lfsu -DNeedFuncProto -c memory.c
cc -Xt -O -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 -DBuildRasterHDF -DSUN
-DBuildRasterHPPCL -DBuildRasterNrif -DBuildRasterSun -DBuildRasterXWD
-DBuildRasterAVS -DBuildRasterSGI -DBuildRasterAbekas
-DBuildRasterBinary -DBuildRasterYUV -DNGTMPDIR='"tmp"' -DPC -DSUN
-Bdynamic -D_POSIX_SOURCE -DSYSV -D_XOPEN_SOURCE -D__EXTENSIONS__
-DByteSwapped -Di386 -lfsu -DNeedFuncProto -c hdf.c
"/opt/HDF4.2r4/include/hproto.h", line 402: syntax error before or at: char
"/opt/HDF4.2r4/include/hproto.h", line 402: function cannot return
function or array
"/opt/HDF4.2r4/include/hproto.h", line 402: warning: old-style
declaration or incorrect type for: strdup
"/opt/HDF4.2r4/include/hproto.h", line 402: identifier redeclared: strdup
current : function() returning int
previous: function(pointer to const char) returning pointer to
char : "/usr/include/string.h", line 90
"/opt/HDF4.2r4/include/hproto.h", line 402: syntax error before or at: )
"/opt/HDF4.2r4/include/hproto.h", line 402: warning: syntax error:
empty declaration
cc: acomp failed for hdf.c
*** Error code 2
make: Fatal error: Command failed for target `hdf.o'
Current working directory
/csys/nobackup1_MET/wcohrs/ncl_ncarg-5.1.0/ncarview/src/lib/libncarg_ras
Wolfgang
--
Wolfgang Cohrs
Stiftung Alfred-Wegener-Institut fuer Polar- und Meeresforschung
Postfach 120161 D 27515 Bremerhaven
mailto:Wolfgang.Cohrs at awi.de
http://www.awi.de/People/show?wcohrs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20090318/09847128/attachment.html
More information about the ncl-install
mailing list