[Ace-users] ACE 5.3 Linking problem in VS2008

j1230xz at gmail.com j1230xz at gmail.com
Fri Feb 8 06:30:34 CST 2008


I am porting some components to VS2008 (originally VS6). In VS6 the
compiling and building went without any problems. However in VS2008 i
have some linking problems (a lot of them):

Error	3	error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
ACE_String_Base<char>::~ACE_String_Base<char>(void)" (__imp_??1?
$ACE_String_Base at D@@QAE at XZ)	ID.obj	Data
Error	4	error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
ACE_String_Base<char>::~ACE_String_Base<char>(void)" (__imp_??1?
$ACE_String_Base at D@@QAE at XZ)	StringSet.obj	Data
Error	5	error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
ACE_String_Base<char>::~ACE_String_Base<char>(void)" (__imp_??1?
$ACE_String_Base at D@@QAE at XZ)	SystemException.obj	Data
..................
...(and so)...
..................
I cannot find what the problems are. One of my assumption is maybe
that in the ACE interface there are some definitions of type
  static ssize_t t_rcv (ACE_HANDLE handle,
                        void *buf,
                        size_t len,
                        int *flags,
                        const ACE_Time_Value *timeout = 0);

and i have read that the default values of function parameters that
are pointers are not allowed in the newer compilers (the one that
VS2005 and later has)... However it is only my assumption.

Anyone has a solution for this ?!?!?

Thank you in advance,
Nikola


More information about the Ace-users mailing list