id summary reporter owner description type status priority milestone component version severity resolution keywords cc 5519 error compiling with giflib 5.1.0 saultdon warmerdam "I can't get GDAL 1.11 to compile on linux after updating giflib to 5.1. If I downgrade to giflib 5.0.6 it will compile fine. {{{ $ uname -a Linux archdell 3.14.6-1-ARCH #1 SMP PREEMPT Sun Jun 8 10:08:38 CEST 2014 x86_64 GNU/Linux }}} Here are the errors I see: {{{ gifdataset.cpp: In static member function ‘static GDALDataset* GIFDataset::Open(GDALOpenInfo*)’: gifdataset.cpp:389:37: error: too few arguments to function ‘int DGifCloseFile(GifFileType*, int*)’ DGifCloseFile( hGifFile ); ^ In file included from gifabstractdataset.h:36:0, from gifdataset.cpp:33: /usr/include/gif_lib.h:183:9: note: declared here int DGifCloseFile(GifFileType * GifFile, int *ErrorCode); ^ gifdataset.cpp:395:29: error: too few arguments to function ‘int DGifCloseFile(GifFileType*, int*)’ DGifCloseFile( hGifFile ); ^ In file included from gifabstractdataset.h:36:0, from gifdataset.cpp:33: /usr/include/gif_lib.h:183:9: note: declared here int DGifCloseFile(GifFileType * GifFile, int *ErrorCode); ^ gifdataset.cpp:420:31: error: too few arguments to function ‘int DGifCloseFile(GifFileType*, int*)’ DGifCloseFile(hGifFile); ^ In file included from gifabstractdataset.h:36:0, from gifdataset.cpp:33: /usr/include/gif_lib.h:183:9: note: declared here int DGifCloseFile(GifFileType * GifFile, int *ErrorCode); ^ gifdataset.cpp: In static member function ‘static GDALDataset* GIFDataset::CreateCopy(const char*, GDALDataset*, int, char**, GDALProgressFunc, void*)’: gifdataset.cpp:652:31: error: too few arguments to function ‘int EGifCloseFile(GifFileType*, int*)’ EGifCloseFile(hGifFile); ^ In file included from gifabstractdataset.h:36:0, from gifdataset.cpp:33: /usr/include/gif_lib.h:132:5: note: declared here int EGifCloseFile(GifFileType *GifFile, int *ErrorCode); ^ gifdataset.cpp:676:31: error: too few arguments to function ‘int EGifCloseFile(GifFileType*, int*)’ EGifCloseFile(hGifFile); ^ In file included from gifabstractdataset.h:36:0, from gifdataset.cpp:33: /usr/include/gif_lib.h:132:5: note: declared here int EGifCloseFile(GifFileType *GifFile, int *ErrorCode); ^ gifdataset.cpp:759:31: error: too few arguments to function ‘int EGifCloseFile(GifFileType*, int*)’ if (EGifCloseFile(hGifFile) == GIF_ERROR) ^ In file included from gifabstractdataset.h:36:0, from gifdataset.cpp:33: /usr/include/gif_lib.h:132:5: note: declared here int EGifCloseFile(GifFileType *GifFile, int *ErrorCode); ^ gifdataset.cpp:810:31: error: too few arguments to function ‘int EGifCloseFile(GifFileType*, int*)’ EGifCloseFile(hGifFile); ^ In file included from gifabstractdataset.h:36:0, from gifdataset.cpp:33: /usr/include/gif_lib.h:132:5: note: declared here int EGifCloseFile(GifFileType *GifFile, int *ErrorCode); ^ ../../GDALmake.opt:562: recipe for target '../o/gifdataset.o' failed make[2]: *** [../o/gifdataset.o] Error 1 make[2]: Leaving directory '/home/saultdon/Development/aur/gdal-filegdb/src/gdal-1.11.0/frmts/gif' GNUmakefile:10: recipe for target 'gif-install-obj' failed make[1]: *** [gif-install-obj] Error 2 make[1]: Leaving directory '/home/saultdon/Development/aur/gdal-filegdb/src/gdal-1.11.0/frmts' GNUmakefile:63: recipe for target 'frmts-target' failed make: *** [frmts-target] Error 2 ==> ERROR: A failure occurred in build(). Aborting... }}}" defect closed normal 1.11.1 GDAL_Raster 1.11.0 normal fixed