[omniORB] omniORB 3.0 on WinNT

Rosimildo DaSilva rdasilva@connecttel.com
Sun, 3 Oct 1999 08:17:54 -0500


I have tried, but it did NOT work either:

Environment:
    Windows NT 4, SP4,   Visual C++ 6.0 ( SP2 applied)


    Cygwin 20.1, GCC 2.95

I have tried both compilers, and none worked.

Here is the error:
----------------------------------------------------------------------------
----------------------------------
making export in src/lib/omniORB2/orbcore...
make[2]: Entering directory `/omni/omni30/omni/src/lib/omniORB2/orbcore'
../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MT -GX   -I. -I./.. -I
./..
/.. -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY -D "NTArchitecture" -D
"_WINSTATI
C" -I.  -I../../../../include -D__WIN32__ -D__x86__ -D__NT__ -D__OSVERSION__
=4 -
Fotaskqueue.o taskqueue.cc
cl -c -O2 -MT -GX -I. -I.\.. -I.\..\.. -DUSE_omniORB_logStream -D_OMNIORB_LI
BRAR
Y -D NTArchitecture -D
_WINSTATIC -I. -I..\..\..\..\include -D__WIN32__ -D__x86_
_ -D__NT__ -D__OSVERSION__=4 -Fotaskqueue.o -Tptaskqueue.cc
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

taskqueue.cc
..\..\..\..\include\omniORB3/CORBA.h(978) : warning C4003: not enough actual
par
ameters for macro 'OMNIORB_DECLARE_USER_EXCEPTION1'
..\..\..\..\include\omniORB3/CORBA.h(1112) : warning C4003: not enough
actual pa
rameters for macro 'OMNIORB_DECLARE_USER_EXCEPTION1'
..\..\..\..\include\omniORB3/CORBA.h(1223) : warning C4003: not enough
actual pa
rameters for macro 'OMNIORB_DECLARE_USER_EXCEPTION1'
..\..\..\..\include\omniORB3/CORBA.h(1308) : warning C4003: not enough
actual pa
rameters for macro 'OMNIORB_DECLARE_USER_EXCEPTION1'
..\..\..\..\include\omniORB3/corbaidl_defs.hh(8) : error C2059: syntax error
: '
bad suffix on number'
..\..\..\..\include\omniORB3/corbaidl_defs.hh(8) : error C2059: syntax error
: '
constant'
..\..\..\..\include\omniORB3/corbaidl_defs.hh(9) : error C2059: syntax error
: '
bad suffix on number'
..\..\..\..\include\omniORB3/corbaidl_defs.hh(10) : error C2059: syntax
error :
'bad suffix on number'
..\..\..\..\include\omniORB3/corbaidl_defs.hh(11) : error C2059: syntax
error :
'bad suffix on number'
----------------------------------------------------------------------------
---------------------------

[ big snip here ]


The interesting thing is the output of corbaidl_defs.hh:

// This file is generated by omniidl3- omniORB_3_0. Do not edit.
#ifndef __corbaidl_defs_hh__
#define __corbaidl_defs_hh__

#ifndef __CORBA_mIDLType__
#define __CORBA_mIDLType__

004E4A60004E4A60004E4A60IDLType004E4A60
004E4A60004E4A60004E4A60_objref_IDLType004E4A60
004E4A60004E4A60004E4A60_impl_IDLType004E4A60
004E4A60004E4A60004E4A60_objref_IDLType004E4A60IDLType_ptr004E4A60
004E4A60004E4A60004E4A60IDLType_ptr004E4A60IDLType004E4A60004E4A60004E4A60
004E4A60
004E4A60004E4A60004E4A60IDLType_Helper004E4A60
004E4A60004E4A60004E4A60
004E4A60004E4A60004E4A60IDLType_ptr004E4A60004E4A60004E4A60
004E4A60
004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60
004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60
004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60
004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60
004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E
4A60004E4A60
004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E
4A60004E4A60
004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60
004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E
4A60004E4A60
004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60
004E4A60
004E4A60
004E4A60004E4A60004E4A60004E4A60004E4A60_objref_IDLType004E4A60IDLType_Helpe
r004E4A60IDLType004E4A60004E4A60004E4A60
004E4A60004E4A60004E4A60_CORBA_ObjRef_OUT_arg<_objref_IDLType,IDLType_Helper
>004E4A60IDLType004E4A60004E4A60004E4A60
004E4A60
#endif

[ another big snip here ]


This file seems very strange, and both compilers fail to parse this file
properly :)


Rosimildo.