[geos-devel] [GEOS] #555: Build error multiple definition of `tut::test_capigeoscontains_group'

GEOS geos-trac at osgeo.org
Wed Jun 6 06:33:27 PDT 2012


#555: Build error multiple definition of `tut::test_capigeoscontains_group'
------------------------+---------------------------------------------------
 Reporter:  dburken     |       Owner:  geos-devel@…              
     Type:  defect      |      Status:  new                       
 Priority:  major       |   Milestone:  3.3.5                     
Component:  Default     |     Version:  3.3.4                     
 Severity:  Unassigned  |    Keywords:  build error               
------------------------+---------------------------------------------------
 On Fedora 17 gcc version 4.7.0 getting build error:

 {{{
 CMakeFiles/geos_unit.dir/capi/GEOSConvexHullTest.cpp.o:(.bss+0x0):
 multiple definition of `tut::test_capigeoscontains_group'
 CMakeFiles/geos_unit.dir/capi/GEOSContainsTest.cpp.o:(.bss+0x0):
 first defined here
 }}}

 Commenting out line 56 of tests/unit/capi/GEOSContainsTest.cpp fixes but
 I'm not sure of the imapact.

 {{{
  // group test_capigeoscontains_group("capi::GEOSContains");
 }}}

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