AW: [omniNotify] omniNotify - error during compile - cannot beoverloaded

evgeni.rojkov at durr.com evgeni.rojkov at durr.com
Wed Jan 19 13:24:40 GMT 2011


Hi Stuart,
omniNotify project looks to be not up-to-date, so I would avoid using it.
omniORB already includes compiled cosNotification stubs, so could be used with
some NotificationService "out-of-the-box" :-).
Have successfully tested omniORB with JacORB NotificationService.

Mit freundlichen Grüßen/Best regards
Evgeni Rojkov


-----Ursprüngliche Nachricht-----
Von: omninotify-list-bounces at omniorb-support.com
[mailto:omninotify-list-bounces at omniorb-support.com] Im Auftrag von Stuart
Murray
Gesendet: Dienstag, 18. Januar 2011 22:43
An: omninotify-list at omniorb-support.com
Betreff: [omniNotify] omniNotify - error during compile - cannot beoverloaded

Hi,

I have downloaded and installed the omniORB-4.1.5 and omniORBpy-3.5 on a linux
RHEL 4 workstation without any problem using the standard configuration, make
and make install.

I have downloaded omniNotify-2.1.tar.gz and I am getting an error message in the
RDIstrstream.h file during compilation. Has anyone else experienced this
problem? I have attached the config.log and config.status files as additional
information. The two lines in question are located in the RDIstrstream.h file.
#ifdef HAS_LongLong
   RDIstrstream& operator<<(WRAPPED_CORBA_LONGLONG_TYPE n);
   RDIstrstream& operator<<(WRAPPED_CORBA_ULONGLONG_TYPE n); #endif

Thanks,
Stuart

Error message:
**************************
make[1]: Leaving directory `./omniNotify/build/mkattlib'
making export in ./lib...
make[1]: Entering directory `./omniNotify/build/lib'
File omniNotify.h hasn't changed.
File CosNotifyShorthands.h hasn't changed.
File RDIStringDefs.h hasn't changed.
File RDIstrstream.h hasn't changed.
File RDIOSWrappers.h hasn't changed.
File thread_wrappers.h hasn't changed.
File omnithread_thread_wrappers.h hasn't changed.
File RDIInteractiveMode.h hasn't changed.
File corba_wrappers.h hasn't changed.
File corba_wrappers_impl.h hasn't changed.
File omniorb_common_wrappers.h hasn't changed.
File omniorb_boa_wrappers.h hasn't changed.
File omniorb_poa_wrappers.h hasn't changed.
File omniorb_boa_wrappers_impl.h hasn't changed.
File omniorb_poa_wrappers_impl.h hasn't changed.
File RDIsysdep.h hasn't changed.
g++ -c -O2 -DNDEBUG  -Wall -Wno-unused -fexceptions -D__OMNIORB4__
-I../stub -D_REENTRANT -I/usr/local/include -I../include/COS -I../../include/COS
-I/usr/local/include/COS -D_OMNINOTIFY_LIBRARY -DUSE_stub_in_nt_dll -I.
-I../../lib -I../include -I../../include
-D__OSVERSION__=2 -D__linux__ -I../src/services/omniNotify/include
-I../../src/services/omniNotify/include
-I/usr/local/src/services/omniNotify/include -o static/RDIInteractive.o
../../lib/RDIInteractive.cc In file included from
../../include/RDIInteractive.h:35,
                  from ../../lib/RDIInteractive.cc:32:
../../include/RDIstrstream.h:65: error: `RDIstrstream&
RDIstrstream::operator<<(long int)' and `RDIstrstream&
RDIstrstream::operator<<(long int)' cannot be overloaded
../../include/RDIstrstream.h:66: error: `RDIstrstream&
RDIstrstream::operator<<(long unsigned int)' and `RDIstrstream&
RDIstrstream::operator<<(long unsigned int)' cannot be overloaded
make[1]: *** [static/RDIInteractive.o] Error 1
make[1]: Leaving directory `./omniNotify/build/lib'
make: *** [all] Error 1
[.. build]$

***********************
Results of the configure:
[.. build]$ ../configure PYTHON=/usr/local/bin/python checking build system
type... x86_64-unknown-linux-gnu checking host system type...
x86_64-unknown-linux-gnu checking for gcc... gcc checking for C compiler default
output... a.out checking whether the C compiler works... yes checking whether we
are cross compiling... no checking for suffix of executables...
checking for suffix of object files... o checking whether we are using the GNU C
compiler... yes checking whether gcc accepts -g... yes checking for g++... g++
checking whether we are using the GNU C++ compiler... yes checking whether g++
accepts -g... yes checking how to run the C preprocessor... gcc -E checking for
ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... yes checking for omniORB root...
/usr/local checking whether to build static libraries... yes checking for
omkdepend... /usr/local/bin/omkdepend checking for omkdirhier...
omniNotify/bin/scripts/omkdirhier
configure: creating ./config.status
config.status: creating mk/beforeauto.mk
config.status: creating mk/afterauto.mk
config.status: creating GNUmakefile
config.status: creating mkattlib/GNUmakefile
config.status: creating mkattlib/mkBOAlib/GNUmakefile
config.status: creating lib/GNUmakefile
config.status: creating daemon/GNUmakefile
config.status: creating examples/GNUmakefile
config.status: creating include/GNUmakefile
***************************



More information about the omninotify-list mailing list