[Gdal-dev] compilation problems on Slackware machine [update]

Dylan Beaudette dylan at iici.no-ip.org
Mon Mar 14 19:45:26 EST 2005


Hi,

Just grabbed the GDAL 1.2.6 source, and tried compiling it on this Slack 
machine that was having problems with 1.2.5...

here are the details;

1. compiler flags:
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"

2. configure options:
./configure --prefix=/usr --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

3. Errors returned from 'make'
-------------------------------------
[...]
g++     -c -o thinplatespline.o thinplatespline.cpp
thinplatespline.cpp: In member function `int VizGeorefSpline2D::solve()':
thinplatespline.cpp:214: `FLT_MIN' undeclared (first use this function)
thinplatespline.cpp:214: (Each undeclared identifier is reported only once for
   each function it appears in.)
thinplatespline.cpp:214: `FLT_MAX' undeclared (first use this function)
make[1]: *** [thinplatespline.o] Error 1
make[1]: Leaving directory `/home/dylan/src/gdal-1.2.6/alg'
make: *** [core-target] Error 2
-------------------------------------

Any ideas...

Thanks in advance!

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



More information about the Gdal-dev mailing list