[omniORB] ANN: omniORB 4.0.0 and omniORBpy 2.0 release candidates

Mark Zimmerman markzimm@frii.com
Wed Sep 18 20:09:01 2002


On Wed, Sep 18, 2002 at 04:57:52PM +0100, Duncan Grisby wrote:
> On Tuesday 17 September, Mark Zimmerman wrote:
> 
> > I am trying to compile omniORB 4.0.0 with Sun C++ 5.0 and I have
> > encountered the following problem:
> > 
> > By default, c++ style comments are not allowed by the c compiler. This
> > can be overcome by specifying
> 
> Where are C++ style comments given to the C compiler?  I don't think
> they should be anywhere.
> 

cexp.c includes omniconfig.h which has a c++ style header. Here is the
output from make:

making export in src/tool/omniidl/cxx...
make[3]: Entering directory `/tmp/omnu2/omniORB-4.0.0-rc1/src/tool/omniidl/cxx'
../../../../bin/sun4_sosV_5.7/omkdepend -D__SUNPRO_CC -D__cplusplus -DIDLMODULE_VERSION="0x2420" -I/usr/local/include -DPYTHON_INCLUDE=<python2.0/Python.h> -I. -I. -I../../../../include -D__sparc__ -D__sunos__ -D__OSVERSION__=5 idlc.cc idlpython.cc idlfixed.cc idlconfig.cc idldump.cc idlvalidate.cc idlast.cc idlexpr.cc idlscope.cc idlrepoId.cc idltype.cc idlutil.cc idlerr.cc lex.yy.cc y.tab.cc
making export in src/tool/omniidl/cxx/cccp...
make[4]: Entering directory `/tmp/omnu2/omniORB-4.0.0-rc1/src/tool/omniidl/cxx/cccp'
cc -c -O  -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__sparc__ -D__sunos__ -D__OSVERSION__=5 -o cexp.o cexp.c
"../../../../../include/omniconfig.h", line 1: syntax error before or at: /
"../../../../../include/omniconfig.h", line 1: undefined or not a type: Mode
"../../../../../include/omniconfig.h", line 1: undefined or not a type: C
"../../../../../include/omniconfig.h", line 1: warning: syntax error:  empty declaration
"../../../../../include/omniconfig.h", line 2: undefined or not a type: Package
"../../../../../include/omniconfig.h", line 3: undefined or not a type: omniORB
"../../../../../include/omniconfig.h", line 3: undefined or not a type: omniconfig
"../../../../../include/omniconfig.h", line 3: undefined or not a type: h
"../../../../../include/omniconfig.h", line 3: undefined or not a type: Created
"../../../../../include/omniconfig.h", line 3: undefined or not a type: on
"../../../../../include/omniconfig.h", line 4: undefined or not a type: Author
"../../../../../include/omniconfig.h", line 4: undefined or not a type: Duncan
"../../../../../include/omniconfig.h", line 5: syntax error before or at: /
"../../../../../include/omniconfig.h", line 6: syntax error before or at: 2002
"../../../../../include/omniconfig.h", line 6: undefined or not a type: AT
"../../../../../include/omniconfig.h", line 6: cannot recover from previous errors
cc: acomp failed for cexp.c
make[4]: *** [cexp.o] Error 2
make[4]: Leaving directory `/tmp/omnu2/omniORB-4.0.0-rc1/src/tool/omniidl/cxx/cccp'
make[3]: *** [export] Error 2
make[3]: Leaving directory `/tmp/omnu2/omniORB-4.0.0-rc1/src/tool/omniidl/cxx'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/tmp/omnu2/omniORB-4.0.0-rc1/src/tool/omniidl'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/tmp/omnu2/omniORB-4.0.0-rc1/src/tool'
make: *** [export] Error 2

-- Mark