Ticket #167 (closed defect: fixed)

Opened 6 years ago

Last modified 4 years ago

Building failure with gcc 4.3

Reported by: frankie Owned by: mloskot
Priority: major Milestone:
Component: Core Version: 2.2.3
Severity: Unassigned Keywords:
Cc:

Change History

Changed 6 years ago by mloskot

Just for records, the error is:

x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers -I../../source/headers/geos -I../../source/headers -DGEOS_VERSION=2.2.3 -g -O2 -MT Geometry.lo -MD -MP -MF .deps/Geometry.Tpo -c Geometry.cpp  -fPIC -DPIC -o .libs/Geometry.o
In file included from Geometry.cpp:29:
../../source/headers/geos/version.h:9:1: error: "GEOS_VERSION" redefined

I confirm the problem is with double definitions of GEOS_VERSION, in following files:

  • trunk\source\headers\geos\version.h
  • trunk\capi\geos_c.h

Changed 5 years ago by mloskot

  • owner set to mloskot
  • status changed from new to assigned
  • milestone set to 3.0.1

Fixed the GEOS_VERSION redefinition error in trunk (r2141 and r2142)

Changed 5 years ago by mloskot

  • status changed from assigned to closed
  • resolution set to fixed
  • component changed from Build/Install to Core
  • milestone changed from 3.0.1 to 3.1

Fixed in trunk (r2143).

I've successfully built GEOS on Debian Lenny with GCC 4.3, so I'm closing it.

Changed 5 years ago by dylan

Any idea when a new release of GEOS will be available that contains this fix? I can confirm that 3.0.0 will not compile on GCC 4.3

Changed 5 years ago by mloskot

Dylan,

I have no idea. Better ask on the  geos-devel list.

Changed 4 years ago by anonymous

  • milestone 3.1.0 deleted

Milestone 3.1.0 deleted

Note: See TracTickets for help on using tickets.