[omniORB] OmniOrb4 issues

Paul Keeley pkeeley@insci.com
Thu, 31 Jan 2002 15:58:23 -0500


Over the last couple days I have come across a couple issues with omniORB4.

1.  It was throwing an exception when trying to do a orb->string_to_object
on a nil IOR string (i.e. the object string was created from a nil
reference).  I am using a snapshot created on 8 Jan 2002.
2.  This caused me to download the latest snapshot but when trying to
compile it I get the following error.  I suspect this problem is related to
the switch to autoconf.

Any ideas on how to fix these problems will be appreciated.

Thanks,

y.tab.cc
.\idlutil.h(83) : warning C4273: 'stricmp' : inconsistent dll linkage.
dllexpor
t assumed.
../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GX
-DOMNI_CONFIG_TRADI
TIONAL -DIDLMODULE_VERSION="\"0x2420\"" -DMSDOS -DOMNIIDL_EXECUTABLE
-I"c:/omni"
/include -I"c:/omni"/include/python1.5 -DPYTHON_INCLUDE="<Python.h>" -I. -I.
-I.
./../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__
-D__OSVE
RSION__=4 -Folex.yy.o lex.yy.cc
cl -c -O2 -MD -GX -DOMNI_CONFIG_TRADITIONAL -DIDLMODULE_VERSION=\"0x2420\"
-DMSD
OS -DOMNIIDL_EXECUTABLE -Ic:\omni\include -Ic:\omni\include\python1.5
-DPYTHON_I
NCLUDE=<Python.h> -I. -I. -I..\..\..\..\include -D__WIN32__
-D_WIN32_WINNT=0x040
0 -D__x86__ -D__NT__ -D__OSVERSION__=4 -Folex.yy.o -Tplex.yy.cc
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

lex.yy.cc
.\idlutil.h(83) : warning C4273: 'stricmp' : inconsistent dll linkage.
dllexpor
t assumed.
../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GX
-DOMNI_CONFIG_TRADI
TIONAL -DIDLMODULE_VERSION="\"0x2420\"" -DMSDOS -DOMNIIDL_EXECUTABLE
-I"c:/omni"
/include -I"c:/omni"/include/python1.5 -DPYTHON_INCLUDE="<Python.h>" -I. -I.
-I.
./../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__
-D__OSVE
RSION__=4 -Foidlerr.o idlerr.cc
cl -c -O2 -MD -GX -DOMNI_CONFIG_TRADITIONAL -DIDLMODULE_VERSION=\"0x2420\"
-DMSD
OS -DOMNIIDL_EXECUTABLE -Ic:\omni\include -Ic:\omni\include\python1.5
-DPYTHON_I
NCLUDE=<Python.h> -I. -I. -I..\..\..\..\include -D__WIN32__
-D_WIN32_WINNT=0x040
0 -D__x86__ -D__NT__ -D__OSVERSION__=4 -Foidlerr.o -Tpidlerr.cc
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

idlerr.cc
E:\PROGRA~1\MICROS~1\VC98\INCLUDE\string.h(164) : error C2375: 'stricmp' :
redef
inition; different linkage
        .\idlutil.h(83) : see declaration of 'stricmp'
make[3]: *** [idlerr.o] Error 2
make[3]: Leaving directory `/cygdrive/c/omni/src/tool/omniidl/cxx'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/cygdrive/c/omni/src/tool/omniidl'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/cygdrive/c/omni/src/tool'
make: *** [export] Error 2

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Paul Keeley
IDS Developer, INSCI                                   Tel: 508-870-4324
Two Westborough Business Park                   Fax: 508-870-5585
Suite 2000/2001                                            
Westborough MA 01581                               mailto: pkeeley@insci.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~