NOAA / NCEP GRIB2 files: Syntax Error: Invalid Date/Time value. Hour = 24 -- greater than 23
Stefan Gofferje
gradsusers at GOFFERJE.HOMELINUX.ORG
Mon Feb 11 13:58:54 EST 2008
Wesley Ebisuzaki schrieb:
> Try adding the word, static, to the makefile .. see below.
>
> wgrib2: $h ${all}
> ${CC} -o wgrib2 -static ${CFLAGS} ${all} ${LDFLAGS}
Unfortunately, compiling fails if you just add -static:
gcc -o wgrib2 -static -I ../g2clib-1.0.5 -I ../netcdf-3.6.2/libsrc -O2
-Wall -funroll-loops -DUSE_REGEX -DUSE_NETCDF -DUSE_TIGGE Alias.o
CodeTable.o Code_Values.o Data.o Dump.o Ensemble.o File.o FlagTable.o
Flush.o Grads.o Grib.o Help.o Inv.o Latlon.o Level.o Lola.o Macro.o
Match.o Misc.o Netcdf.o Range.o Scan.o Sec0.o Sec1.o Sec3.o Sec4.o
Sec5.o Sec6.o Sec_len.o Tigge.o Undefine.o VerfTime.o addtime.o cname.o
earth.o fatal_error.o flt2ieee.o fnlist.o geo.o gribtab.o ieee2flt.o
int8.o intpower.o missing.o rd_grib2_msg.o seekgrib2.o wgrib2.o
wrt_grib.o wrtieee.o -L ../g2clib-1.0.5 -lgrib2c -L/usr/lib -lpng -lz
-lm -L ../jasper-1.900.1/src/libjasper/.libs -ljasper -L
../netcdf-3.6.2/libsrc/.libs -lnetcdf
../jasper-1.900.1/src/libjasper/.libs/libjasper.a(jas_stream.o): In
function `jas_stream_tmpfile':
/usr/src/grib2/jasper-1.900.1/src/libjasper/base/jas_stream.c:368:
warning: the use of `tmpnam' is dangerous, better use `mkstemp'
../jasper-1.900.1/src/libjasper/.libs/libjasper.a(jas_cm.o): In function
`jas_cmshapmatlut_lookup':
/usr/src/grib2/jasper-1.900.1/src/libjasper/base/jas_cm.c:926: undefined
reference to `ceil'
collect2: ld returned 1 exit status
make: *** [wgrib2] Error 1
root at k-tanco:/usr/src/grib2/wgrib2>
--Stefan
More information about the gradsusr
mailing list