[geos-devel] [GEOS] #645: Linux 32-bit compile errors with GEOS 3.4.0 release

GEOS geos-trac at osgeo.org
Sat Aug 10 22:58:52 PDT 2013


#645: Linux 32-bit compile errors with GEOS 3.4.0 release
------------------------+---------------------------------------------------
 Reporter:  mwtoews     |       Owner:  geos-devel@…              
     Type:  defect      |      Status:  new                       
 Priority:  major       |   Milestone:                            
Component:  Default     |     Version:  3.4.0                     
 Severity:  Unassigned  |    Keywords:                            
------------------------+---------------------------------------------------
 Testing with both Debian squeeze (with g++ 4.4.5) and Ubuntu 13.04 (with
 g++ 4.7.3) yield similar errors. Here are the commands to raise the error:

 {{{
 sudo apt-get install build-essential
 wget http://download.osgeo.org/geos/geos-3.4.0.tar.bz2
 tar xfj geos-3.4.0.tar.bz2
 cd geos-3.4.0
 ./configure
 make
 }}}

 Here is an excerpt of the output
 {{{
 Making all in locate
 make[4]: Entering directory
 `/home/mwtoews/geos-3.4.0/src/algorithm/locate'
 make[5]: Entering directory
 `/home/mwtoews/geos-3.4.0/src/algorithm/locate'
 /bin/bash ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
 -I. -I../../../include -I../../../include/geos -I../../../include
 -DGEOS_INLINE  -pedantic -Wall -ansi -Wno-long-long  -ffloat-store -g -O2
 -MT IndexedPointInAreaLocator.lo -MD -MP -MF
 .deps/IndexedPointInAreaLocator.Tpo -c -o IndexedPointInAreaLocator.lo
 IndexedPointInAreaLocator.cpp
 libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../include
 -I../../../include/geos -I../../../include -DGEOS_INLINE -pedantic -Wall
 -ansi -Wno-long-long -ffloat-store -g -O2 -MT IndexedPointInAreaLocator.lo
 -MD -MP -MF .deps/IndexedPointInAreaLocator.Tpo -c
 IndexedPointInAreaLocator.cpp  -fPIC -DPIC -o
 .libs/IndexedPointInAreaLocator.o
 In file included from ../../../include/geos/geom/Geometry.h:25:0,
                  from IndexedPointInAreaLocator.cpp:17:
 ../../../include/geos/platform.h:71:5: warning: #warning is a GCC
 extension [enabled by default]
 ../../../include/geos/platform.h:71:5: warning: #warning "Could not find
 64bit integer definition!" [-Wcpp]
 ../../../include/geos/platform.h:110:2: error: #error "Can not compile
 without isnan function or macro"
 In file included from ../../../include/geos/geom/Coordinate.h:158:0,
                  from ../../../include/geos/geom/Envelope.h:25,
                  from ../../../include/geos/geom/Geometry.h:27,
                  from IndexedPointInAreaLocator.cpp:17:
 ../../../include/geos/geom/Coordinate.inl: In member function 'bool
 geos::geom::Coordinate::isNull() const':
 ../../../include/geos/geom/Coordinate.inl:38:17: error: 'ISNAN' was not
 declared in this scope
 ../../../include/geos/geom/Coordinate.inl: In member function 'bool
 geos::geom::Coordinate::equals3D(const geos::geom::Coordinate&) const':
 ../../../include/geos/geom/Coordinate.inl:77:28: error: 'ISNAN' was not
 declared in this scope
 ../../../include/geos/geom/Coordinate.inl: In static member function
 'static int geos::geom::Coordinate::hashCode(double)':
 ../../../include/geos/geom/Coordinate.inl:103:21: warning: right shift
 count >= width of type [enabled by default]
 make[5]: *** [IndexedPointInAreaLocator.lo] Error 1
 make[5]: Leaving directory `/home/mwtoews/geos-3.4.0/src/algorithm/locate'
 make[4]: *** [all-recursive] Error 1
 make[4]: Leaving directory `/home/mwtoews/geos-3.4.0/src/algorithm/locate'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/home/mwtoews/geos-3.4.0/src/algorithm'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/home/mwtoews/geos-3.4.0/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/mwtoews/geos-3.4.0'
 make: *** [all] Error 2
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/645>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list