[omniORB] Compile omniOBR-4.0.1 using .NET 2005(VC 8.0) compiler

S. Sahayaraj ssahayaraj at quark.com
Mon Jun 12 17:08:47 BST 2006


I tried to compile the omniORB-4.0.1 on VC8.0 compiler. It throws lot of
warning about undeclared definition "CRT_SECURE_NO_DEPRECATE". After
defined those missed preprocessor defintions in x86_nt_40.mk file, I was
able to compile the omniORB and omniThread libraries, but not
omniDynamic. While making the omniDynamic library as dynamic one, it
throws the following error. Can anyone help me to identify the issue and
let me know your suggestion please.

Is it a known issue of omniORB-4.0.1 on VC 8.0. Please confirm.

Thanks
Sahay.

   Creating library shared/omniDynamic401_rt.lib and object
shared/omniDynamic401_rt.exp
ir.o : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: static char const *
const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB)
irdynstub.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static char c
onst * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB)
Namingdynstub.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static ch
ar const * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBD
B)
bootstrapdynstub.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static
 char const * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2
QBDB)
corbaidldynstub.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static
char const * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2Q
BDB)
corbaidlstub.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static cha
r const * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB
)
irstub.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static char cons
t * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB)
tcParser.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static char co
nst * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB)
typecode.o : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static char co
nst * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB) re
ferenced in function "void __cdecl
omni::check_static_data_is_initialised(void)" (?check_static_data
_is_initialised at omni@@YAXXZ)
unknownUserExn.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static c
har const * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QB
DB)
poastub.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static char con
st * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB)
policy.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static char cons
t * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB)
pseudoBase.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static char
const * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB)
request.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static char con
st * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB)
serverRequest.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static ch
ar const * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBD
B)
exceptionList.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static ch
ar const * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBD
B)
namedValue.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static char
const * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB)
nvList.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static char cons
t * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB)
orbMultiRequest.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static
char const * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2Q
BDB)
dynAny.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static char cons
t * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB)
dynAnyNil.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static char c
onst * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB)
dynException.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static cha
r const * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB
)
environment.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static char
 const * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB)

contextList.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static char
 const * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB)

deferredRequest.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static
char const * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2Q
BDB)
dynamicImplementation.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: s
tatic char const * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_help
er@@2QBDB)
dynamicLib.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static char
const * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB)
any.o : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: static char const *
 const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB)
anyP.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static char const
* const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB)
constants.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static char c
onst * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB)
context.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static char con
st * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QBDB)
Namingdynstub.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static un
signed long const CORBA::Exception::PR_magic"
(__imp_?PR_magic at Exception@CORBA@@2KB)
policy.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static unsigned
long const CORBA::Exception::PR_magic"
(__imp_?PR_magic at Exception@CORBA@@2KB)
serverRequest.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static un
signed long const CORBA::Exception::PR_magic"
(__imp_?PR_magic at Exception@CORBA@@2KB)
typecode.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static unsigne
d long const CORBA::Exception::PR_magic"
(__imp_?PR_magic at Exception@CORBA@@2KB)
unknownUserExn.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static u




------------------------------------------------------------------------
------------------------------------------------------------------------
---------------------------------------------------------------------
"Examine me, O God, and know my mind; test me, and discover my thoughts.
Find out if there is any evil in me and guide me in the everlasting
way". - Holy Bible, Psalm 139 : 23,24.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20060612/53121a4f/attachment.htm


More information about the omniORB-list mailing list