You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by David Miller <DM...@criticaltech.com> on 2007/03/06 22:45:58 UTC

Unresolved Externals When Building Axis

Hello,

I am not sure if this is the correct list for my question, so if I
should be posting to the developer mailing list, just let me know and I
will re-post.

I am trying to make a debug build of Axis 1.6b on VC6 (WinXP SP2).  I
have run VCVARS32.BAT at the command prompt, and when I run ant against
the build.xml file, I get the following output...

C:\Dev\Apache\axis-c-1.6b-Win32-trace-src>ant
Buildfile: build.xml

pre-init:

set-platform-specifics:

checkIfDebug:

initialize:

build:

compile:

compileClient:

compileAxisClient:

buildVersionResource:
     [copy] Copying 1 file to
C:\Dev\Apache\axis-c-1.6b-Win32-trace-src\build
       [cc] Starting dependency analysis for 130 files.
       [cc] 130 files are up to date.
       [cc] 0 files to be recompiled from dependency analysis.
       [cc] 0 total files to be compiled.
       [cc] Starting link
       [cc]    Creating library axis_client.lib and object
axis_client.exp
       [cc] PlatformSpecificWindows.obj : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: __thiscall
std::basic_string<char,struct std:
:char_traits<char>,class std::allocator<char>
>::basic_string<char,struct std::c
har_traits<char>,class std::allocator<char> >(void)"
(__imp_??0?$basic_string@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ)
       [cc] PlatformSpecificWindows.obj : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: __thiscall
std::basic_string<char,struct std:
:char_traits<char>,class std::allocator<char>
>::basic_string<char,struct std::c
har_traits<char>,class std::allocator<char> >(char const *)"
(__imp_??0?$basic_s
tring@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z)
       [cc] PlatformSpecificWindows.obj : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: __thiscall
std::basic_string<char,struct std:
:char_traits<char>,class std::allocator<char>
>::basic_string<char,struct std::c
har_traits<char>,class std::allocator<char> >(unsigned int,char)"
(__imp_??0?$ba
sic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ID@Z)
       [cc] PlatformSpecificWindows.obj : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: __thiscall std::basic_string<unsigned
short,s
truct std::char_traits<unsigned short>,class std::allocator<unsigned
short> >::b
asic_string<unsigned short,struct std::char_traits<unsigned short>,class
std::al
locator<unsigned short> >(unsigned short const *)"
(__imp_??0?$basic_string@GU?$
char_traits@G@std@@V?$allocator@G@2@@std@@QAE@PBG@Z)
       [cc] PlatformSpecificWindows.obj : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: __thiscall std::basic_string<unsigned
short,s
truct std::char_traits<unsigned short>,class std::allocator<unsigned
short> >::b
asic_string<unsigned short,struct std::char_traits<unsigned short>,class
std::al
locator<unsigned short> >(unsigned int,unsigned short)"
(__imp_??0?$basic_string
@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@QAE@IG@Z)
       [cc] PlatformSpecificWindows.obj : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: bool __thiscall
std::basic_istream<char,struc
t std::char_traits<char> >::_Ipfx(bool)"
(__imp_?_Ipfx@?$basic_istream@DU?$char_
traits@D@std@@@std@@QAE_N_N@Z)
       [cc] PlatformSpecificWindows.obj : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: void __thiscall
std::basic_streambuf<char,str
uct std::char_traits<char> >::_Unlock(void)"
(__imp_?_Unlock@?$basic_streambuf@D
U?$char_traits@D@std@@@std@@QAEXXZ)
       [cc] PlatformSpecificWindows.obj : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: void __thiscall
std::basic_streambuf<char,str
uct std::char_traits<char> >::_Lock(void)"
(__imp_?_Lock@?$basic_streambuf@DU?$c
har_traits@D@std@@@std@@QAEXXZ)
       [cc] PlatformSpecificWindows.obj : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: void __thiscall
std::locale::facet::_Register
(void)" (__imp_?_Register@facet@locale@std@@QAEXXZ)
       [cc] PlatformSpecificWindows.obj : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: __thiscall bad_cast::bad_cast(char
const *)"
(__imp_??0bad_cast@@QAE@PBD@Z)
       [cc] PlatformSpecificWindows.obj : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: static unsigned int __cdecl
std::ctype<char>:
:_Getcat(class std::locale::facet const * *)"
(__imp_?_Getcat@?$ctype@D@std@@SAI
PAPBVfacet@locale@2@@Z)
       [cc] PlatformSpecificWindows.obj : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: class std::locale::facet const *
__thiscall s
td::locale::_Getfacet(unsigned int)const "
(__imp_?_Getfacet@locale@std@@QBEPBVf
acet@12@I@Z)
       [cc] PlatformSpecificWindows.obj : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: __thiscall
std::_Lockit::_Lockit(int)" (__imp
_??0_Lockit@std@@QAE@H@Z)
       [cc] PlatformSpecificWindows.obj : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: void __thiscall
std::basic_ostream<char,struc
t std::char_traits<char> >::_Osfx(void)"
(__imp_?_Osfx@?$basic_ostream@DU?$char_
traits@D@std@@@std@@QAEXXZ)
       [cc] PlatformSpecificWindows.obj : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: bool __thiscall
std::basic_istream<unsigned s
hort,struct std::char_traits<unsigned short> >::_Ipfx(bool)"
(__imp_?_Ipfx@?$bas
ic_istream@GU?$char_traits@G@std@@@std@@QAE_N_N@Z)
       [cc] PlatformSpecificWindows.obj : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: void __thiscall
std::basic_streambuf<unsigned
 short,struct std::char_traits<unsigned short> >::_Unlock(void)"
(__imp_?_Unlock
@?$basic_streambuf@GU?$char_traits@G@std@@@std@@QAEXXZ)
       [cc] PlatformSpecificWindows.obj : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: void __thiscall
std::basic_streambuf<unsigned
 short,struct std::char_traits<unsigned short> >::_Lock(void)"
(__imp_?_Lock@?$b
asic_streambuf@GU?$char_traits@G@std@@@std@@QAEXXZ)
       [cc] PlatformSpecificWindows.obj : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: static unsigned int __cdecl
std::ctype<unsign
ed short>::_Getcat(class std::locale::facet const * *)"
(__imp_?_Getcat@?$ctype@
G@std@@SAIPAPBVfacet@locale@2@@Z)
       [cc] PlatformSpecificWindows.obj : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: void __thiscall
std::basic_ostream<unsigned s
hort,struct std::char_traits<unsigned short> >::_Osfx(void)"
(__imp_?_Osfx@?$bas
ic_ostream@GU?$char_traits@G@std@@@std@@QAEXXZ)
       [cc] axis_client.dll : fatal error LNK1120: 19 unresolved
externals

BUILD FAILED
C:\Dev\Apache\axis-c-1.6b-Win32-trace-src\build.xml:226: The following
error occ
urred while executing this line:
C:\Dev\Apache\axis-c-1.6b-Win32-trace-src\build.xml:215: The following
error occ
urred while executing this line:
C:\Dev\Apache\axis-c-1.6b-Win32-trace-src\build.xml:93: The following
error occu
rred while executing this line:
C:\Dev\Apache\axis-c-1.6b-Win32-trace-src\build\buildClient.xml:23: link
failed
with return code 1120

Total time: 1 second


Does anyone know of anything that I need to check?

Thanks,
David Miller

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org