[gdal-dev] Build error on trunk
Kralidis,Tom [Burlington]
Tom.Kralidis at ec.gc.ca
Fri Mar 14 07:34:17 EDT 2008
Hi,
Building in fc7, with:
./configure --with-png --with-libtiff=internal --with-geotiff=internal
--with-jpeg --with-xerces --with-geos=no
--with-pg=/usr/local/pgsql/bin/pg_config
--with-mysql=/usr/bin/mysql_config --with-sqlite
--with-curl=/usr/bin/curl-config --with-python --with-expat --with-perl
...gives me:
....
/bin/sh /home/tkralidi/foss4g/gdal/trunk/gdal/libtool --mode=compile
--tag=CC gcc -c -I../../port -g -O2 -Wall -Wdeclaration-after-statement
-DOGR_ENABLED -I/home/tkralidi/foss4g/gdal/trunk/gdal/port
-DZIP_SUPPORT -DPIXARLOG_SUPPORT -I../../zlib -DJPEG_SUPPORT
-DOJPEG_SUPPORT tif_dirread.c -o ../../o/tif_dirread.o
libtool: compile: gcc -c -I../../port -g -O2 -Wall
-Wdeclaration-after-statement -DOGR_ENABLED
-I/home/tkralidi/foss4g/gdal/trunk/gdal/port -DZIP_SUPPORT
-DPIXARLOG_SUPPORT -I../../zlib -DJPEG_SUPPORT -DOJPEG_SUPPORT
tif_dirread.c -fPIC -DPIC -o ../../o/.libs/tif_dirread.o
tif_dirread.c: In function 'TIFFReadDirEntryArray':
tif_dirread.c:746: warning: dereferencing type-punned pointer will break
strict-aliasing rules
tif_dirread.c: In function 'TIFFReadDirEntryCheckedShort':
tif_dirread.c:2733: warning: dereferencing type-punned pointer will
break strict-aliasing rules
tif_dirread.c: In function 'TIFFReadDirEntryCheckedSshort':
tif_dirread.c:2740: warning: dereferencing type-punned pointer will
break strict-aliasing rules
tif_dirread.c: In function 'TIFFReadDirEntryCheckedLong':
tif_dirread.c:2747: warning: dereferencing type-punned pointer will
break strict-aliasing rules
tif_dirread.c: In function 'TIFFReadDirEntryCheckedSlong':
tif_dirread.c:2754: warning: dereferencing type-punned pointer will
break strict-aliasing rules
tif_dirread.c: In function 'TIFFReadDirEntryCheckedLong8':
tif_dirread.c:2765: warning: dereferencing type-punned pointer will
break strict-aliasing rules
tif_dirread.c: In function 'TIFFReadDirEntryCheckedSlong8':
tif_dirread.c:2785: warning: dereferencing type-punned pointer will
break strict-aliasing rules
tif_dirread.c: In function 'TIFFReadDirEntryCheckedRational':
tif_dirread.c:2809: warning: dereferencing type-punned pointer will
break strict-aliasing rules
tif_dirread.c:2817: warning: dereferencing type-punned pointer will
break strict-aliasing rules
tif_dirread.c: In function 'TIFFReadDirEntryCheckedSrational':
tif_dirread.c:2838: warning: dereferencing type-punned pointer will
break strict-aliasing rules
tif_dirread.c:2846: warning: dereferencing type-punned pointer will
break strict-aliasing rules
tif_dirread.c: In function 'TIFFReadDirEntryCheckedFloat':
tif_dirread.c:2860: warning: dereferencing type-punned pointer will
break strict-aliasing rules
tif_dirread.c: In function 'TIFFReadDirEntryCheckedDouble':
tif_dirread.c:2873: warning: dereferencing type-punned pointer will
break strict-aliasing rules
tif_dirread.c: In function 'TIFFReadDirectory':
tif_dirread.c:3884: error: 'TIFF_DIRTYSTRIP' undeclared (first use in
this function)
tif_dirread.c:3884: error: (Each undeclared identifier is reported only
once
tif_dirread.c:3884: error: for each function it appears in.)
tif_dirread.c: In function 'TIFFFetchDirectory':
tif_dirread.c:4493: warning: dereferencing type-punned pointer will
break strict-aliasing rules
tif_dirread.c: In function 'TIFFFetchSubjectDistance':
tif_dirread.c:5221: warning: dereferencing type-punned pointer will
break strict-aliasing rules
tif_dirread.c:5228: warning: dereferencing type-punned pointer will
break strict-aliasing rules
make[3]: *** [../../o/tif_dirread.o] Error 1
make[3]: Leaving directory
`/home/tkralidi/foss4g/gdal/trunk/gdal/frmts/gtiff/libtiff'
make[2]: *** [lib-tiff] Error 2
make[2]: Leaving directory
`/home/tkralidi/foss4g/gdal/trunk/gdal/frmts/gtiff'
make[1]: *** [gtiff-install-obj] Error 2
make[1]: Leaving directory `/home/tkralidi/foss4g/gdal/trunk/gdal/frmts'
make: *** [frmts-target] Error 2
More information about the gdal-dev
mailing list