You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Foreman, Tyler V" <ty...@intel.com> on 2001/03/13 02:53:49 UTC

Trouble Building Xalan Samples

Hi,

I am trying to re-build one of the Xalan sample apps on my Windows 2000
machine running VC6 with SP3 installed.  The linker runs into some problems
and produces the followin errors:

--------------------Configuration: SimpleTransform - Win32
Debug--------------------
Linking...
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall XSLTInit::~XSLTInit(void)"
(__imp_??1XSLTInit@@QAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
XalanSourceTreeDOMSupport::~XalanSourceTreeDOMSupport(void)"
(__imp_??1XalanSourceTreeDOMSupport@@UAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
XalanSourceTreeParserLiaison::~XalanSourceTreeParserLiaison(void)"
(__imp_??1XalanSourceTreeParserLiaison@@UAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
XSLTProcessorEnvSupportDefault::~XSLTProcessorEnvSupportDefault(void)"
(__imp_??1XSLTProcessorEnvSupportDefault@@UAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
XObjectFactoryDefault::~XObjectFactoryDefault(void)"
(__imp_??1XObjectFactoryDefault@@UAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
XPathFactoryDefault::~XPathFactoryDefault(void)"
(__imp_??1XPathFactoryDefault@@UAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
XSLTEngineImpl::~XSLTEngineImpl(void)" (__imp_??1XSLTEngineImpl@@UAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
StylesheetConstructionContextDefault::~StylesheetConstructionContextDefault(
void)" (__imp_??1StylesheetConstructionContextDefault@@UAE@
XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
StylesheetExecutionContextDefault::~StylesheetExecutionContextDefault(void)"
(__imp_??1StylesheetExecutionContextDefault@@UAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
XSLTInputSource::~XSLTInputSource(void)" (__imp_??1XSLTInputSource@@UAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XalanDOMString::~XalanDOMString(void)" (__imp_??1XalanDOMString@@QAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XSLTResultTarget::~XSLTResultTarget(void)"
(__imp_??1XSLTResultTarget@@QAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual void __thiscall
XSLTEngineImpl::process(class XSLTInputSource const &,class XSLTInputSource
const &,class XSLTResultTarget &,class StylesheetConst
ructionContext &,class StylesheetExecutionContext &)"
(__imp_?process@XSLTEngineImpl@@UAEXABVXSLTInputSource@@0AAVXSLTResultTarget
@@AAVStylesheetConstructionContext@@AAVStylesheetExecutionContext@@@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XSLTResultTarget::XSLTResultTarget(class XalanDOMString const &)"
(__imp_??0XSLTResultTarget@@QAE@ABVXalanDOMString@@@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XSLTInputSource::XSLTInputSource(unsigned short const *)"
(__imp_??0XSLTInputSource@@QAE@PBG@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XalanDOMString::XalanDOMString(char const *,unsigned int)"
(__imp_??0XalanDOMString@@QAE@PBDI@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
StylesheetExecutionContextDefault::StylesheetExecutionContextDefault(class
XSLTEngineImpl &,class XPathEnvSupport &,class DOMSupport &,class XO
bjectFactory &,class XalanNode *,class NodeRefListBase const *,class
PrefixResolver const *)"
(__imp_??0StylesheetExecutionContextDefault@@QAE@AAVXSLTEngineImpl@@AAVXPath
EnvSupport@@AAVDOMSupport@@AAVXObjectFactory@@PAVXalanNode@@PBVNodeRefListBa
se@
@PBVPrefixResolver@@@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
StylesheetConstructionContextDefault::StylesheetConstructionContextDefault(c
lass XSLTEngineImpl &,class XPathEnvSupport &,class XPathFactory &)
"
(__imp_??0StylesheetConstructionContextDefault@@QAE@AAVXSLTEngineImpl@@AAVXP
athEnvSupport@@AAVXPathFactory@@@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
XSLTProcessorEnvSupportDefault::setProcessor(class XSLTProcessor *)"
(__imp_?setProcessor@XSLTProcessorEnvSupportDefault@@QAEXPAVXSLTProce
ssor@@@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XSLTEngineImpl::XSLTEngineImpl(class XMLParserLiaison &,class
XPathEnvSupport &,class DOMSupport &,class XObjectFactory &,class
XPathFactory &)
"
(__imp_??0XSLTEngineImpl@@QAE@AAVXMLParserLiaison@@AAVXPathEnvSupport@@AAVDO
MSupport@@AAVXObjectFactory@@AAVXPathFactory@@@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XPathFactoryDefault::XPathFactoryDefault(void)"
(__imp_??0XPathFactoryDefault@@QAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XObjectFactoryDefault::XObjectFactoryDefault(unsigned int,unsigned
int,unsigned int,unsigned int)" (__imp_??0XObjectFactoryDefault@@QAE@IIII@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XSLTProcessorEnvSupportDefault::XSLTProcessorEnvSupportDefault(class
XSLTProcessor *)" (__imp_??0XSLTProcessorEnvSupportDefault@@QAE@PAVXSLTPro
cessor@@@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
XalanSourceTreeDOMSupport::setParserLiaison(class
XalanSourceTreeParserLiaison *)"
(__imp_?setParserLiaison@XalanSourceTreeDOMSupport@@QAE
XPAVXalanSourceTreeParserLiaison@@@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XalanSourceTreeParserLiaison::XalanSourceTreeParserLiaison(class
XalanSourceTreeDOMSupport &)"
(__imp_??0XalanSourceTreeParserLiaison@@QAE@AAVX
alanSourceTreeDOMSupport@@@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XalanSourceTreeDOMSupport::XalanSourceTreeDOMSupport(void)"
(__imp_??0XalanSourceTreeDOMSupport@@QAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall XSLTInit::XSLTInit(void)"
(__imp_??0XSLTInit@@QAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: unsigned short const * __thiscall
XalanDOMString::c_str(void)const " (__imp_?c_str@XalanDOMString@@QBEPBGXZ)
..\..\Build\Win32\VC6\Debug/SimpleTransform.exe : fatal error LNK1120: 28
unresolved externals
Error executing link.exe.

SimpleTransform.exe - 29 error(s), 0 warning(s)



I am not very savvy with VisualC++, so any help you can offer in solving
this problem would be great.

Thanks alot,

Tyler Foreman


RE: Trouble Building Xalan Samples

Posted by Christian Aberger <Ch...@Aberger.at>.
Hi,

try to add the following files to the project.

wfR ChrisA

-----Original Message-----
From: Foreman, Tyler V [mailto:tyler.v.foreman@intel.com]
Sent: Dienstag, 13. März 2001 02:54
To: 'xalan-dev@xml.apache.org'
Subject: Trouble Building Xalan Samples


Hi,

I am trying to re-build one of the Xalan sample apps on my Windows 2000
machine running VC6 with SP3 installed.  The linker runs into some problems
and produces the followin errors:

--------------------Configuration: SimpleTransform - Win32
Debug--------------------
Linking...
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall XSLTInit::~XSLTInit(void)"
(__imp_??1XSLTInit@@QAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
XalanSourceTreeDOMSupport::~XalanSourceTreeDOMSupport(void)"
(__imp_??1XalanSourceTreeDOMSupport@@UAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
XalanSourceTreeParserLiaison::~XalanSourceTreeParserLiaison(void)"
(__imp_??1XalanSourceTreeParserLiaison@@UAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
XSLTProcessorEnvSupportDefault::~XSLTProcessorEnvSupportDefault(void)"
(__imp_??1XSLTProcessorEnvSupportDefault@@UAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
XObjectFactoryDefault::~XObjectFactoryDefault(void)"
(__imp_??1XObjectFactoryDefault@@UAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
XPathFactoryDefault::~XPathFactoryDefault(void)"
(__imp_??1XPathFactoryDefault@@UAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
XSLTEngineImpl::~XSLTEngineImpl(void)" (__imp_??1XSLTEngineImpl@@UAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
StylesheetConstructionContextDefault::~StylesheetConstructionContextDefault(
void)" (__imp_??1StylesheetConstructionContextDefault@@UAE@
XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
StylesheetExecutionContextDefault::~StylesheetExecutionContextDefault(void)"
(__imp_??1StylesheetExecutionContextDefault@@UAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
XSLTInputSource::~XSLTInputSource(void)" (__imp_??1XSLTInputSource@@UAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XalanDOMString::~XalanDOMString(void)" (__imp_??1XalanDOMString@@QAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XSLTResultTarget::~XSLTResultTarget(void)"
(__imp_??1XSLTResultTarget@@QAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual void __thiscall
XSLTEngineImpl::process(class XSLTInputSource const &,class XSLTInputSource
const &,class XSLTResultTarget &,class StylesheetConst
ructionContext &,class StylesheetExecutionContext &)"
(__imp_?process@XSLTEngineImpl@@UAEXABVXSLTInputSource@@0AAVXSLTResultTarget
@@AAVStylesheetConstructionContext@@AAVStylesheetExecutionContext@@@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XSLTResultTarget::XSLTResultTarget(class XalanDOMString const &)"
(__imp_??0XSLTResultTarget@@QAE@ABVXalanDOMString@@@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XSLTInputSource::XSLTInputSource(unsigned short const *)"
(__imp_??0XSLTInputSource@@QAE@PBG@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XalanDOMString::XalanDOMString(char const *,unsigned int)"
(__imp_??0XalanDOMString@@QAE@PBDI@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
StylesheetExecutionContextDefault::StylesheetExecutionContextDefault(class
XSLTEngineImpl &,class XPathEnvSupport &,class DOMSupport &,class XO
bjectFactory &,class XalanNode *,class NodeRefListBase const *,class
PrefixResolver const *)"
(__imp_??0StylesheetExecutionContextDefault@@QAE@AAVXSLTEngineImpl@@AAVXPath
EnvSupport@@AAVDOMSupport@@AAVXObjectFactory@@PAVXalanNode@@PBVNodeRefListBa
se@
@PBVPrefixResolver@@@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
StylesheetConstructionContextDefault::StylesheetConstructionContextDefault(c
lass XSLTEngineImpl &,class XPathEnvSupport &,class XPathFactory &)
"
(__imp_??0StylesheetConstructionContextDefault@@QAE@AAVXSLTEngineImpl@@AAVXP
athEnvSupport@@AAVXPathFactory@@@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
XSLTProcessorEnvSupportDefault::setProcessor(class XSLTProcessor *)"
(__imp_?setProcessor@XSLTProcessorEnvSupportDefault@@QAEXPAVXSLTProce
ssor@@@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XSLTEngineImpl::XSLTEngineImpl(class XMLParserLiaison &,class
XPathEnvSupport &,class DOMSupport &,class XObjectFactory &,class
XPathFactory &)
"
(__imp_??0XSLTEngineImpl@@QAE@AAVXMLParserLiaison@@AAVXPathEnvSupport@@AAVDO
MSupport@@AAVXObjectFactory@@AAVXPathFactory@@@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XPathFactoryDefault::XPathFactoryDefault(void)"
(__imp_??0XPathFactoryDefault@@QAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XObjectFactoryDefault::XObjectFactoryDefault(unsigned int,unsigned
int,unsigned int,unsigned int)" (__imp_??0XObjectFactoryDefault@@QAE@IIII@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XSLTProcessorEnvSupportDefault::XSLTProcessorEnvSupportDefault(class
XSLTProcessor *)" (__imp_??0XSLTProcessorEnvSupportDefault@@QAE@PAVXSLTPro
cessor@@@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
XalanSourceTreeDOMSupport::setParserLiaison(class
XalanSourceTreeParserLiaison *)"
(__imp_?setParserLiaison@XalanSourceTreeDOMSupport@@QAE
XPAVXalanSourceTreeParserLiaison@@@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XalanSourceTreeParserLiaison::XalanSourceTreeParserLiaison(class
XalanSourceTreeDOMSupport &)"
(__imp_??0XalanSourceTreeParserLiaison@@QAE@AAVX
alanSourceTreeDOMSupport@@@Z)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
XalanSourceTreeDOMSupport::XalanSourceTreeDOMSupport(void)"
(__imp_??0XalanSourceTreeDOMSupport@@QAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall XSLTInit::XSLTInit(void)"
(__imp_??0XSLTInit@@QAE@XZ)
SimpleTransform.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: unsigned short const * __thiscall
XalanDOMString::c_str(void)const " (__imp_?c_str@XalanDOMString@@QBEPBGXZ)
..\..\Build\Win32\VC6\Debug/SimpleTransform.exe : fatal error LNK1120: 28
unresolved externals
Error executing link.exe.

SimpleTransform.exe - 29 error(s), 0 warning(s)



I am not very savvy with VisualC++, so any help you can offer in solving
this problem would be great.

Thanks alot,

Tyler Foreman