[ncl-install] [help] I have trouble to build NCL 5.0

박순영 soon at pusan.ac.kr
Tue Jul 22 08:16:03 MDT 2008


Hi,
First of all, please look my error massage from 'make all install >& make-out &'.

Making install in ./ni/src/ncl
make[3]: Entering directory `/home/psy/src/ncl/ncl_ncarg-5.0.0/ni/src/ncl'
gcc -c -DLINUX -ansi -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O  -I../../.././include -I/usr/X11R6/include  -DLinux -DMAJOR=2       -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto  NclHDF.c
NclHDF.c:66: error: `MAX_VAR_DIMS' undeclared here (not in a function)
NclHDF.c: In function `HDFToNCLName':
NclHDF.c:311: error: `MAX_NC_NAME' undeclared (first use in this function)
NclHDF.c:311: error: (Each undeclared identifier is reported only once
NclHDF.c:311: error: for each function it appears in.)
NclHDF.c: In function `GetSDInfo': 
NclHDF.c:465: error: `MAX_NC_NAME' undeclared (first use in this function)
NclHDF.c: In function `HDFOpenFile':
NclHDF.c:650: error: `MAX_NC_NAME' undeclared (first use in this function)
NclHDF.c: In function `HDFReadVar':
NclHDF.c:1250: error: `MAX_NC_DIMS' undeclared (first use in this function)
NclHDF.c: In function `HDFWriteVar':
NclHDF.c:1470: error: `MAX_NC_DIMS' undeclared (first use in this function)
NclHDF.c: In function `HDFAddVar': 
NclHDF.c:1953: error: `MAX_NC_DIMS' undeclared (first use in this function)
make[3]: *** [NclHDF.o] Error 1
make[3]: Leaving directory `/home/psy/src/ncl/ncl_ncarg-5.0.0/ni/src/ncl'

What should I do? How do I DECLARE `MAX_VAR_DIMS', `MAX_NC_NAME' and `MAX_NC_DIMS'. ^^;

TIA
Soon-Young Park from Korea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20080722/ddb7140c/attachment.html


More information about the ncl-install mailing list