- From: Glenn Serre <gaserre@spiresoftware.com>
- Date: Thu, 09 Sep 1999 17:33:53 -0700
- To: "www-lib@w3.org" <www-lib@w3.org>
Good afternoon again, Sorry for the extra bandwidth. A better patch is probably to add the PUBLIC macro to the appropriate places in HTString.c: bash-2.02$ cvs diff HTString.c Index: HTString.c =================================================================== RCS file: /sources/public/libwww/Library/src/HTString.c,v retrieving revision 2.45 diff -r2.45 HTString.c 87c87 < int tailcomp(const char * s1, const char * s2) --- > PUBLIC int tailcomp(const char * s1, const char * s2) 98c98 < int tailcasecomp(const char * s1, const char * s2) --- > PUBLIC int tailcasecomp(const char * s1, const char * s2) Thanks, --Glenn S. Glenn Serre wrote: > Good afternoon, > > When I build the windows (NT) version of libwww, I get the following link error: > > -------------------Configuration: wwwhttp - Win32 Debug-------------------- > Linking... > Creating library ..\..\..\Bin/wwwhttp.lib and object ..\..\..\Bin/wwwhttp.exp > HTCookie.obj : error LNK2001: unresolved external symbol _tailcasecomp > ..\..\..\Bin\Debug\wwwhttp.dll : fatal error LNK1120: 1 unresolved externals > Error executing link.exe. > > wwwhttp.dll - 2 error(s), 1 warning(s) > > Adding these two lines to the file Library/src/windows/wwwutils.def seems to fix the problem: > > tailcasecomp @ 811 > tailcomp @ 812 > > Thanks, > --Glenn S.
Received on Thursday, 9 September 1999 20:33:41 UTC