[omniORB] Problems Compiling OmniNotify (1.1 & 1.0)

Juan M. Casillas juanm.casillas@eresmas.com
Wed, 14 Mar 2001 16:54:46 +0100 (CET)


Hello,

	I'm trying to compile OmniNotify and every time I got an error
	When I try to compile with glibc2.1 (on a linux box) I got a 
	internal compiler error, but when I try to compile it with 
	glibc2.0 I get another error:

	(this is a trace of a OmniORB 3.0.2 with OmniNotify 1.0 and
	 1.1. With OmniORB 3.0.3 the result is the same).

	 Sorry for the big trace.


halt:/home/assman/OmniORB/3.0.2/omni/src/services/omniNotify>make export
making export in src/services/omniNotify/lib...
make[1]: Entering directory `/home/assman/OmniORB/3.0.2/omni/src/services/omniNotify/lib'
../../../../bin/i586_linux_2.0_glibc/omniidl -bcxx -Wba -DNOLONGLONG -WbBOA -I. -I../../../../idl/COS -Wbuse_quotes -DNOLONGLONG -WbBOA ../../../../idl/COS/RDITestTypes.idl
../../../../bin/i586_linux_2.0_glibc/omniidl -bcxx -Wba -DNOLONGLONG -WbBOA -I. -I../../../../idl/COS -Wbuse_quotes -DNOLONGLONG -WbBOA ../../../../idl/COS/TimeBase.idl
../../../../bin/i586_linux_2.0_glibc/omniidl -bcxx -Wba -DNOLONGLONG -WbBOA -I. -I../../../../idl/COS -Wbuse_quotes -DNOLONGLONG -WbBOA ../../../../idl/COS/CosNotification.idl
../../../../bin/i586_linux_2.0_glibc/omkdepend -D__cplusplus -D__GNUG__ -D__GNUC__ -D__OMNIORB3__ -I../../../../stub -D_REENTRANT -D_COS_LIBRARY -I../../../../include/COS/BOA -DCOS_USES_BOA -I. -I../../../../include -D__x86__ -D__linux__ -D__OSVERSION__=2 -I../../../../src/services/include -I../../../../src/services/omniNotify/include RDITestTypesDynSK.cc TimeBaseDynSK.cc CosNotificationDynSK.cc omniNotify.cc CosNotification.cc CosEventProxy.cc RDIEventQueue.cc RDIChannelUtil.cc PushSupplier_i.cc PullSupplier_i.cc EventChannel_i.cc PushConsumer_i.cc PullConsumer_i.cc ChannelAdmin_i.cc RDIOpSeq.cc RDIConstraint.cc RDIDynamicEval.cc RDIStaticEval.cc RDIEval.cc RDIRVM.cc RDIParser_l.cc RDIParser_y.cc CosNaming_i.cc RDILog.cc RDIFileIO.cc RDIConfig.cc RDIFileSys.cc RDI.cc RDITypeMap.cc FilterAdmin_i.cc Filter_i.cc RDITime.cc RDIDebug.cc
+ mkdirhier static
/usr/bin/g++ -c -g -Wall -Wno-unused -D__OMNIORB3__ -I../../../../stub -D_REENTRANT -D_COS_LIBRARY  -I../../../../include/COS/BOA -DCOS_USES_BOA -I.  -I../../../../include -D__x86__ -D__linux__ -D__OSVERSION__=2 -I../../../../src/services/include -I../../../../src/services/omniNotify/include -o static/RDIDebug.o RDIDebug.cc
/usr/bin/g++ -c -g -Wall -Wno-unused -D__OMNIORB3__ -I../../../../stub -D_REENTRANT -D_COS_LIBRARY  -I../../../../include/COS/BOA -DCOS_USES_BOA -I.  -I../../../../include -D__x86__ -D__linux__ -D__OSVERSION__=2 -I../../../../src/services/include -I../../../../src/services/omniNotify/include -o static/RDITime.o RDITime.cc
/usr/bin/g++ -c -g -Wall -Wno-unused -D__OMNIORB3__ -I../../../../stub -D_REENTRANT -D_COS_LIBRARY  -I../../../../include/COS/BOA -DCOS_USES_BOA -I.  -I../../../../include -D__x86__ -D__linux__ -D__OSVERSION__=2 -I../../../../src/services/include -I../../../../src/services/omniNotify/include -o static/Filter_i.o Filter_i.cc
In file included from Filter_i.cc:51:
../../../../src/services/omniNotify/include/RDIOstreamUtils.h: In function `class ostream & operator <<(ostream &, CosN_StructuredEvent &)':
../../../../src/services/omniNotify/include/RDIOstreamUtils.h:358: ambiguous overload for `CORBA::String_member & ? CORBA::String_member & : const char[1]'
../../../../src/services/omniNotify/include/RDIOstreamUtils.h:358: candidates are: operator ?:(bool, const char *, const char *) <builtin>
../../../../src/services/omniNotify/include/RDIOstreamUtils.h:358:                 operator ?:(bool, char *, char *) <builtin>
../../../../src/services/omniNotify/include/RDIOstreamUtils.h:359: ambiguous overload for `CORBA::String_member & ? CORBA::String_member & : const char[1]'
../../../../src/services/omniNotify/include/RDIOstreamUtils.h:359: candidates are: operator ?:(bool, const char *, const char *) <builtin>
../../../../src/services/omniNotify/include/RDIOstreamUtils.h:359:                 operator ?:(bool, char *, char *) <builtin>
../../../../src/services/omniNotify/include/RDIOstreamUtils.h:360: ambiguous overload for `CORBA::String_member & ? CORBA::String_member & : const char[1]'
../../../../src/services/omniNotify/include/RDIOstreamUtils.h:360: candidates are: operator ?:(bool, const char *, const char *) <builtin>
../../../../src/services/omniNotify/include/RDIOstreamUtils.h:360:                 operator ?:(bool, char *, char *) <builtin>
make[1]: *** [static/Filter_i.o] Error 1
make[1]: Leaving directory `/home/assman/OmniORB/3.0.2/omni/src/services/omniNotify/lib'
make: *** [export] Error 1
halt:/home/assman/OmniORB/3.0.2/omni/src/services/omniNotify>


Kind Regards.

Juan M. Casillas