[omniORB] Re: problem compiling the omniEvents 2.1

Paul Nader Paul.Nader@aals27.alcatel.com.au
Fri, 13 Oct 2000 20:22:47 +1000


and this one...


bash$ rcsdiff -r1.7 EventChannelFactory_i.h
===================================================
RCS file: RCS/EventChannelFactory_i.h,v
retrieving revision 1.7
diff -r1.7 EventChannelFactory_i.h
80c83
< #ifdef STL_HAS_DEFAULT_ALLOCATOR
---
> #ifdef STL_HAS_DEFAULT_ARGS

I'm preparing omniEvents 2.1.1 with both changes in it. I'll post a note to
the list when its ready.

Paul.

Paul Nader wrote:

> Hi Janne,
>
> Apply this diff:
>
> bash$ rcsdiff -r1.8 oep_types.h
> ===================================================================
> RCS file: RCS/oep_types.h,v
> retrieving revision 1.8
> diff -r1.8 oep_types.h
> 79c79
> < #ifdef HAS_DEFAULT_STL_ARGS
> ---
> > #ifdef STL_HAS_DEFAULT_ARGS
>
> (ie include/oep_types.h line 79 should read STL_HAS_DEFAULT_ARGS not
>  HAS_DEFAULT_STL_ARGS)
>
> Thanks, Paul.
>
> Janne Haverinen wrote:
>
> > Hi Paul, and thanks for the omniEvents 2.1!
> >
> > I have some problems compiling the omniEvents for Linux. Linux
> > distribution I'm using
> > is RH6.2 with egcs-2.91.66.
> >
> > The following errors remain during compilation, no matter what
> > combination of STL defines I use.
> >
> > Regards,
> > Janne
> >
> > make[1]: Entering directory `/usr/local/omni/src/contrib/omniEvents/fe'
> > ../../../../bin/i586_linux_2.0_glibc2.1/omkdepend -D__cplusplus
> > -D__GNUG__ -D__GNUC__ -DSTL_NO_ALLOCATOR_ARGS -I../include
> > -D__OMNIORB3__ -I../../../../stub -D_REENTRANT -D__STL_NO_NAMESPACES -I.
> > -I../../../../include -D__x86__ -D__linux__ -D__OSVERSION__=2 chkfmt.cc
> > oep_global.cc oep_types.cc lex.yy.cc y.tab.cc
> > /usr/bin/g++ -c -O2  -Wall -Wno-unused -DSTL_NO_ALLOCATOR_ARGS
> > -I../include -D__OMNIORB3__ -I../../../../stub -D_REENTRANT
> > -D__STL_NO_NAMESPACES -I.  -I../../../../include -D__x86__ -D__linux__
> > -D__OSVERSION__=2 -o y.tab.o y.tab.cc
> > In file included from ../include/omniEvents.h:66,
> >                  from oep.yy:56:
> > ../include/oep_types.h:90: `allocator' was not declared in this scope
> > ../include/oep_types.h:90: template argument 2 is invalid
> > ../include/oep_types.h:90: warning: ANSI C++ forbids typedef which does
> > not specify a type
> > ../include/oep_types.h:91: `allocator' was not declared in this scope
> > ../include/oep_types.h:91: template argument 2 is invalid
> > ../include/oep_types.h:91: warning: ANSI C++ forbids typedef which does
> > not specify a type
> > ../include/oep_types.h:92: `allocator' was not declared in this scope
> > ../include/oep_types.h:92: template argument 2 is invalid
> > ../include/oep_types.h:92: warning: ANSI C++ forbids typedef which does
> > not specify a type
> > ../include/oep_types.h:93: `allocator' was not declared in this scope
> > ../include/oep_types.h:93: template argument 2 is invalid
> > ../include/oep_types.h:93: warning: ANSI C++ forbids typedef which does
> > not specify a type
> > make[1]: *** [y.tab.o] Error 1
> > make[1]: Leaving directory `/usr/local/omni/src/contrib/omniEvents/fe'
> > make: *** [all] Error 1