[geos-devel] [GEOS] #552: can't make check under mingw64

GEOS geos-trac at osgeo.org
Wed May 30 04:13:04 PDT 2012


#552: can't make check under mingw64
------------------------+---------------------------------------------------
 Reporter:  robe        |       Owner:  geos-devel@…              
     Type:  defect      |      Status:  new                       
 Priority:  major       |   Milestone:  3.4.0                     
Component:  Default     |     Version:  svn-trunk                 
 Severity:  Unassigned  |    Keywords:                            
------------------------+---------------------------------------------------
 I'm running mingw64 gcc 4.5.4

 The libraries build, but when going to make check the XMLTester fails
 compilation with this error I truncated the log a bit so not all lines are
 there


 {{{
 /bin/sh ../../libtool --tag=CXX   --mode=link x86_64-w64-mingw32-g++  -g
 -O2   -o XMLTester.exe XMLTester-XMLTester.o XMLTester-tinyxml.o
 XMLTester-tinystr.o XMLTester-tinyxmlerror.o XMLTester-tinyxmlparser.o
 XMLTester-BufferResultMatcher.o
  XMLTester-SingleSidedBufferResultMatcher.o ../../src/libgeos.la
 ../../src/libgeos.lalibtool: link: x86_64-w64-mingw32-g++ -g -O2 -o
 .libs/XMLTester.exe XMLTester-XMLTester.o XMLTester-tinyxml.o XMLTester-
 tinystr.o XMLTester-tinyxmlerror.o XMLTester-tinyxmlparser.o XMLTester-
 BufferResultMatcher.o XMLTester-SingleSidedBufferResultMatcher.o
 ../../src/.libs/libgeos.dll.a
 -L/c/ming64/projects/geos/rel-3.4.0SVNw64/lib
 XMLTester-XMLTester.o: In function
 `std::auto_ptr<geos::geom::PrecisionModel>::reset(geos::geom::PrecisionModel*)':
 c:/ming64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../../x86_64-w64-mingw32/include/c++/4.5.4/backward/auto_ptr.h:242:
 undefined reference to `geos::geom::PrecisionModel::~PrecisionModel()'
 c:/ming64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../../x86_64-w64-mingw32/include/c++/4.5.4/backward/auto_ptr.h:242:
 undefined reference to `geos::geom::PrecisionModel::~PrecisionModel()'
 :
 XMLTester-XMLTester.o: In function
 `~WKBReader':c:\ming64\projects\geos\branches\trunk\tests\xmltester/../../include/geos/io/WKBReader.h:79:
 undefined reference to
 `geos::io::ByteOrderDataInStream::~ByteOrderDataInStream()'
 XMLTester-XMLTester.o: In function `~auto_ptr':
 c:/ming64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../../x86_64-w64-mingw32/include/c++/4.5.4/backward/auto_ptr.h:168:
 undefined reference to `geos::io::WKTReader::~WKTReader()'
 XMLTester-XMLTester.o: In function `XMLTester::parseRun(TiXmlNode
 const*)':c:\ming64\projects\geos\branches\trunk\tests\xmltester/XMLTester.cpp:434:
 undefi
 ned reference to
 `geos::io::WKTReader::WKTReader(geos::geom::GeometryFactory const*)'
 XMLTester-XMLTester.o: In function
 `std::auto_ptr<geos::io::WKTReader>::reset(geos::io::WKTReader*)':
 c:/ming64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../../x86_64-w64-mingw32/include/c++/4.5.4/backward/auto_ptr.h:242:
 undefined reference to `geos::io::WKTReader::~WKTReader()'
 :
 XMLTester-XMLTester.o: In function
 `TopologyException':c:\ming64\projects\geos\branches\trunk\tests\xmltester/../../include/geos/util/TopologyException.h:39:
 undefined reference to `geos::geom::Coordinate::Coordinate(double, double,
 double)'
 XMLTester-XMLTester.o: In function `~auto_ptr':
 c:/ming64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../../x86_64-w64-mingw32/include/c++/4.5.4/backward/auto_ptr.h:168:
 undefined reference to `geos::geom::PrecisionModel::~PrecisionModel()'
 c:/ming64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../../x86_64-w64-mingw32/include/c++/4.5.4/backward/auto_ptr.h:168:
 undefined reference to `geos::io::WKTReader::~WKTReader()'
 XMLTester-XMLTester.o: In function
 `~WKBReader':c:\ming64\projects\geos\branches\trunk\tests\xmltester/../../include/geos/io/WKBReader.h:79:
 undefined reference to
 `geos::io::ByteOrderDataInStream::~ByteOrderDataInStream()'
 XMLTester-BufferResultMatcher.o: In function
 `PointPairDistance':c:\ming64\projects\geos\branches\trunk\tests\xmltester/../../include/geos/algorithm/distance/PointPairDistance.h:45:
 undefined reference to `geos::geom::Coordinate::Coordinate(double, double,
 double)'
 XMLTester-BufferResultMatcher.o: In function
 `TopologyException':c:\ming64\projects\geos\branches\trunk\tests\xmltester/../../include/geos/util/TopologyException.h:39:
 undefined reference to `geos::geom::Coordinate::Coordinate(double, double,
 double)'
 XMLTester-SingleSidedBufferResultMatcher.o: In function
 `PointPairDistance':c:\ming64\projects\geos\branches\trunk\tests\xmltester/../../include/geos/algorithm/distance/PointPairDistance.h:45:
 undefined reference to `geos::geom::Coordinate::Coordinate(double, double,
 double)'
 collect2: ld returned 1 exit status
 make[3]: *** [XMLTester.exe] Error 1
 make[3]: Leaving directory
 `/c/ming64/projects/geos/branches/trunk/tests/xmltester'
 make[2]: *** [check-recursive] Error 1
 make[2]: Leaving directory `/c/ming64/projects/geos/branches/trunk/tests'
 make[1]: *** [check-recursive] Error 1
 make[1]: Leaving directory `/c/ming64/projects/geos/branches/trunk'
 make: *** [check] Error 2
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/552>
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