[Gdal-dev] compile error GDAL 1.3.0

Dylan Beaudette dylan at iici.no-ip.org
Wed Oct 5 18:11:14 EDT 2005


Hi -

I have compiled GDAL numerous times on Debian without incident.

Compiling on a new machine running Rox with the configure options:
export CFLAGS="-march=athlon -mcpu=athlon"
export CXXFLAGS="-march=athlon -mcpu=athlon"
./configure --with-png=internal --with-jpeg=internal \
--with-gif=internal --with-libtiff=internal \
--with-geotiff=internal --with-libz=internal\
--without-pg --without-ogdi --with-python \
--with-threads=yes

I get the error:
--------------
gcore/gdal_misc.cpp:1308: error: `OGRSpatialReference' undeclared (first use
   this function)
gcore/gdal_misc.cpp:1308: error: (Each undeclared identifier is reported only
   once for each function it appears in.)
gcore/gdal_misc.cpp:1308: error: syntax error before `,' token
gcore/gdal_misc.cpp:1311: error: `oSRS' undeclared (first use this function)
gcore/gdal_misc.cpp:1312: error: `oSRSGeogCS' undeclared (first use this
   function)
----------------

any ideas ? 

thanks!

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341



More information about the Gdal-dev mailing list