<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:12pt"><DIV>Mark,</DIV>
<DIV> </DIV>
<DIV>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: <A href="http://lists.refractions.net/pipermail/geos-devel/2007-January/002766.html">http://lists.refractions.net/pipermail/geos-devel/2007-January/002766.html</A></DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>Many thanks for your help & I'll report back later</DIV>
<DIV><BR>Regards</DIV>
<DIV> </DIV>
<DIV>Stephen Knox<BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><BR>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> GEOS Development List <geos-devel@lists.osgeo.org><BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> S Knox <roxyknox@yahoo.co.uk><BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Sunday, 26 October, 2008 21:25:25<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [geos-devel] Fw: 3.0?<BR></FONT><BR>On Thu, 2008-10-23 at 08:53 +0000, S Knox wrote:<BR>> I seem to have the issue below when building Geos 3.0.2 with Cygwin.<BR>> Is there a solution to this problem of double inclusion, or do I need<BR>> to install an older version <BR>> of Geos (I am reluctant to do this as I have a recent version of GCC,<BR>> which requires a <BR>> recent version of the source code to build).<BR>> <BR>> Many thanks for your help - sorry I can't work this out for
myself but<BR>> only just starting to build<BR>> things myself!<BR>> <BR>> Regards<BR>> <BR>> Stephen<BR><BR><BR>Hi Stephen,<BR><BR>This is exactly the same problem experienced on MingW with the<BR>DLL_EXPORT stubs causing the inlines to be defined twice at link time.<BR>There is already a fix for this in the current source code for MingW, so<BR>in theory all we have to do is expand the check to suppress the<BR>duplicates when compiling with cygwin GCC as well as MingW.<BR><BR>Please try the attached patch to see if will allow you to compile on<BR>cygwin - I've confirmed that the changes still allow GEOS to compile on<BR>MingW without any problems.<BR><BR><BR>HTH,<BR><BR>Mark.<BR><BR></DIV></DIV></div><br>
</body></html>