[gdal-dev] get fmrt grib

Frank Warmerdam warmerdam at pobox.com
Wed Oct 15 11:02:14 EDT 2008


Limei Ran wrote:
> 
> Hi Frank:
> 
> I got gdal-svn-trunk-2008.10.14.tar.gz.  When I compiled it on Linux 
> server 32bits I got the following errors:
> 
> ================================
> gt_overview.cpp: In function `toff_t GTIFFWriteDirectory(TIFF*, int, 
> int, int, int, int, int, int, int, int, int, int, int, short unsigned 
> int*, short unsigned int*, short unsigned int*, int, short unsigned 
> int*, const char*)':
> gt_overview.cpp:75: error: `TIFFFreeDirectory' was not declared in this 
> scope
> gt_overview.cpp:75: warning: unused variable 'TIFFFreeDirectory'
> make[2]: *** [../o/gt_overview.o] Error 1
> make[2]: Leaving directory 
> `/nas/uncch/depts/cep/emc/lran/mims/mimssp_10_2007/src/libs/gdal-svn-trunk-2008.10.14/frmts/gtiff' 
> 
> make[1]: *** [gtiff-install-obj] Error 2
> make[1]: Leaving directory 
> `/nas/uncch/depts/cep/emc/lran/mims/mimssp_10_2007/src/libs/gdal-svn-trunk-2008.10.14/frmts' 
> 
> make: *** [frmts-target] Error 2
> =================================

Limei,

I have checked, and TIFFFreeDirectory() has existed in libtiff since 2003 so
I find it hard to imagine you have a libtiff so old it lacks this function.
But, try configuring with the option "--with-libtiff=internal" and see if that
helps.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list