|
Ice Php 1.0.2 link error
Hi,
I downloaded the new release of ICE and IcePhp. After succeeded in compiling the ICE, I Failed to compile the IcePhp. The compiler is MSVC6.0.
The link errors lare isted:
Linking...
ice.obj : error LNK2005: "struct _STL::bidirectional_iterator_tag __cdecl _STL::iterator_category(struct _STL::_List_iterator_base const &)" (?iterator_category@_STL@@YA?AUbidirectional_itera tor_tag@1@ABU_List_iterator_base@1@@Z) already defined in
communicator.obj
ice.obj : error LNK2005: "int * __cdecl _STL::distance_type(struct _STL::_List_iterator_base const &)" (?distance_type@_STL@@YAPAHABU_List_iterator_base@ 1@@Z) already defined in communicator.obj
marshal.obj : error LNK2005: "struct _STL::bidirectional_iterator_tag __cdecl _STL::iterator_category(struct _STL::_List_iterator_base const &)" (?iterator_category@_STL@@YA?AUbidirectional_itera tor_tag@1@ABU_List_iterator_base@1@@Z) already defined
in communicator.obj
marshal.obj : error LNK2005: "int * __cdecl _STL::distance_type(struct _STL::_List_iterator_base const &)" (?distance_type@_STL@@YAPAHABU_List_iterator_base@ 1@@Z) already defined in communicator.obj
profile.obj : error LNK2005: "struct _STL::bidirectional_iterator_tag __cdecl _STL::iterator_category(struct _STL::_List_iterator_base const &)" (?iterator_category@_STL@@YA?AUbidirectional_itera tor_tag@1@ABU_List_iterator_base@1@@Z) already defined
in communicator.obj
profile.obj : error LNK2005: "int * __cdecl _STL::distance_type(struct _STL::_List_iterator_base const &)" (?distance_type@_STL@@YAPAHABU_List_iterator_base@ 1@@Z) already defined in communicator.obj
proxy.obj : error LNK2005: "struct _STL::bidirectional_iterator_tag __cdecl _STL::iterator_category(struct _STL::_List_iterator_base const &)" (?iterator_category@_STL@@YA?AUbidirectional_itera tor_tag@1@ABU_List_iterator_base@1@@Z) already defined i
n communicator.obj
proxy.obj : error LNK2005: "int * __cdecl _STL::distance_type(struct _STL::_List_iterator_base const &)" (?distance_type@_STL@@YAPAHABU_List_iterator_base@ 1@@Z) already defined in communicator.obj
util.obj : error LNK2005: "struct _STL::bidirectional_iterator_tag __cdecl _STL::iterator_category(struct _STL::_List_iterator_base const &)" (?iterator_category@_STL@@YA?AUbidirectional_itera tor_tag@1@ABU_List_iterator_base@1@@Z) already defined in
communicator.obj
util.obj : error LNK2005: "int * __cdecl _STL::distance_type(struct _STL::_List_iterator_base const &)" (?distance_type@_STL@@YAPAHABU_List_iterator_base@ 1@@Z) already defined in communicator.obj
ice.obj : warning LNK4006: "struct _STL::bidirectional_iterator_tag __cdecl _STL::iterator_category(struct _STL::_List_iterator_base const &)" (?iterator_category@_STL@@YA?AUbidirectional_itera tor_tag@1@ABU_List_iterator_base@1@@Z) already defined i
n communicator.obj; second definition ignored
ice.obj : warning LNK4006: "int * __cdecl _STL::distance_type(struct _STL::_List_iterator_base const &)" (?distance_type@_STL@@YAPAHABU_List_iterator_base@ 1@@Z) already defined in communicator.obj; second definition ignored
marshal.obj : warning LNK4006: "struct _STL::bidirectional_iterator_tag __cdecl _STL::iterator_category(struct _STL::_List_iterator_base const &)" (?iterator_category@_STL@@YA?AUbidirectional_itera tor_tag@1@ABU_List_iterator_base@1@@Z) already defin
ed in communicator.obj; second definition ignored
marshal.obj : warning LNK4006: "int * __cdecl _STL::distance_type(struct _STL::_List_iterator_base const &)" (?distance_type@_STL@@YAPAHABU_List_iterator_base@ 1@@Z) already defined in communicator.obj; second definition ignored
profile.obj : warning LNK4006: "struct _STL::bidirectional_iterator_tag __cdecl _STL::iterator_category(struct _STL::_List_iterator_base const &)" (?iterator_category@_STL@@YA?AUbidirectional_itera tor_tag@1@ABU_List_iterator_base@1@@Z) already defin
ed in communicator.obj; second definition ignored
profile.obj : warning LNK4006: "int * __cdecl _STL::distance_type(struct _STL::_List_iterator_base const &)" (?distance_type@_STL@@YAPAHABU_List_iterator_base@ 1@@Z) already defined in communicator.obj; second definition ignored
proxy.obj : warning LNK4006: "struct _STL::bidirectional_iterator_tag __cdecl _STL::iterator_category(struct _STL::_List_iterator_base const &)" (?iterator_category@_STL@@YA?AUbidirectional_itera tor_tag@1@ABU_List_iterator_base@1@@Z) already defined
in communicator.obj; second definition ignored
proxy.obj : warning LNK4006: "int * __cdecl _STL::distance_type(struct _STL::_List_iterator_base const &)" (?distance_type@_STL@@YAPAHABU_List_iterator_base@ 1@@Z) already defined in communicator.obj; second definition ignored
util.obj : warning LNK4006: "struct _STL::bidirectional_iterator_tag __cdecl _STL::iterator_category(struct _STL::_List_iterator_base const &)" (?iterator_category@_STL@@YA?AUbidirectional_itera tor_tag@1@ABU_List_iterator_base@1@@Z) already defined
in communicator.obj; second definition ignored
util.obj : warning LNK4006: "int * __cdecl _STL::distance_type(struct _STL::_List_iterator_base const &)" (?distance_type@_STL@@YAPAHABU_List_iterator_base@ 1@@Z) already defined in communicator.obj; second definition ignored
Creating library Debug/php_ice.lib and object Debug/php_ice.exp
marshal.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall Slice::ClassDef::isA(class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const &)const " (__imp_?isA@ClassDe
f@Slice@@QBE_NABV?$basic_string@DV?$char_traits@D@ _STL@@V?$allocator@D@2@@_STL@@@Z)
marshal.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Ice::Object::ice_postUnmarshal(void)" (?ice_postUnmarshal@Object@Ice@@UAEXXZ)
marshal.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Ice::Object::ice_preMarshal(void)" (?ice_preMarshal@Object@Ice@@UAEXXZ)
Debug/php_ice.dll : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
php_ice.dll - 14 error(s), 10 warning(s)
__________________
Fengxb
|