[geos-devel] Fw: 3.0?

S Knox roxyknox at yahoo.co.uk
Wed Oct 29 05:43:21 EDT 2008


Mark,

Sorry for the late reply, but a personal issue came up, so haven't had a lot of time recently. After some searching, I found the following post, and followed the instructions within to see if it would compile: http://lists.refractions.net/pipermail/geos-devel/2007-January/002766.html

After changing the headers as suggested in the patch, it seemed to compile OK. Unfortunately I can't test the new patch right now, but should be able to in about 10 hours or so when I get home.

Many thanks for your help & I'll report back later

Regards

Stephen Knox




________________________________
From: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
To: GEOS Development List <geos-devel at lists.osgeo.org>
Cc: S Knox <roxyknox at yahoo.co.uk>
Sent: Sunday, 26 October, 2008 21:25:25
Subject: Re: [geos-devel] Fw: 3.0?

On Thu, 2008-10-23 at 08:53 +0000, S Knox wrote:
> I seem to have the issue below when building Geos 3.0.2 with Cygwin.
> Is there a solution to this problem of double inclusion, or do I need
> to install an older version 
> of Geos (I am reluctant to do this as I have a recent version of GCC,
> which requires a 
> recent version of the source code to build).
> 
> Many thanks for your help - sorry I can't work this out for myself but
> only just starting to build
> things myself!
> 
> Regards
> 
> Stephen


Hi Stephen,

This is exactly the same problem experienced on MingW with the
DLL_EXPORT stubs causing the inlines to be defined twice at link time.
There is already a fix for this in the current source code for MingW, so
in theory all we have to do is expand the check to suppress the
duplicates when compiling with cygwin GCC as well as MingW.

Please try the attached patch to see if will allow you to compile on
cygwin - I've confirmed that the changes still allow GEOS to compile on
MingW without any problems.


HTH,

Mark.


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geos-devel/attachments/20081029/e3ab1fa9/attachment.html


More information about the geos-devel mailing list