<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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV>Many thanks for your help &amp; I'll report back later</DIV>
<DIV><BR>Regards</DIV>
<DIV>&nbsp;</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 &lt;mark.cave-ayland@ilande.co.uk&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> GEOS Development List &lt;geos-devel@lists.osgeo.org&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> S Knox &lt;roxyknox@yahoo.co.uk&gt;<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>&gt; I seem to have the issue below when building Geos 3.0.2 with Cygwin.<BR>&gt; Is there a solution to this problem of double inclusion, or do I need<BR>&gt; to install an older version <BR>&gt; of Geos (I am reluctant to do this as I have a recent version of GCC,<BR>&gt; which requires a <BR>&gt; recent version of the source code to build).<BR>&gt; <BR>&gt; Many thanks for your help - sorry I can't work this out for
 myself but<BR>&gt; only just starting to build<BR>&gt; things myself!<BR>&gt; <BR>&gt; Regards<BR>&gt; <BR>&gt; 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>