[Gdal-dev] gdal 1.3.1 install

Ryan Ollerenshaw ollerery at engr.orst.edu
Mon Sep 18 13:45:49 EDT 2006


I am trying to compile gdal on fedora core 5 but i keep running into 
problems, i am using the following configure command:

./configure  --with-png  --with-libtiff  --with-jpeg  --with-gif  
--with-geotiff=internal --with-pg=/usr/local/pgsql/bin/pg_config 
--with-geos --without-cfitsio

then during make i am getting the following error:

make[2]: Entering directory `/root/gdal-1.3.1/frmts/fit'
/bin/sh ../../libtool --mode=compile g++ -Wall  -O2   -I../../port 
-I../../gcore -I../../alg -I../../ogr -I../../ogr/ogrsf_frmts  
-I../../port  -c -o ../o/fitdataset.o fitdataset.cpp
 g++ -Wall -O2 -I../../port -I../../gcore -I../../alg -I../../ogr 
-I../../ogr/ogrsf_frmts -I../../port -c fitdataset.cpp  -fPIC -DPIC -o 
../o/.libs/fitdataset.o
fitdataset.cpp:177: error: extra qualification 'FITRasterBand::' on 
member 'FITRasterBand'
fitdataset.cpp: In static member function 'static GDALDataset* 
FITDataset::Open(GDALOpenInfo*)':
fitdataset.cpp:1019: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
make[2]: *** [../o/fitdataset.o] Error 1
make[2]: Leaving directory `/root/gdal-1.3.1/frmts/fit'
make[1]: *** [fit-install-obj] Error 2
make[1]: Leaving directory `/root/gdal-1.3.1/frmts'
make: *** [frmts-target] Error 2


any help would be great, thanks.



More information about the Gdal-dev mailing list