Opened 12 years ago

Closed 12 years ago

#555 closed defect (fixed)

Build error multiple definition of `tut::test_capigeoscontains_group'

Reported by: dburken Owned by: mloskot
Priority: major Milestone: 3.4.0
Component: Unit Tests Version: main
Severity: Unassigned Keywords: build error
Cc:

Description

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");

Change History (3)

comment:1 by strk, 12 years ago

Component: DefaultUnit Tests
Owner: changed from geos-devel@… to mloskot

The test was disabled with automake, which is why this didn't come out.

Mateusz: if you only touch cmake and I only touch automake we'll never have a fully working build system...

comment:2 by strk, 12 years ago

Milestone: 3.3.53.4.0
Version: 3.3.4svn-trunk

it was in trunk, right ?

comment:3 by strk, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in r3665

Note: See TracTickets for help on using tickets.