Open edhartnett opened 5 years ago
Looks like NclQuark is defined in either .".../ncl/ni/src/ncl/ApiRecords.h" or more likely ".../ncl/ni/src/ncl/defs.h", where it is defined in terms of NrmQuark, a symbol coming out of the HLU file ..../ncl/ni/src/lib/hlu/NresDB.h. In general, NCL has dependencies on the HLUs, but not vice-versa. MAX_STRING_LEN is coming out defs.h
These symbols "_NhlMAXFNAMELEN" and "_NhlMAXRESNAMLEN" are coming out of the hlu's ..../ncl/ni/src/lib/hlu/defs.h, and in general, anything prefixed "Nrm..." or "Nhl..." will be coming from the HLUs.
(are you familiar with what I mean by the terms HLUs and LLUs ?)
On Mon, Feb 25, 2019 at 7:50 AM Rick Brownrigg brownrig@ucar.edu wrote:
On Mon, Feb 25, 2019 at 5:20 AM Ed Hartnett notifications@github.com wrote:
Now I am failing in the nio directory, it can't find type NclQuark, and some other types:
make[4]: Entering directory '/home/ed/ncl/ni/src/lib/nio'
depbase=
echo nio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'
;\/bin/bash ../../../../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"ncl\" -DPACKAGE_TARNAME=\"ncl\" -DPACKAGE_VERSION=\"6.5.0-development\" -DPACKAGE_STRING=\"ncl\ 6.5.0-development\" -DPACKAGE_BUGREPORT=\"ncl-install@ucar.edu\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ncl\" -DVERSION=\"6.5.0-development\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXRENDER=1 -DHAVE_LIBM=1 -DHAVE_LIBNETCDF=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBZ=1 -DHAVE_LIBCAIRO=1 -DHAVE_LIBPNG=1 -DHAVE_LIBFREETYPE=1 -DHAVE_LIBPIXMAN_1=1 -DHAVE_LIBUDUNITS2=1 -DHAVE_LIBEXPAT=1 -DHAVE_LIBDF=1 -DHAVE_LIBMFHDF=1 -DBuildHDF4=1 -DHAVE_LIBGCTP=1 -DHAVE_LIBJASPER=1 -DHAVE_LIBGRIB2C=1 -DBuildGRIB2=1 -DHAVE_LIBGDAL=1 -DBuildGDAL=1 -DHAVE_LIBHDF5=1 -DBuildHDF5=1 -DNCARGURL=\"ngurl\" -DNeedFuncProto=1 -DSYSV=1 -D_POSIX_SOURCE=1 -D_XOPEN_SOURCE=1 -DByteSwapped=1 -DLinux=1 -DIBM=1 -DNGVERSION=\"6.5.0\" -DNCLVERSION=\"6.5.0\" -DDEFAULT_GKS_BUFSIZE=0 -DNGTMPDIR=\"tmp\" -DMAJOR=4 -DBuildPNG=1 -DSPOOL_TRANS=\"ctrans\" -DBINDIR=\"bin\" -DLIBDIR=\"lib\" -DFONTCAPDIR=\"fontcaps\" -DGRAPHCAPDIR=\"graphcaps\" -DNCARGDIR=\"ncarg\" -DUSE_NETCDF4=1 -I. -I../../../../ncarg2d/src/libncarg_gks -I../../../../common/src/libncarg_c -I../../../../ncarg2d/src/libncarg -I../../../../ni/src/lib/hlu -I../../../../ni/src/ncl -I/usr/local/hdfeos/include -I/usr/local/hdfeos5/include -I/usr/local/freexl-1.0.5/include -I/usr/local/libgeotiff-1.4.3/include -I/usr/local/json-c-0.13.1/include -I/usr/local/geos-3.7.1/include -I/usr/local/gdal-2.2.4/include -I/usr/local/netcdf-c-4.6.2/include -I/usr/include/freetype2 -I/usr/local/hdf-4.2.13/include -I/usr/local/hdf5-1.10.4/include -g -O2 -MT nio.lo -MD -MP -MF $depbase.Tpo -c -o nio.lo nio.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DPACKAGE_NAME=\"ncl\" -DPACKAGE_TARNAME=\"ncl\" -DPACKAGE_VERSION=\"6.5.0-development\" "-DPACKAGE_STRING=\"ncl 6.5.0-development\"" -DPACKAGE_BUGREPORT=\"ncl-install@ucar.edu\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ncl\" -DVERSION=\"6.5.0-development\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXRENDER=1 -DHAVE_LIBM=1 -DHAVE_LIBNETCDF=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBZ=1 -DHAVE_LIBCAIRO=1 -DHAVE_LIBPNG=1 -DHAVE_LIBFREETYPE=1 -DHAVE_LIBPIXMAN_1=1 -DHAVE_LIBUDUNITS2=1 -DHAVE_LIBEXPAT=1 -DHAVE_LIBDF=1 -DHAVE_LIBMFHDF=1 -DBuildHDF4=1 -DHAVE_LIBGCTP=1 -DHAVE_LIBJASPER=1 -DHAVE_LIBGRIB2C=1 -DBuildGRIB2=1 -DHAVE_LIBGDAL=1 -DBuildGDAL=1 -DHAVE_LIBHDF5=1 -DBuildHDF5=1 -DNCARGURL=\"ngurl\" -DNeedFuncProto=1 -DSYSV=1 -D_POSIX_SOURCE=1 -D_XOPEN_SOURCE=1 -DByteSwapped=1 -DLinux=1 -DIBM=1 -DNGVERSION=\"6.5.0\" -DNCLVERSION=\"6.5.0\" -DDEFAULT_GKS_BUFSIZE=0 -DNGTMPDIR=\"tmp\" -DMAJOR=4 -DBuildPNG=1 -DSPOOL_TRANS=\"ctrans\" -DBINDIR=\"bin\" -DLIBDIR=\"lib\" -DFONTCAPDIR=\"fontcaps\" -DGRAPHCAPDIR=\"graphcaps\" -DNCARGDIR=\"ncarg\" -DUSE_NETCDF4=1 -I. -I../../../../ncarg2d/src/libncarg_gks -I../../../../common/src/libncarg_c -I../../../../ncarg2d/src/libncarg -I../../../../ni/src/lib/hlu -I../../../../ni/src/ncl -I/usr/local/hdfeos/include -I/usr/local/hdfeos5/include -I/usr/local/freexl-1.0.5/include -I/usr/local/libgeotiff-1.4.3/include -I/usr/local/json-c-0.13.1/include -I/usr/local/geos-3.7.1/include -I/usr/local/gdal-2.2.4/include -I/usr/local/netcdf-c-4.6.2/include -I/usr/include/freetype2 -I/usr/local/hdf-4.2.13/include -I/usr/local/hdf5-1.10.4/include -g -O2 -MT nio.lo -MD -MP -MF .deps/nio.Tpo -c nio.c -fPIC -DPIC -o .libs/nio.o
In file included from nio.h:3:0,
from nio.c:2:
../../../../ni/src/lib/hlu/defs.h:41:0: warning: "_NhlMAXFNAMELEN" redefined
define _NhlMAXFNAMELEN (1024)
In file included from nio.h:1:0,
from nio.c:2:
niohlu.h:38:0: note: this is the location of the previous definition
define _NhlMAXFNAMELEN (256)
In file included from nio.h:3:0,
from nio.c:2:
../../../../ni/src/lib/hlu/defs.h:61:0: warning: "_NhlMAXRESNAMLEN" redefined
define _NhlMAXRESNAMLEN (320) / 256 + 64 /
In file included from nio.h:1:0,
from nio.c:2:
niohlu.h:36:0: note: this is the location of the previous definition
define _NhlMAXRESNAMLEN (128)
In file included from nio.h:3:0,
from nio.c:2:
../../../../ni/src/lib/hlu/defs.h:67:0: warning: "NhlDEFAULT_APP" redefined
define NhlDEFAULT_APP 0
In file included from nio.h:1:0,
from nio.c:2:
niohlu.h:37:0: note: this is the location of the previous definition
define NhlDEFAULT_APP ((int)0)
In file included from nio.h:4:0,
from nio.c:2:
../../../../ni/src/ncl/Symbol.h:36:16: error: ‘NCL_MAX_STRING’ undeclared here (not in a function); did you mean ‘__STRING’?
char filename[NCL_MAX_STRING];
^~~~~~~~~~~~~~ __STRING
../../../../ni/src/ncl/Symbol.h:119:22: error: ‘NCL_MAX_DIMENSIONS’ undeclared here (not in a function); did you mean ‘NCL_MAX_STRING’?
ng_size_t dim_sizes[NCL_MAX_DIMENSIONS];
^~~~~~~~~~~~~~~~~~ NCL_MAX_STRING
../../../../ni/src/ncl/Symbol.h:354:1: warning: parameter names (without types) in function declaration
);
^
../../../../ni/src/ncl/Symbol.h:383:8: error: unknown type name ‘NclQuark’
extern NclQuark *_NclGetFileSymNames(
^~~~~~~~
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NCAR/ncl/issues/84, or mute the thread https://github.com/notifications/unsubscribe-auth/ANdnXh2uUmaK3clKEb8Ubhb5bKDIJnmhks5vQ9T8gaJpZM4bPv7T .
Now I am failing in the nio directory, it can't find type NclQuark, and some other types: