Win32 linking problems after 5.3.1 upgrade

Platform: WinNT4, MSVC 5, libwww 5.3.1

I'm getting a linking error after an upgrade to 5.3.1.  The previous
version was a CVS checkout from September 4 1999, using the Amaya tag.

I'm not doing a normal Win32 build.  I'm building the entire libwww as 
a single DLL (ideally it should only contain the stuff I need, but
I've never gotten round to stripping it down).

When building the DLL I'm getting missing symbols, most of them about
_WWW_TraceFlag (but also some about _inflateInit_, _inflate, and
_inflateEnd.  They are all related to decompressing.  I'll look into
them later).

A quick grep tells me that WWW_TraceFlag is a PUBLIC unsigned int in
HTTrace.c.  As far as I can tell HTTrace.c have been compiled.

I've made a .def file in the Library/src/windows/ directory, using the
command: 
perl ../../../config/makedefs.pl -headerEXPORTS -d.. @metistp_www.files >metistp_www.def

This command gives this output when run.  I have no idea what it
means:
	assuming global: PUBLIC FILE *WWWTrace = NULL;
	assuming global: PUBLIC unsigned int WWW_TraceFlag = 0;         /* Global trace flag for ALL W3 code */

No definitions for WWW_TraceFlag are made.  I'm not sure if they need
to be made inside of the DLL, either...?

I'm attaching the link command and the error messages at the end.  All 
hints and indeas are appreciated!

Thanx!


- Steinar

Link command follows:
        link /NOLOGO -BASE:@e:\home\sb\2x\bin\bases.txt,metistp_www -def:windows
\metistp_www.def -nodefaultlib:libc /SUBSYSTEM:console /DLL /OUT:e:\home\sb\2x\b
in\metistp_www.dll @D:\TEMP\nma01402.
   Creating library e:\home\sb\2x\bin\metistp_www.lib and object e:\home\sb\2x\b
in\metistp_www.exp
SGML.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTWriter.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTXML.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTXParse.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTZip.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTUTree.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTUser.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTWSRC.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTWWWStr.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTTee.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTTelnet.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTTimer.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTTrans.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTTPReq.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTTPRes.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTTPServ.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTTeXGen.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTTCP.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTTChunk.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTTP.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTTPGen.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTRules.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTSChunk.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTSocket.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTStyle.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTRDF.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTReader.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTReqMan.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTResponse.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTPEP.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTParse.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTProt.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTProxy.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTNet.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTNews.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTNewsLs.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTNewsRq.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTMulti.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTMuxCh.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTMuxTx.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTNDir.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTMLGen.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTMemLog.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTMemory.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTMerge.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTMIME.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTMIMERq.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTMIMImp.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTML.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTLink.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTList.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTLocal.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTLog.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTHost.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTIcons.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTInet.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTLib.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTFormat.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTGopher.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTGuess.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTHome.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTFTPDir.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTFWrite.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTFile.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTFilter.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTEvent.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTEvtLst.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTFSave.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTFTP.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTDescpt.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTDir.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTError.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTEscape.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTConLen.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTCookie.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTDNS.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTDemux.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTBound.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTBufWrt.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTCache.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTChannl.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTAlert.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTAnchor.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTAssoc.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTBind.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTAABrow.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTAAUtil.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTANSI.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTAccess.obj : error LNK2001: unresolved external symbol _WWW_TraceFlag
HTZip.obj : error LNK2001: unresolved external symbol _inflateEnd@4
HTZip.obj : error LNK2001: unresolved external symbol _inflate@8
HTZip.obj : error LNK2001: unresolved external symbol _inflateInit_@12
e:\home\sb\2x\bin\metistp_www.dll : fatal error LNK1120: 4 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'D:\opt\mvs\Vc98\bin\nmake.exe' : return code '0x2'
Stop.

Received on Wednesday, 25 October 2000 04:14:39 UTC