[vbox-dev] Trying to compile on Windows XP

Josh Boyd joshua.d.boyd at gmail.com
Thu Oct 25 22:40:07 PDT 2007


Hello all,

 

I'm trying to compile on Windows XP 64bit, I have Visual Studio 2005.

 

I've gotten to this point:

 

kBuild: Linking VBoxXML

   Creating library
F:/virtualbox/out/win.x86/release/obj/src/VBox/Main/VBoxXML/

VBoxXML.lib and object
F:/virtualbox/out/win.x86/release/obj/src/VBox/Main/VBoxX

ML/VBoxXML.exp

cfgldr.obj : error LNK2019: unresolved external symbol "public: static class
xer

cesc_2_8::MemoryManager & __cdecl
xalanc_1_10::XalanMemMgrs::getDefaultXercesMem

Mgr(void)"
(?getDefaultXercesMemMgr at XalanMemMgrs@xalanc_1_10@@SAAAVMemoryManager

@xercesc_2_8@@XZ) referenced in function "public: static class
xercesc_2_8::Memo

ryManager & __cdecl xalanc_1_10::XalanMemMgrs::getDefault(void)"
(?getDefault at Xa

lanMemMgrs at xalanc_1_10@@SAAAVMemoryManager at xercesc_2_8@@XZ)

cfgldr.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu

blic: __thiscall
xercesc_2_8::LocalFileFormatTarget::LocalFileFormatTarget(unsig

ned short const * const,class xercesc_2_8::MemoryManager * const)"
(__imp_??0Loc

alFileFormatTarget at xercesc_2_8@@QAE at QBGQAVMemoryManager@1@@Z) referenced in
func

tion "public: int __thiscall CfgLoader::Save(char const *,unsigned int,char
* *)

" (?Save at CfgLoader@@QAEHPBDIPAPAD at Z)

cfgldr.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) pu

blic: static unsigned short const * const
xercesc_2_8::XMLUni::fgDOMWRTFormatPre

ttyPrint" (__imp_?fgDOMWRTFormatPrettyPrint at XMLUni@xercesc_2_8@@2QBGB)

cfgldr.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) pu

blic: static unsigned short const * const
xercesc_2_8::XMLUni::fgDOMWRTDiscardDe

faultContent"
(__imp_?fgDOMWRTDiscardDefaultContent at XMLUni@xercesc_2_8@@2QBGB)

cfgldr.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) pu

blic: static unsigned short const * const
xercesc_2_8::XMLUni::fgUTF8EncodingStr

ing" (__imp_?fgUTF8EncodingString at XMLUni@xercesc_2_8@@2QBGB)

cfgldr.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu

blic: static class xercesc_2_8::DOMImplementation * __cdecl
xercesc_2_8::DOMImpl

ementationRegistry::getDOMImplementation(unsigned short const *)"
(__imp_?getDOM

Implementation at DOMImplementationRegistry@xercesc_2_8@@SAPAVDOMImplementation
@2 at P

BG at Z) referenced in function "public: int __thiscall CfgLoader::Save(char
const

*,unsigned int,char * *)" (?Save at CfgLoader@@QAEHPBDIPAPAD at Z)

cfgldr.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu

blic: static void __cdecl xercesc_2_8::XMLString::release(unsigned short *
*)" (

__imp_?release at XMLString@xercesc_2_8@@SAXPAPAG at Z) referenced in function
"public

: __thiscall `public: int __thiscall CfgLoader::Transform(char const *,int
(__cd

ecl*)(char const *,char const *,char const *,struct CFGLDRENTITY *),char *
*)'::

`12'::SettingsConverterStream::SettingsConverterStream(void)"
(??0SettingsConver

terStream@?M@??Transform at CfgLoader@@QAEHPBDP6AH000PAUCFGLDRENTITY@@@ZPAPAD at Z
@QAE

@XZ)

cfgldr.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu

blic: virtual void __thiscall xercesc_2_8::InputSource::setPublicId(unsigned
sho

rt const * const)" (__imp_?setPublicId at InputSource@xercesc_2_8@@UAEXQBG at Z)
refer

enced in function "public: __thiscall `public: int __thiscall
CfgLoader::Transfo

rm(char const *,int (__cdecl*)(char const *,char const *,char const *,struct
CFG

LDRENTITY *),char *
*)'::`12'::SettingsConverterStream::SettingsConverterStream(

void)"
(??0SettingsConverterStream@?M@??Transform at CfgLoader@@QAEHPBDP6AH000PAUCF

GLDRENTITY@@@ZPAPAD at Z@QAE at XZ)

cfgldr.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu

blic: virtual void __thiscall xercesc_2_8::InputSource::setSystemId(unsigned
sho

rt const * const)" (__imp_?setSystemId at InputSource@xercesc_2_8@@UAEXQBG at Z)
refer

enced in function "public: __thiscall `public: int __thiscall
CfgLoader::Transfo

rm(char const *,int (__cdecl*)(char const *,char const *,char const *,struct
CFG

LDRENTITY *),char *
*)'::`12'::SettingsConverterStream::SettingsConverterStream(

void)"
(??0SettingsConverterStream@?M@??Transform at CfgLoader@@QAEHPBDP6AH000PAUCF

GLDRENTITY@@@ZPAPAD at Z@QAE at XZ)

cfgldr.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu

blic: static unsigned short * __cdecl xercesc_2_8::XMLString::transcode(char
con

st * const)" (__imp_?transcode at XMLString@xercesc_2_8@@SAPAGQBD at Z) referenced
in

function "public: __thiscall `public: int __thiscall
CfgLoader::Transform(char c

onst *,int (__cdecl*)(char const *,char const *,char const *,struct
CFGLDRENTITY

 *),char *
*)'::`12'::SettingsConverterStream::SettingsConverterStream(void)" (?

?0SettingsConverterStream@?M@??Transform at CfgLoader@@QAEHPBDP6AH000PAUCFGLDRE
NTIT

Y@@@ZPAPAD at Z@QAE at XZ)

cfgldr.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu

blic: __thiscall xalanc_1_10::XSLTInputSource::XSLTInputSource(class
xercesc_2_8

::MemoryManager &)"
(__imp_??0XSLTInputSource at xalanc_1_10@@QAE at AAVMemoryManager@

xercesc_2_8@@@Z) referenced in function "public: __thiscall `public: int
__thisc

all CfgLoader::Transform(char const *,int (__cdecl*)(char const *,char const
*,c

har const *,struct CFGLDRENTITY *),char *
*)'::`12'::SettingsConverterStream::Se

ttingsConverterStream(void)"
(??0SettingsConverterStream@?M@??Transform at CfgLoade

r@@QAEHPBDP6AH000PAUCFGLDRENTITY@@@ZPAPAD at Z@QAE at XZ)

cfgldr.obj : error LNK2001: unresolved external symbol "public: virtual
unsigned

 short const * __thiscall xercesc_2_8::InputSource::getEncoding(void)const "
(?g

etEncoding at InputSource@xercesc_2_8@@UBEPBGXZ)

cfgldr.obj : error LNK2001: unresolved external symbol "public: virtual
unsigned

 short const * __thiscall xercesc_2_8::InputSource::getPublicId(void)const "
(?g

etPublicId at InputSource@xercesc_2_8@@UBEPBGXZ)

cfgldr.obj : error LNK2001: unresolved external symbol "public: virtual
unsigned

 short const * __thiscall xercesc_2_8::InputSource::getSystemId(void)const "
(?g

etSystemId at InputSource@xercesc_2_8@@UBEPBGXZ)

cfgldr.obj : error LNK2001: unresolved external symbol "public: virtual void
__t

hiscall xercesc_2_8::InputSource::setEncoding(unsigned short const * const)"
(?s

etEncoding at InputSource@xercesc_2_8@@UAEXQBG at Z)

cfgldr.obj : error LNK2001: unresolved external symbol "public: virtual void
__t

hiscall xercesc_2_8::InputSource::setPublicId(unsigned short const * const)"
(?s

etPublicId at InputSource@xercesc_2_8@@UAEXQBG at Z)

cfgldr.obj : error LNK2001: unresolved external symbol "public: virtual void
__t

hiscall xercesc_2_8::InputSource::setSystemId(unsigned short const * const)"
(?s

etSystemId at InputSource@xercesc_2_8@@UAEXQBG at Z)

cfgldr.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu

blic: static int __cdecl xercesc_2_8::XMLString::compareNString(unsigned
short c

onst * const,unsigned short const * const,unsigned int)"
(__imp_?compareNString@

XMLString at xercesc_2_8@@SAHQBG0I at Z) referenced in function "private: int
__thisca

ll CfgNode::resolve(class xercesc_2_8::DOMNode *,char const *,unsigned
int,unsig

ned int)" (?resolve at CfgNode@@AAEHPAVDOMNode at xercesc_2_8@@PBDII at Z)

cfgldr.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu

blic: static int __cdecl xercesc_2_8::XMLString::indexOf(unsigned short
const *

const,unsigned short)" (__imp_?indexOf at XMLString@xercesc_2_8@@SAHQBGG at Z)
referen

ced in function "private: int __thiscall CfgNode::resolve(class
xercesc_2_8::DOM

Node *,char const *,unsigned int,unsigned int)"
(?resolve at CfgNode@@AAEHPAVDOMNod

e at xercesc_2_8@@PBDII at Z)

cfgldr.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu

blic: static int __cdecl xercesc_2_8::XMLString::compareString(unsigned
short co

nst * const,unsigned short const * const)"
(__imp_?compareString at XMLString@xerce

sc_2_8@@SAHQBG0 at Z) referenced in function "public: int __thiscall
CfgNode::Count

Children(char const *,unsigned int *)"
(?CountChildren at CfgNode@@QAEHPBDPAI at Z)

cfgldr.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) pu

blic: static unsigned short const * const
xercesc_2_8::XMLUni::fgXercesSchemaExt

ernalNoNameSpaceSchemaLocation"
(__imp_?fgXercesSchemaExternalNoNameSpaceSchemaL

ocation at XMLUni@xercesc_2_8@@2QBGB)

cfgldr.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) pu

blic: static unsigned short const * const
xercesc_2_8::XMLUni::fgXercesSchemaExt

ernalSchemaLocation"
(__imp_?fgXercesSchemaExternalSchemaLocation at XMLUni@xercesc

_2_8@@2QBGB)

cfgldr.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) pu

blic: static unsigned short const * const
xercesc_2_8::XMLUni::fgXercesSchemaFul

lChecking" (__imp_?fgXercesSchemaFullChecking at XMLUni@xercesc_2_8@@2QBGB)

cfgldr.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) pu

blic: static unsigned short const * const
xercesc_2_8::XMLUni::fgXercesSchema" (

__imp_?fgXercesSchema at XMLUni@xercesc_2_8@@2QBGB)

cfgldr.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) pu

blic: static unsigned short const * const
xercesc_2_8::XMLUni::fgDOMValidation"

(__imp_?fgDOMValidation at XMLUni@xercesc_2_8@@2QBGB)

cfgldr.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) pu

blic: static unsigned short const * const
xercesc_2_8::XMLUni::fgDOMNamespaces"

(__imp_?fgDOMNamespaces at XMLUni@xercesc_2_8@@2QBGB)

cfgldr.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) pu

blic: static unsigned short const * const
xercesc_2_8::XMLUni::fgDOMDatatypeNorm

alization" (__imp_?fgDOMDatatypeNormalization at XMLUni@xercesc_2_8@@2QBGB)

cfgldr.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu

blic: __thiscall xalanc_1_10::XSLTResultTarget::XSLTResultTarget(class
xalanc_1_

10::FormatterListener &,class xercesc_2_8::MemoryManager &)"
(__imp_??0XSLTResul

tTarget at xalanc_1_10@@QAE at AAVFormatterListener@1 at AAVMemoryManager@xercesc_2_8
@@@Z

) referenced in function "public: int __thiscall CfgLoader::Transform(char
const

 *,int (__cdecl*)(char const *,char const *,char const *,struct CFGLDRENTITY
*),

char * *)" (?Transform at CfgLoader@@QAEHPBDP6AH000PAUCFGLDRENTITY@@@ZPAPAD at Z)

cfgldr.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu

blic: __thiscall
xalanc_1_10::XercesDOMWrapperParsedSource::XercesDOMWrapperPars

edSource(class xercesc_2_8::DOMDocument const *,class
xalanc_1_10::XercesParserL

iaison &,class xalanc_1_10::XercesDOMSupport &,class
xalanc_1_10::XalanDOMString

 const &,class xercesc_2_8::MemoryManager &)"
(__imp_??0XercesDOMWrapperParsedSo

urce at xalanc_1_10@@QAE at PBVDOMDocument@xercesc_2_8@@AAVXercesParserLiaison at 1@A
AVXe

rcesDOMSupport at 1@ABVXalanDOMString at 1@AAVMemoryManager at 3@@Z) referenced in
functi

on "public: int __thiscall CfgLoader::Transform(char const *,int
(__cdecl*)(char

 const *,char const *,char const *,struct CFGLDRENTITY *),char * *)"
(?Transform

@CfgLoader@@QAEHPBDP6AH000PAUCFGLDRENTITY@@@ZPAPAD at Z)

cfgldr.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu

blic: __thiscall xalanc_1_10::XalanDOMString::XalanDOMString(unsigned short
cons

t *,class xercesc_2_8::MemoryManager &,unsigned int)"
(__imp_??0XalanDOMString at x

alanc_1_10@@QAE at PBGAAVMemoryManager@xercesc_2_8@@I at Z) referenced in function
"pu

blic: int __thiscall CfgLoader::Transform(char const *,int (__cdecl*)(char
const

 *,char const *,char const *,struct CFGLDRENTITY *),char * *)"
(?Transform at CfgLo

ader@@QAEHPBDP6AH000PAUCFGLDRENTITY@@@ZPAPAD at Z)

cfgldr.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu

blic: __thiscall xalanc_1_10::XercesParserLiaison::XercesParserLiaison(class
xer

cesc_2_8::MemoryManager &)"
(__imp_??0XercesParserLiaison at xalanc_1_10@@QAE at AAVMe

moryManager at xercesc_2_8@@@Z) referenced in function "public: int __thiscall
CfgL

oader::Transform(char const *,int (__cdecl*)(char const *,char const *,char
cons

t *,struct CFGLDRENTITY *),char * *)"
(?Transform at CfgLoader@@QAEHPBDP6AH000PAUCF

GLDRENTITY@@@ZPAPAD at Z)

cfgldr.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu

blic: __thiscall xalanc_1_10::XercesDOMSupport::XercesDOMSupport(class
xercesc_2

_8::MemoryManager &)"
(__imp_??0XercesDOMSupport at xalanc_1_10@@QAE at AAVMemoryManag

er at xercesc_2_8@@@Z) referenced in function "public: int __thiscall
CfgLoader::Tr

ansform(char const *,int (__cdecl*)(char const *,char const *,char const
*,struc

t CFGLDRENTITY *),char * *)"
(?Transform at CfgLoader@@QAEHPBDP6AH000PAUCFGLDRENTIT

Y@@@ZPAPAD at Z)

cfgldr.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu

blic: __thiscall
xalanc_1_10::FormatterToXercesDOM::FormatterToXercesDOM(class x

ercesc_2_8::DOMDocument *,class xercesc_2_8::DOMElement *,class
xercesc_2_8::Mem

oryManager &)"
(__imp_??0FormatterToXercesDOM at xalanc_1_10@@QAE at PAVDOMDocument@xe

rcesc_2_8@@PAVDOMElement at 3@AAVMemoryManager at 3@@Z) referenced in function
"public

: int __thiscall CfgLoader::Transform(char const *,int (__cdecl*)(char const
*,c

har const *,char const *,struct CFGLDRENTITY *),char * *)"
(?Transform at CfgLoader

@@QAEHPBDP6AH000PAUCFGLDRENTITY@@@ZPAPAD at Z)

cfgldr.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu

blic: __thiscall xalanc_1_10::XalanTransformer::XalanTransformer(class
xercesc_2

_8::MemoryManager &)"
(__imp_??0XalanTransformer at xalanc_1_10@@QAE at AAVMemoryManag

er at xercesc_2_8@@@Z) referenced in function "public: int __thiscall
CfgLoader::Tr

ansform(char const *,int (__cdecl*)(char const *,char const *,char const
*,struc

t CFGLDRENTITY *),char * *)"
(?Transform at CfgLoader@@QAEHPBDP6AH000PAUCFGLDRENTIT

Y@@@ZPAPAD at Z)

cfgldr.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu

blic: static void __cdecl xalanc_1_10::XalanTransformer::initialize(class
xerces

c_2_8::MemoryManager &)"
(__imp_?initialize at XalanTransformer@xalanc_1_10@@SAXAAV

MemoryManager at xercesc_2_8@@@Z) referenced in function "public: int
__thiscall Cf

gLoader::Transform(char const *,int (__cdecl*)(char const *,char const
*,char co

nst *,struct CFGLDRENTITY *),char * *)"
(?Transform at CfgLoader@@QAEHPBDP6AH000PAU

CFGLDRENTITY@@@ZPAPAD at Z)

F:/virtualbox/out/win.x86/release/obj/src/VBox/Main/VBoxXML/VBoxXML.dll :
fatal

error LNK1120: 35 unresolved externals

kmk.exe[3]: ***
[F:/virtualbox/out/win.x86/release/obj/src/VBox/Main/VBoxXML/VBo

xXML.dll] Error 1120

The failing command:

        @ F:/PROGRA~2/MID05A~1/VC/bin/link.exe -nologo -machine:x86

                            /NOD /INCREMENTAL:NO /MAPINFO:EXPORTS
/LARGEADDRESSA

WARE /DEBUG /DISALLOWLIB:libc.lib /DISALLOWLIB:libcd.lib
/DISALLOWLIB:msvcrt.lib

 /DISALLOWLIB:msvcrtd.lib /DISALLOWLIB:libcmtd.lib /DISALLOWLIB:libcmt.lib

/OUT:F:/virtualbox/out/win.x86/release/obj/src/VBox/Main/VBoxXML/VBoxXML.dll
/IM

PLIB:F:/virtualbox/out/win.x86/release/obj/src/VBox/Main/VBoxXML/VBoxXML.lib
/MA

PINFO:EXPORTS /INCREMENTAL:NO
/MAP:F:/virtualbox/out/win.x86/release/obj/src/VBo

x/Main/VBoxXML/VBoxXML.map /DLL    /LIBPATH:F:/PlatformSDK/Lib
/LIBPATH:F:/ddkw

in2k3/3790.1830/lib/wnet/i386
F:\\virtualbox\\out\\win.x86\\release\\obj\\src\\

VBox\\Main\\VBoxXML\\xml\\cfgldr.obj
F:\\virtualbox\\out\\win.x86\\release\

\lib\\VBoxRT.lib F:\\PROGRA~2\\MID05A~1\\VC\\lib\\msvcrt.lib
F:\\PROGRA~2\\MID05

A~1\\VC\\lib\\msvcprt.lib F:\\PROGRA~2\\MID05A~1\\VC\\lib\\oldnames.lib
F:\\PROG

RA~2\\MID05A~1\\VC\\atlmfc\\lib\\atls.lib
F:\\virtualbox\\out\\win.x86\\release\

\lib\\VBoxCOM.lib
F:\\PROGRA~2\\MID05A~1\\VC\\xalan\\lib\\Xalan-C_1.lib

    F:\\PROGRA~2\\MID05A~1\\VC\\xerces\\lib\\xerces-c_2.lib
F:\\PlatformSD

K\\Lib\\Kernel32.Lib F:\\PlatformSDK\\Lib\\User32.Lib
F:\\PlatformSDK\\Lib\\Gdi3

2.Lib F:\\PlatformSDK\\Lib\\AdvAPI32.Lib F:\\PlatformSDK\\Lib\\Shell32.Lib
F:\\P

latformSDK\\Lib\\ShLwApi.Lib F:\\PlatformSDK\\Lib\\SetupAPI.Lib
F:\\PlatformSDK\

\Lib\\Uuid.Lib F:\\PlatformSDK\\Lib\\Version.Lib
F:\\PlatformSDK\\Lib\\WS2_32.Li

b F:\\PlatformSDK\\Lib\\Ole32.Lib F:\\PlatformSDK\\Lib\\OleAut32.Lib
F:\\Platfor

mSDK\\Lib\\OleDlg.Lib F:\\PlatformSDK\\Lib\\RpcRT4.Lib
F:\\PlatformSDK\\Lib\\Dbg

Help.Lib F:\\PlatformSDK\\Lib\\ImageHlp.Lib
F:\\PlatformSDK\\Lib\\IPHlpApi.Lib F

:\\PlatformSDK\\Lib\\ComCtl32.Lib F:\\PlatformSDK\\Lib\\ComDlg32.Lib
F:\\Platfor

mSDK\\Lib\\WinSpool.Lib F:\\PlatformSDK\\Lib\\WinMM.Lib

kmk.exe[3]: *** Waiting for unfinished jobs....

kmk.exe[3]: Leaving directory `F:/virtualbox/src/VBox/Main'

kmk.exe[2]: *** [pass_dlls_before] Error 2

kmk.exe[2]: Leaving directory `F:/virtualbox/src/VBox'

kmk.exe[1]: *** [pass_dlls_before] Error 2

kmk.exe[1]: Leaving directory `F:/virtualbox/src'

kmk: *** [pass_dlls_before] Error 2

 

If anyone has any suggestions, they would be greatly appreciated.

 

Thanks.

 

Josh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20071026/f412e3d9/attachment-0001.html 


More information about the vbox-dev mailing list