Linker Error in SAL, VOS module for Open Office compilation
I am compiling the openoffice code on my PC and while compiling the SOl, VOS modules i am facing the following linking error
Copyright (C) Microsoft Corporation. All rights reserved.
/MAP /NODEFAULTLIB /OPT:NOREF /RELEASE /DEBUG:notmapped,full /SUBSYSTEM:CONSOLE /DLL -out:.
./wntmsci10.pro/bin/sal3.dll -map:../wntmsci10.pro/misc/sal3.map -def:../wntmsci10.pro/misc
/sal3.def -implib:../wntmsci10.pro/lib/isal.lib ..\wntmsci10.pro\slo\sal3_version.obj ..\wn
tmsci10.pro\slo\sal3_description.obj ..\wntmsci10.pro\slo\dllentry.obj ..\wntmsci10.pro\slb
\sal.lib uwinapi.lib advapi32.lib wsock32.lib mpr.lib shell32.lib comdlg32.lib user32.lib o
le32.lib msvcrt.lib uwinapi.lib kernel32.lib user32.lib oldnames.lib ..\wntmsci10.pro\misc\
sal3.res
LINK : warning LNK4224: /DEBUG:NOTMAPPED is no longer supported; ignored
../wntmsci10.pro/misc/sal3.def(2) : warning LNK4017: DESCRIPTION statement not supported fo
r the target platform; ignored
../wntmsci10.pro/misc/sal3.def(3) : warning LNK4017: DATA statement not supported for the t
arget platform; ignored
Creating library ../wntmsci10.pro/lib/isal.lib and object ../wntmsci10.pro/lib/isal.exp
sal.lib(unload.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) void
__cdecl _STL::__stl_throw_length_error(char const *)" (__imp_?__stl_throw_length_error@_ST
L@@YAXPBD@Z) referenced in function "protected: void __thiscall _STL::_Vector_base<void *,s
truct MyAllocator<void *> >::_M_throw_length_error(void)const " (?_M_throw_length_error@?$_
Vector_base@PAXU?$MyAllocator@PAX@@@_STL@@IBEXXZ)
sal.lib(macro.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) void
__cdecl _STL::__stl_throw_length_error(char const *)" (__imp_?__stl_throw_length_error@_STL
@@YAXPBD@Z)
sal.lib(unload.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) publ
ic: static unsigned int const * const _STL::_Stl_prime<bool>::_M_list" (__imp_?_M_list@?$_S
tl_prime@_N@_STL@@2QBIB) referenced in function "private: unsigned int __thiscall _STL::has
htable<struct _STL::pair<void * const,struct _STL::pair<unsigned long,unsigned char (__cdec
l*)(struct TimeValue *)> >,void *,struct hashModule,struct _STL::_Select1st<struct _STL::pa
ir<void * const,struct _STL::pair<unsigned long,unsigned char (__cdecl*)(struct TimeValue *
)> > >,struct _STL::equal_to<void *>,struct MyAllocator<void *> >::_M_next_size(unsigned in
t)const " (?_M_next_size@?$hashtable@U?$pair@QAXU?$pair@KP6AEPAUTimeValue@@@Z@_STL@@@_STL@@
PAXUhashModule@@U?$_Select1st@U?$pair@QAXU?$pair@KP6AEPAUTimeValue@@@Z@_STL@@@_STL@@@2@U?$e
qual_to@PAX@2@U?$MyAllocator@PAX@@@_STL@@ABEII@Z)
sal.lib(macro.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) publi
c: static unsigned int const * const _STL::_Stl_prime<bool>::_M_list" (__imp_?_M_list@?$_St
l_prime@_N@_STL@@2QBIB)
../wntmsci10.pro/bin/sal3.dll : fatal error LNK1120: 2 unresolved externals
dmake: Error code 96, while making '../wntmsci10.pro/bin/sal3.dll'
echo: No match.
ERROR: Error 65280 occurred while making /cygdrive/c/oo/sal/util
dmake: Error code 1, while making 'build_all'
echo: No match.
Help me out in eliminating this error
Thanks In Advance
Nitin Mahajan

