<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Tahoma size=2><BR></FONT><FONT face=Arial
color=#0000ff size=2><FONT size=2>Hi,</DIV>
<DIV dir=ltr align=left>
<P>I'm trying to recompile mapserver 4.0 with OGR support (on Windows XP with
VC7).</P>
<P>Without the gdal support, it's everything ok but adding the gdal support
introduces a lot of problem during the recompilation of mapserver.</P>
<P>When I run the makefile.vc of mapserver, it gives me the following errors for
gdal 1.1.9:</P>
<P>cpl.lib(cpl_error.obj) : error LNK2019: unresolved external symbol
__imp___vsnpr intf referenced in function _CPLDebug</P>
<P>cpl.lib(cpl_string.obj) : error LNK2019: unresolved external symbol
__imp___vsnp rintf referenced in function _CSLSave</P>
<P>cpl.lib(cpl_vsisimple.obj) : error LNK2019: unresolved external symbol
__imp__fp uts referenced in function _VSIFPuts</P>
<P>cpl.lib(cpl_vsisimple.obj) : error LNK2019: unresolved external symbol
__imp__mk dir referenced in function _VSIMkdir</P>
<P>OLDNAMES.lib(mkdir.obi) : error LNK2001: unresolved external symbol
__imp__mkdir</P>
<P>cpl.lib(cpl_vsisimple.obj) : error LNK2019: unresolved external symbol
__imp__rm dir referenced in function _VSIRmdir</P>
<P>OLDNAMES.lib(rmdir.obi) : error LNK2001: unresolved external symbol
__imp__rmdir</P>
<P>cpl.lib(cpl_string.obj) : error LNK2019: unresolved external symbol
__imp__strer ror referenced in function _CSLSave</P>
<P>cpl.lib(cpl_string.obj) : error LNK2019: unresolved external symbol
__imp___errn o referenced in function _CSLSave</P>
<P>cpl.lib(cpl_dir.obj) : error LNK2019: unresolved external symbol
__imp___findclo se referenced in function _CPLReadDir</P>
<P>cpl.lib(cpl_dir.obj) : error LNK2019: unresolved external symbol
__imp___findnex t referenced in function _CPLReadDir</P>
<P>cpl.lib(cpl_dir.obj) : error LNK2019: unresolved external symbol
__imp___findfir st referenced in function _CPLReadDir</P>
<P>OLDNAMES.lib(mkdir.obi) : error LNK2001: unresolved external symbol
__imp___mkdi r</P>
<P>OLDNAMES.lib(rmdir.obi) : error LNK2001: unresolved external symbol
__imp___rmdi r mapserv.exe : fatal error LNK1120: 11 unresolved externals NMAKE
: fatal error U1077: 'link' : return code '0x460'</P>
<P>Stop.</P>
<P>Does someone know if there is a better version for compiling with VC7 ?</P>
<P>Thanks.</P>
<P>Yvain Ballini.</P></FONT></FONT></DIV></BODY></HTML>