[ expat-Bugs-414993 ] xmlfile.obj : error LNK2001: unresolved
noreply@sourceforge.net
noreply@sourceforge.net
Thu May 30 20:27:01 2002
Bugs item #414993, was opened at 2001-04-09 16:39
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=414993&group_id=10127
Category: Build control
Group: None
Status: Closed
Resolution: Invalid
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Greg Stein (gstein)
Summary: xmlfile.obj : error LNK2001: unresolved
Initial Comment:
I'm unable to resolve this problem. I don't which
file is missing for this error to show up. Here is a
sample of the error message. I am compiling with MS
VC++ 6.0. I am attempting to create the perl module
that incorporates expat. The Perl version is 5.005-3
from ActiveState.
Expat.obj : error LNK2001: unresolved external symbol
_XML_DefaultCurrent
Expat.obj : error LNK2001: unresolved external symbol
_XML_GetSpecifiedAttributeCount
Expat.obj : error LNK2001: unresolved external symbol
_XML_GetCurrentByteCount
Expat.obj : error LNK2001: unresolved external symbol
_XML_SetStartCdataSectionHandler
Expat.obj : error LNK2001: unresolved external symbol
_XML_SetEndCdataSectionHandler
..\blib\arch\auto\XML\Parser\Expat\Expat.dll : fatal
error LNK1120: 55 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
----------------------------------------------------------------------
>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-05-30 23:26
Message:
Logged In: YES
user_id=3066
This appears to be an instance of the DLL name clash "bug" (SF bug
#432456). This has been resolved by changing the name of the Expat
DLL from "expat.dll" to "libexpat.dll" in Expat 1.95.3.
----------------------------------------------------------------------
Comment By: Greg Stein (gstein)
Date: 2002-05-17 21:20
Message:
Logged In: YES
user_id=6501
This is a problem with the Perl wrappers, not Expat itself.
Closing as invalid.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2002-03-12 08:51
Message:
Logged In: NO
Hi,
I have a similar problem. I would like to run the outline.c
file that is given as an example with the expat
documentation. I include <expat.h> (I first had to add
expat.h to my library, and also xmlparse.h that is used in
the c-program)
With compiling, everything goes great,
(no problems), but to execute it, I receive the
following errors:
outline.obj : error LNK2001: unresolved external symbol
__imp__XML_GetCurrentLineNumber
outline.obj : error LNK2001: unresolved external symbol
__imp__XML_ErrorString
outline.obj : error LNK2001: unresolved external symbol
__imp__XML_GetErrorCode
outline.obj : error LNK2001: unresolved external symbol
__imp__XML_Parse
outline.obj : error LNK2001: unresolved external symbol
__imp__XML_SetElementHandler
outline.obj : error LNK2001: unresolved external symbol
__imp__XML_ParserCreate
Debug/outline.exe : fatal error LNK1120: 6 unresolved
externals
Error executing link.exe.
outline.exe - 7 error(s), 0 warning(s)
I have version 1.95.2
greetings and thanks for your help.
----------------------------------------------------------------------
Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-07-20 23:56
Message:
Logged In: YES
user_id=3066
Which version of expat was this using? 1.95.x, or the latest CVS sources?
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=414993&group_id=10127