<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">Sure.</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">Consider that in addition to the two problems you already fixed in&nbsp;1375, there is a new fix for 1.5.1 to apply due to the use of snprintf in shpopen.c that I fixed adding &nbsp;#include "cpl_port.h" to shapelib.h.</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"><BR>Regards,</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">Marcello<BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Tamas Szekeres &lt;szekerest@gmail.com&gt;<BR>To: marcello ferrero &lt;marcello_ferrero@yahoo.com&gt;<BR>Cc: gdal-dev@lists.osgeo.org<BR>Sent: Monday, March 31, 2008 11:05:15 PM<BR>Subject: Re: [gdal-dev] Compiling GDAL 1.5.1 for WinCE<BR><BR>Marcello,<BR><BR>For the SVN trunk I've already applied a fix just like this:<BR><A href="http://trac.osgeo.org/gdal/changeset/13775" target=_blank>http://trac.osgeo.org/gdal/changeset/13775</A><BR><BR>I guess it should be back ported to the 1.5 branch. Would you submit a<BR>ticket for this?<BR><BR>Best regards,<BR><BR>Tamas<BR><BR><BR>2008/3/31, marcello ferrero &lt;<A href="mailto:marcello_ferrero@yahoo.com" ymailto="mailto:marcello_ferrero@yahoo.com">marcello_ferrero@yahoo.com</A>&gt;:<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; Hi,<BR>&gt; I have the following unresolved external errors compiling
 gdal 1.5.1 for<BR>&gt; WinCE:<BR>&gt;<BR>&gt; ogrgeometry.obj : error LNK2019: unresolved external symbol<BR>&gt; OGR_G_ExportToKML referenced in function "public: virtual char * __cdecl<BR>&gt; OGRGeometry::exportToKML(void)const "<BR>&gt; ogrgeometry.obj : error LNK2019: unresolved external symbol<BR>&gt; OGR_G_ExportToJson referenced in function "public: virtual char * __cdecl<BR>&gt; OGRGeometry::exportToJson(void)const "<BR>&gt; dbfopen.obj : error LNK2019: unresolved external symbol SASetupDefaultHooks<BR>&gt; referenced in function DBFOpen<BR>&gt; shpopen.obj : error LNK2001: unresolved external symbol SASetupDefaultHooks<BR>&gt; shpopen.obj : error LNK2019: unresolved external symbol snprintf referenced<BR>&gt; in function SHPReadObject<BR>&gt;<BR>&gt;<BR>&gt; I solved the problems doing the following:<BR>&gt; a) change ogrgeometry.c and comment out the calls to OGR_G_ExportToKML&nbsp; and<BR>&gt; OGR_G_ExportToJson<BR>&gt; b) "Add Existing" to
 add shp_vsi.c to the Visual Studio project in<BR>&gt; org-&gt;ogr_frmts-&gt;shape. This resolves SASetupDefaultHooks<BR>&gt; c) add&nbsp; #include "cpl_port.h" to shapelib.h to resolve snprintf<BR>&gt;<BR>&gt; I don't know if this is the right approach, but now the library is correctly<BR>&gt; created<BR>&gt;<BR>&gt; Marcello Ferrero<BR>&gt;<BR>&gt;&nbsp; ________________________________<BR>&gt; Like movies? Here's a limited-time offer: Blockbuster Total Access for one<BR>&gt; month at no cost.<BR>&gt; _______________________________________________<BR>&gt;&nbsp; gdal-dev mailing list<BR>&gt;&nbsp; <A href="mailto:gdal-dev@lists.osgeo.org" ymailto="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</A><BR>&gt;&nbsp; <A href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target=_blank>http://lists.osgeo.org/mailman/listinfo/gdal-dev</A><BR>&gt;<BR></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"><BR></DIV></div><br>
      <hr size=1>Like movies? Here's a limited-time offer: <a href="http://us.rd.yahoo.com/evt=47522/*http://tc.deals.yahoo.com/tc/blockbuster/text4.com
">Blockbuster Total Access</a> for one month at no cost.</body></html>