[geos-devel] Re: [GEOS] #534: Cross compile trunk for android

GEOS geos-trac at osgeo.org
Thu May 3 07:22:49 EDT 2012


#534: Cross compile trunk for android
--------------------------+-------------------------------------------------
 Reporter:  mbernasocchi  |       Owner:  geos-devel@…              
     Type:  defect        |      Status:  new                       
 Priority:  major         |   Milestone:  3.3.4                     
Component:  Default       |     Version:  svn-trunk                 
 Severity:  Significant   |    Keywords:  android                   
--------------------------+-------------------------------------------------

Comment(by mbernasocchi):

 and this is the last part of the make check:


 /bin/bash ../../libtool --tag=CXX   --mode=compile arm-linux-
 androideabi-g++ -DHAVE_CONFIG_H -I. -I../../../src/geom -I../../include
 -I../../include/geos -I../../../include    -DGEOS_INLINE  -pedantic -Wall
 -ansi -Wno-long-long  -ffloat-store -DANDROID=ON -Wno-psabi -O2 -mthumb
 -std=gnu++0x  -MT LineSegment.lo -MD -MP -MF .deps/LineSegment.Tpo -c -o
 LineSegment.lo ../../../src/geom/LineSegment.cpp
 libtool: compile:  arm-linux-androideabi-g++ -DHAVE_CONFIG_H -I.
 -I../../../src/geom -I../../include -I../../include/geos
 -I../../../include -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long
 -ffloat-store -DANDROID=ON -Wno-psabi -O2 -mthumb -std=gnu++0x -MT
 LineSegment.lo -MD -MP -MF .deps/LineSegment.Tpo -c
 ../../../src/geom/LineSegment.cpp  -fPIC -DPIC -o .libs/LineSegment.o
 In file included from ../../../include/geos/geom/Coordinate.h:19,
                  from ../../../include/geos/geom/LineSegment.h:25,
                  from ../../../src/geom/LineSegment.cpp:21:
 ../../include/geos/platform.h:71:5: warning: #warning is a GCC extension
 ../../include/geos/platform.h:71:5: warning: #warning "Could not find
 64bit integer definition!"
 In file included from ../../../include/geos/geom/Coordinate.h:160,
                  from ../../../include/geos/geom/LineSegment.h:25,
                  from ../../../src/geom/LineSegment.cpp:21:
 ../../../include/geos/geom/Coordinate.inl: In static member function
 'static int geos::geom::Coordinate::hashCode(double)':
 ../../../include/geos/geom/Coordinate.inl:108: warning: right shift count
 >= width of type
 In file included from ../../../src/geom/LineSegment.cpp:25:
 ../../../include/geos/geom/GeometryFactory.h: At global scope:
 ../../../include/geos/geom/GeometryFactory.h:209: warning: 'auto_ptr' is
 deprecated (declared at
 /home/marco/dev/necessitas/android-9-standalonetoolchain/bin/../lib/gcc
 /arm-linux-androideabi/4.4.3/../../../../arm-linux-
 androideabi/include/c++/4.4.3/backward/auto_ptr.h:86)
 ../../../include/geos/geom/GeometryFactory.h:209: warning: 'auto_ptr' is
 deprecated (declared at
 /home/marco/dev/necessitas/android-9-standalonetoolchain/bin/../lib/gcc
 /arm-linux-androideabi/4.4.3/../../../../arm-linux-
 androideabi/include/c++/4.4.3/backward/auto_ptr.h:86)
 ../../../include/geos/geom/GeometryFactory.h:258: warning: 'auto_ptr' is
 deprecated (declared at
 /home/marco/dev/necessitas/android-9-standalonetoolchain/bin/../lib/gcc
 /arm-linux-androideabi/4.4.3/../../../../arm-linux-
 androideabi/include/c++/4.4.3/backward/auto_ptr.h:86)
 ../../../include/geos/geom/GeometryFactory.h:258: warning: 'auto_ptr' is
 deprecated (declared at
 /home/marco/dev/necessitas/android-9-standalonetoolchain/bin/../lib/gcc
 /arm-linux-androideabi/4.4.3/../../../../arm-linux-
 androideabi/include/c++/4.4.3/backward/auto_ptr.h:86)
 ../../../include/geos/geom/GeometryFactory.h:306: warning: 'auto_ptr' is
 deprecated (declared at
 /home/marco/dev/necessitas/android-9-standalonetoolchain/bin/../lib/gcc
 /arm-linux-androideabi/4.4.3/../../../../arm-linux-
 androideabi/include/c++/4.4.3/backward/auto_ptr.h:86)
 libtool: compile:  arm-linux-androideabi-g++ -DHAVE_CONFIG_H -I.
 -I../../../src/geom -I../../include -I../../include/geos
 -I../../../include -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long
 -ffloat-store -DANDROID=ON -Wno-psabi -O2 -mthumb -std=gnu++0x -MT
 LineSegment.lo -MD -MP -MF .deps/LineSegment.Tpo -c
 ../../../src/geom/LineSegment.cpp -o LineSegment.o >/dev/null 2>&1
 mv -f .deps/LineSegment.Tpo .deps/LineSegment.Plo
 /bin/bash ../../libtool --tag=CXX   --mode=compile arm-linux-
 androideabi-g++ -DHAVE_CONFIG_H -I. -I../../../src/geom -I../../include
 -I../../include/geos -I../../../include    -DGEOS_INLINE  -pedantic -Wall
 -ansi -Wno-long-long  -ffloat-store -DANDROID=ON -Wno-psabi -O2 -mthumb
 -std=gnu++0x  -MT LineString.lo -MD -MP -MF .deps/LineString.Tpo -c -o
 LineString.lo ../../../src/geom/LineString.cpp
 libtool: compile:  arm-linux-androideabi-g++ -DHAVE_CONFIG_H -I.
 -I../../../src/geom -I../../include -I../../include/geos
 -I../../../include -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long
 -ffloat-store -DANDROID=ON -Wno-psabi -O2 -mthumb -std=gnu++0x -MT
 LineString.lo -MD -MP -MF .deps/LineString.Tpo -c
 ../../../src/geom/LineString.cpp  -fPIC -DPIC -o .libs/LineString.o
 In file included from ../../../include/geos/geom/Coordinate.h:19,
                  from ../../../src/geom/LineString.cpp:23:
 ../../include/geos/platform.h:71:5: warning: #warning is a GCC extension
 ../../include/geos/platform.h:71:5: warning: #warning "Could not find
 64bit integer definition!"
 In file included from ../../../include/geos/geom/Coordinate.h:160,
                  from ../../../src/geom/LineString.cpp:23:
 ../../../include/geos/geom/Coordinate.inl: In static member function
 'static int geos::geom::Coordinate::hashCode(double)':
 ../../../include/geos/geom/Coordinate.inl:108: warning: right shift count
 >= width of type
 In file included from ../../../src/geom/LineString.cpp:31:
 ../../../include/geos/geom/GeometryFactory.h: At global scope:
 ../../../include/geos/geom/GeometryFactory.h:209: warning: 'auto_ptr' is
 deprecated (declared at
 /home/marco/dev/necessitas/android-9-standalonetoolchain/bin/../lib/gcc
 /arm-linux-androideabi/4.4.3/../../../../arm-linux-
 androideabi/include/c++/4.4.3/backward/auto_ptr.h:86)
 ../../../include/geos/geom/GeometryFactory.h:258: warning: 'auto_ptr' is
 deprecated (declared at
 /home/marco/dev/necessitas/android-9-standalonetoolchain/bin/../lib/gcc
 /arm-linux-androideabi/4.4.3/../../../../arm-linux-
 androideabi/include/c++/4.4.3/backward/auto_ptr.h:86)
 ../../../include/geos/geom/GeometryFactory.h:306: warning: 'auto_ptr' is
 deprecated (declared at
 /home/marco/dev/necessitas/android-9-standalonetoolchain/bin/../lib/gcc
 /arm-linux-androideabi/4.4.3/../../../../arm-linux-
 androideabi/include/c++/4.4.3/backward/auto_ptr.h:86)
 In file included from ../../../src/geom/LineString.cpp:33:
 ../../../include/geos/geom/Point.h:167: warning: 'auto_ptr' is deprecated
 (declared at
 /home/marco/dev/necessitas/android-9-standalonetoolchain/bin/../lib/gcc
 /arm-linux-androideabi/4.4.3/../../../../arm-linux-
 androideabi/include/c++/4.4.3/backward/auto_ptr.h:86)
 ../../../src/geom/LineString.cpp:96: warning: 'auto_ptr' is deprecated
 (declared at
 /home/marco/dev/necessitas/android-9-standalonetoolchain/bin/../lib/gcc
 /arm-linux-androideabi/4.4.3/../../../../arm-linux-
 androideabi/include/c++/4.4.3/backward/auto_ptr.h:86)
 ../../../src/geom/LineString.cpp: In member function 'virtual
 std::auto_ptr<geos::geom::Envelope>
 geos::geom::LineString::computeEnvelopeInternal() const':
 ../../../src/geom/LineString.cpp:250: internal compiler error:
 Segmentation fault
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See <http://gcc.gnu.org/bugs.html> for instructions.
 make[3]: *** [LineString.lo] Error 1
 make[3]: Leaving directory `/home/marco/dev/qgis-android/src/geos-svn
 /build-armeabi/src/geom'
 make[2]: *** [check-recursive] Error 1
 make[2]: Leaving directory `/home/marco/dev/qgis-android/src/geos-svn
 /build-armeabi/src/geom'
 make[1]: *** [check-recursive] Error 1
 make[1]: Leaving directory `/home/marco/dev/qgis-android/src/geos-svn
 /build-armeabi/src'
 make: *** [check-recursive] Error 1

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/534#comment:2>
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