[gdal-dev] latest svn trunk build error
Kralidis,Tom [Burlington]
Tom.Kralidis at ec.gc.ca
Wed Jan 9 07:40:06 EST 2008
Hi,
On FC6, using:
$ ./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
...
make[2]: Entering directory
`/home/tkralidi/foss4g/gdal/trunk/gdal/frmts/sgi'
/bin/sh /home/tkralidi/foss4g/gdal/trunk/gdal/libtool --mode=compile
--tag=CXX g++ -g -O2 -Wall
-I/home/tkralidi/foss4g/gdal/trunk/gdal/port
-I/home/tkralidi/foss4g/gdal/trunk/gdal/gcore
-I/home/tkralidi/foss4g/gdal/trunk/gdal/alg
-I/home/tkralidi/foss4g/gdal/trunk/gdal/ogr
-I/home/tkralidi/foss4g/gdal/trunk/gdal/ogr/ogrsf_frmts -DOGR_ENABLED
-I/home/tkralidi/foss4g/gdal/trunk/gdal/port -c -o ../o/sgidataset.o
sgidataset.cpp
libtool: compile: g++ -g -O2 -Wall
-I/home/tkralidi/foss4g/gdal/trunk/gdal/port
-I/home/tkralidi/foss4g/gdal/trunk/gdal/gcore
-I/home/tkralidi/foss4g/gdal/trunk/gdal/alg
-I/home/tkralidi/foss4g/gdal/trunk/gdal/ogr
-I/home/tkralidi/foss4g/gdal/trunk/gdal/ogr/ogrsf_frmts -DOGR_ENABLED
-I/home/tkralidi/foss4g/gdal/trunk/gdal/port -c sgidataset.cpp -fPIC
-DPIC -o ../o/.libs/sgidataset.o
sgidataset.cpp: In member function 'virtual CPLErr
SGIRasterBand::IReadBlock(int, int, void*)':
sgidataset.cpp:267: error: 'g' was not declared in this scope
sgidataset.cpp:271: error: expected `;' before 'ImageGetRow'
sgidataset.cpp:259: warning: unused variable 'poGDS'
sgidataset.cpp: At global scope:
sgidataset.cpp:120: warning: 'void ImageGetRow(ImageRec*, unsigned
char*, int, int)' defined but not used
make[2]: *** [../o/sgidataset.o] Error 1
make[2]: Leaving directory
`/home/tkralidi/foss4g/gdal/trunk/gdal/frmts/sgi'
make[1]: *** [sgi-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