<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [Gdal-dev] Link errors with Ilwis in MS dotnet
SDK</title></head><body>
<div>Jacob,</div>
<div><br></div>
<div>You can disable the ilwis driver by editing the makefile.vc in
the frmts directory and removing the -DFRMT_ilwis variable in the
EXTRAFLAGS line.</div>
<div><br></div>
<div>Howard</div>
<div><br></div>
<div><br></div>
<div>At 1:04 PM +1000 4/14/05, Delfos, Jacob wrote:</div>
<blockquote type="cite" cite><font face="Arial" size="-1">Hi
List,</font><br>
</blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1">When trying
to compile using the CVS version of April 13, I get some errors about
"ilwiscoordinatesystem.obj". I have tried to remove it from
the makefile.vc, which results in it compiling at least to the stage
of the DLL (which is all I need).</font><br>
</blockquote>
<blockquote type="cite" cite><font face="Arial"
size="-1">Unfortunately, the DLL doesn't quite seem to work, because
php_mapscript_44 won't load. When using "depends.exe", I get
this error:</font><br>
</blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#FF0000"><b>Error: At least one module has an unresolved import
due to a missing export function in an implicitly dependent
module.</b></font><br>
<font face="Arial" size="-1">It shows gdal12.dll in red, although
running "depends" on gdal12.dll itself gives no
errors.</font><br>
</blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1">Can anyone
tell me whether "Ilwis" is essential, or what else the
problem could be? Using the same platform, I previously compiled a
working DLL (gdal125).</font><br>
</blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1">The link
errors I get if I keep Ilwis included are:</font><br>
</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite><font face="Courier New"
size="-1">msvcprt.lib(msvcp71imp.obj) : error LNK2005: "class
std::basic_istream<char,struct std::char_traits<char> > &
__cdecl st</font><br>
</blockquote>
<blockquote type="cite" cite><font face="Courier New"
size="-1">d::operator>><char,struct
std::char_traits<char>,class std::allocator<char>
>(class std::basic_istream<char,struct std::</font><br>
</blockquote>
<blockquote type="cite" cite><font face="Courier New"
size="-1">char_traits<char> > &,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > &)" (??$?5</font><br>
</blockquote>
<blockquote type="cite" cite><font face="Courier New"
size="-1"
>DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YAAAV?$basic_istream@D<span
></span>U?$char_traits@D@std@@@0@AAV10@AAV?$basic_string@DU?</font><br
>
</blockquote>
<blockquote type="cite" cite><font face="Courier New"
size="-1">$char_traits@D@std@@V?$allocator@D@2@@0@@Z) already defined
in ilwiscoordinatesystem.obj</font><br>
</blockquote>
<blockquote type="cite" cite><font face="Arial"
size="-1">[...]</font><br>
</blockquote>
<blockquote type="cite" cite><font face="Courier New"
size="-1">msvcprt.lib(msvcp71imp.obj) : warning LNK4006: "class
std::basic_istream<unsigned short,struct
std::char_traits<unsigned</font><br>
</blockquote>
<blockquote type="cite" cite><font face="Courier New"
size="-1"> short> > & __cdecl std::getline<unsigned
short,struct std::char_traits<unsigned short>,class
std::allocator<unsigned sh</font><br>
</blockquote>
<blockquote type="cite" cite><font face="Courier New" size="-1">ort>
>(class std::basic_istream<unsigned short,struct
std::char_traits<unsigned short> > &,class
std::basic_string<unsig</font><br>
</blockquote>
<blockquote type="cite" cite><font face="Courier New" size="-1">ned
short,struct std::char_traits<unsigned short>,class
std::allocator<unsigned short> > &,unsigned short)"
(??$getline@</font><br>
</blockquote>
<blockquote type="cite" cite><font face="Courier New"
size="-1"
>GU?$char_traits@G@std@@V?$allocator@G@2@@std@@YAAAV?$basic_istream@G<span
></span>U?$char_traits@G@std@@@0@AAV10@AAV?$basic_string@GU?</font><br
>
</blockquote>
<blockquote type="cite" cite><font face="Courier New"
size="-1">$char_traits@G@std@@V?$allocator@G@2@@0@G@Z) already defined
in ilwiscoordinatesystem.obj; second definition ignored</font><br>
<font face="Courier New" size="-1"> Creating library
gdal_i.lib and object gdal_i.exp</font><br>
<font face="Courier New" size="-1">MSVCRT.lib(cinitexe.obj) : warning
LNK4098: defaultlib 'libc.lib' conflicts with use of other libs; use
/NODEFAULTLIB:li</font><br>
</blockquote>
<blockquote type="cite" cite><font face="Courier New"
size="-1">brary</font><br>
<font face="Courier New" size="-1">gdal12.dll : fatal error LNK1169:
one or more multiply defined symbols found</font><br>
<font face="Courier New" size="-1">NMAKE : fatal error U1077: 'link' :
return code '0x491'</font><br>
</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite><font face="Arial"
size="-1">Regards,</font><br>
</blockquote>
<blockquote type="cite" cite><font face="Arial"
size="-1">Jacob</font><br>
</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite><font face="Arial"
color="#009500"><b>J<font size="-2">ACOB</font> D<font
size="-2">ELFOS<br>
</font>S<font size="-2">PATIAL</font> I<font
size="-2">NFORMATION</font> A<font
size="-2">NALYST</font></b></font><b><br>
</b><font face="Arial" size="-1" color="#000000">Maunsell Australia
Pty Ltd<br>
629 Newcastle Street, WA 6007</font><br>
<font face="Arial" size="-1" color="#4E4E4E">PO Box 81, WA
6902</font><br>
<font face="Arial" size="-1" color="#000000">Leederville</font><br>
<font face="Arial" size="-1" color="#000000">Western
Australia</font><br>
<font face="Arial" size="-1" color="#000000">ABN 20 093 846 925<br>
<br>
Tel + 61 8 9281 6185<br>
Fax + 61 8 9281 6297<br>
</font><font face="Arial" size="-1"
color="#009C21"><u>jacob.delfos@maunsell.com</u></font><br>
</blockquote>
<blockquote type="cite" cite><br>
_______________________________________________<br>
Gdal-dev mailing list<br>
Gdal-dev@xserve.flids.com<br>
http://xserve.flids.com/mailman/listinfo/gdal-dev</blockquote>
<div><br></div>
</body>
</html>