[omniORB] Problem compiling omniEvent in RedHat 6.1 using gcc-2.91.66

Janne Haverinen johannes@ees2.oulu.fi
Thu, 31 Aug 2000 11:11:30 +0300


Hi,

I get errors below when compiling omniEvents (for omniORB2.8) in RH 6.1
using  gcc-2.91.66.
Is there a way to get around of this or do I have to change my versions
of compiler and OS?

Regards,

Janne

oep_types.cc: In method `OEP_ecps::OEP_ecps()':
oep_types.cc:272: warning: using type void* for NULL
oep_types.cc:272: warning: using type void* for NULL
oep_types.cc:272: no matching function for call to `list<OEP_caps
*,__default_alloc_template<true,0> >::list (NULL)'
/usr/include/g++-2/stl_list.h:212: candidates are: list<OEP_caps
*,__default_alloc_template<true,0> >::list<OEP_caps *, alloc>()
/usr/include/g++-2/stl_list.h:283:                 list<OEP_caps
*,__default_alloc_template<true,0> >::list<OEP_caps *, alloc>(unsigned
int, OEP_caps *const &)
/usr/include/g++-2/stl_list.h:284:                 list<OEP_caps
*,__default_alloc_template<true,0> >::list<OEP_caps *, alloc>(int,
OEP_caps *const &)
/usr/include/g++-2/stl_list.h:285:                 list<OEP_caps
*,__default_alloc_template<true,0> >::list<OEP_caps *, alloc>(long int,
OEP_caps *const &)
/usr/include/g++-2/stl_list.h:286:                 list<OEP_caps
*,__default_alloc_template<true,0> >::list<OEP_caps *, alloc>(unsigned
int)
/usr/include/g++-2/stl_list.h:300:                 list<OEP_caps
*,__default_alloc_template<true,0> >::list<OEP_caps *, alloc>(const
list<OEP_caps *,__default_alloc_template<true,0> > &)
oep_types.cc:272: warning: using type void* for NULL
oep_types.cc:272: warning: using type void* for NULL
oep_types.cc:272: no matching function for call to `list<OEP_saps
*,__default_alloc_template<true,0> >::list (NULL)'
/usr/include/g++-2/stl_list.h:212: candidates are: list<OEP_saps
*,__default_alloc_template<true,0> >::list<OEP_saps *, alloc>()
/usr/include/g++-2/stl_list.h:283:                 list<OEP_saps
*,__default_alloc_template<true,0> >::list<OEP_saps *, alloc>(unsigned
int, OEP_saps *const &)
/usr/include/g++-2/stl_list.h:284:                 list<OEP_saps
*,__default_alloc_template<true,0> >::list<OEP_saps *, alloc>(int,
OEP_saps *const &)
/usr/include/g++-2/stl_list.h:285:                 list<OEP_saps
*,__default_alloc_template<true,0> >::list<OEP_saps *, alloc>(long int,
OEP_saps *const &)
/usr/include/g++-2/stl_list.h:286:                 list<OEP_saps
*,__default_alloc_template<true,0> >::list<OEP_saps *, alloc>(unsigned
int)
/usr/include/g++-2/stl_list.h:300:                 list<OEP_saps
*,__default_alloc_template<true,0> >::list<OEP_saps *, alloc>(const
list<OEP_saps *,__default_alloc_template<true,0> > &)
make[1]: *** [oep_types.o] Error 1
make[1]: Leaving directory
`/usr/local/omni2_8_0/src/contrib/omniEvents/fe'
make: *** [export] Error 1