[ expat-Bugs-487387 ] Link Error while in Expat.

"SourceForge.net" <[email protected]>
Newsgroups gmane.text.xml.expat.bugs
Message-ID <[email protected]>
Bugs item #487387, was opened at 2001-11-30 05:03
Message generated for change (Comment added) made by matt-beard
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=487387&group_id=10127

Category: Build control
Group: None
Status: Closed
Resolution: Duplicate
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Greg Stein (gstein)
Summary: Link Error while in Expat.

Initial Comment:
I am trying to install XML::Parser which uses Expat. I installes expat using 
expat_win32bin_1_95_2.exe. When I try to build XML::Parser, I get a few  errors(Error message 
given Below).

I am using Microsoft VC++ Version 6.0 to compile. Perl was built from Source(Version 5.6.1) and is 
not activestate perl.

What could be wrong?? 

Error Message:

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cl -c  -nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT 
-DPERL_MSVCRT_READFIX -O1 -MD -DNDEBUG    -DVERSION=\&quot;2.30\&quot;  -DXS_VERSION=\&quot;2.30\&quot;  
-ID:\perl\5.6.1\lib\MSWin32-x86Expat.c
&quot;Running Mkbootstrap for XML::Parser::Expat ()&quot;
        D:\perl\5.6.1\bin\MSWin32-x86\perl.exe -Id:\perl\5.6.1\lib\MSWin32-x86 -Id:\perl\5.6.1\lib 
-MExtUtils::Command -e chmod 644 Expat.bs
        link -out:..\blib\arch\auto\XML\Parser\Expat\Expat.dll -dll -nologo -nodefaultlib -release  
-libpath:&quot;d:\perl\5.6.1\lib\MSWin32-x86\CORE&quot;  -machine:x86 Expat.obj   D:\perl\5.6.1\li
~1\MICROS~3\VC98\lib\advapi32.lib C:\PROGRA~1\MICROS~3\VC98\lib\shell32.lib 
C:\PROGRA~1\MICROS~3\VC98\lib\ole32.lib C:\PROGRA~1\MICROS~3\VC98\lib\oleaut32.lib 
C:\PROGRA~1\MICROS~3\VC98\lib
32.lib C:\PROGRA~1\MICROS~3\VC98\lib\msvcrt.lib -def:Expat.def
   Creating library ..\blib\arch\auto\XML\Parser\Expat\Expat.lib and object 
..\blib\arch\auto\XML\Parser\Expat\Expat.exp
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_SetParamEntityParsing
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_SetUnknownEncodingHandler
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_SetElementHandler
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_SetUserData
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_SetNamespaceDeclHandler
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_ParserCreate_MM
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_SetExternalEntityRefHandler
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_SetNotationDeclHandler
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_SetUnparsedEntityDeclHandler
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_SetCdataSectionHandler
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_SetCommentHandler
Expat.obj : error LNK2001: unresolved external symbol 
__imp__XML_SetProcessingInstructionHandler
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_SetCharacterDataHandler
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_ParserFree
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_SetBase
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_GetBase
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_ExternalEntityParserCreate
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_GetCurrentLineNumber
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_GetCurrentColumnNumber
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_GetCurrentByteIndex
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_ErrorString
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_GetErrorCode
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_Parse
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_ParseBuffer
Expat.obj : error LNK2001: unresolved external symbol __imp__XML_GetBuffer

----------------------------------------------------------------------

Comment By: Matt Beard (matt-beard)
Date: 2004-12-29 12:47

Message:
Logged In: YES 
user_id=613688

Oops - please ignore my previous comment!!  Posted to the
wrong bug!!

----------------------------------------------------------------------

Comment By: Matt Beard (matt-beard)
Date: 2004-12-29 12:43

Message:
Logged In: YES 
user_id=613688

This is NOT a duplicate of bug #432456 - that bug is a
problem caused by different DLL versions ending up with the
same name. This bug is a problem when trying to link with a
STATIC LIBRARY - not at all related to DLL names.

----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-04-19 21:51

Message:
Logged In: YES 
user_id=3066

This appears to be a duplicate of bug #432456.  See the
comments in that report for more explanation.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=487387&group_id=10127
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.