[Gdal-dev] compile problems re: GIF on RHEL 5/64-bit platform
John Cartwright
John.C.Cartwright at noaa.gov
Tue Jul 10 15:10:04 EDT 2007
Hello All,
I'm trying to compile 1.4.2 on a RHEL 5 platform. I configured using
"--with-gif=internal", but during the compilation process I'm stopped by:
...
gcc -c -I/extra/contrib/src/gdal-1.4.2/port
-I/extra/contrib/src/gdal-1.4.2/gcore
-I/extra/contrib/src/gdal-1.4.2/alg -I/extra/contrib/src/gdal-1.4.2/ogr
-I/extra/contrib/src/gdal-1.4.2/ogr/ogrsf_frmts -DOGR_ENABLED
-Df2cFortran -D_POSIX_SOURCE -I/extra/contrib/src/gdal-1.4.2/port
-I/extra/contrib/netcdf-3.6.2 -I/extra/contrib/netcdf-3.6.2/include
-Ilibungif -Wall -O2 libungif/egif_lib.c -fPIC -DPIC
-o../o/.libs/egif_lib.o
libungif/egif_lib.c: In function 'EGifOpenFileName':
libungif/egif_lib.c:79: error: 'S_IREAD' undeclared (first use in this
function)
libungif/egif_lib.c:79: error: (Each undeclared identifier is reported
only once
libungif/egif_lib.c:79: error: for each function it appears in.)
libungif/egif_lib.c:79: error: 'S_IWRITE' undeclared (first use in this
function)
libungif/egif_lib.c: In function 'EGifPutScreenDesc':
libungif/egif_lib.c:217: warning: pointer targets in passing argument 2
of '(GifFile->Private)->Write' differ in signedness
libungif/egif_lib.c: In function 'EGifPutWord':
libungif/egif_lib.c:551: warning: pointer targets in passing argument 2
of '(GifFile->Private)->Write' differ in signedness
libungif/egif_lib.c: In function 'EGifSpew':
libungif/egif_lib.c:815: warning: pointer targets in passing argument 2
of 'EGifPutLine' differ in signedness
make[2]: *** [../o/egif_lib.o] Error 1
make[2]: Leaving directory `/extra/contrib/src/gdal-1.4.2/frmts/gif'
make[1]: *** [gif-install-obj] Error 2
make[1]: Leaving directory `/extra/contrib/src/gdal-1.4.2/frmts'
make: *** [frmts-target] Error 2
Can anyone suggest what I might be doing wrong here?
Thanks!
-- john
More information about the Gdal-dev
mailing list