GNOME Bugzilla – Bug 138345
Next error in libbonobomm
Last modified: 2004-12-22 21:47:04 UTC
got the cvs and the previous problem is corrected. This is the next error the comes up when compiling it. make all-am make[4]: Entering directory `/home/rcook/src/gnomemm/libbonobomm/bonobomm/generated' if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../bonobomm -DORBIT2=1 -I/usr/include/gtkmm-2.3 -I/usr/lib/gtkmm-2.3/include -I/usr/include/glibmm-2.3 -I/usr/lib/glibmm-2.3/include -I/usr/include/gdkmm-2.3 -I/usr/lib/gdkmm-2.3/include -I/usr/include/pangomm-1.3 -I/usr/include/atkmm-1.3 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/include/libbonobo-2.0 -I/usr/include/orbit-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbitcpp-2.0 -g -O2 -MT Bonobo-cpp-common.lo -MD -MP -MF ".deps/Bonobo-cpp-common.Tpo" -c -o Bonobo-cpp-common.lo Bonobo-cpp-common.cc; \ then mv -f ".deps/Bonobo-cpp-common.Tpo" ".deps/Bonobo-cpp-common.Plo"; else rm -f ".deps/Bonobo-cpp-common.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I../../bonobomm -DORBIT2=1 -I/usr/include/gtkmm-2.3 -I/usr/lib/gtkmm-2.3/include -I/usr/include/glibmm-2.3 -I/usr/lib/glibmm-2.3/include -I/usr/include/gdkmm-2.3 -I/usr/lib/gdkmm-2.3/include -I/usr/include/pangomm-1.3 -I/usr/include/atkmm-1.3 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/include/libbonobo-2.0 -I/usr/include/orbit-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbitcpp-2.0 -g -O2 -MT Bonobo-cpp-common.lo -MD -MP -MF .deps/Bonobo-cpp-common.Tpo -c Bonobo-cpp-common.cc -fPIC -DPIC -o .libs/Bonobo-cpp-common.o In file included from Bonobo-cpp-stubs.h:11, from Bonobo-cpp-common.cc:6: Bonobo-cpp-common.h:4320: error: `TypeCode_mgr' undeclared in namespace `CORBA' Bonobo-cpp-common.h:4320: error: template argument 2 is invalid Bonobo-cpp-common.h:4320: error: ISO C++ forbids declaration of `type name' with no type Bonobo-cpp-common.h: In instantiation of `_orbitcpp::CompoundSeqBase<CORBA::TypeCode, int>': Bonobo-cpp-common.h:4320: instantiated from `_orbitcpp::CompoundUnboundedSeq<CORBA::TypeCode, int>' Bonobo-cpp-common.h:4320: instantiated from here Bonobo-cpp-common.h:4320: error: `int' is not a class, struct, or union type /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:75: error: ` int' is not a class, struct, or union type /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:76: error: ` int' is not a class, struct, or union type /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:77: error: ` int' is not a class, struct, or union type /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:79: error: ` int' is not a class, struct, or union type /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:80: error: ` int' is not a class, struct, or union type /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:84: error: ` int' is not a class, struct, or union type /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:85: error: ` int' is not a class, struct, or union type /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:86: error: ` int' is not a class, struct, or union type /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:90: error: ` int' is not a class, struct, or union type /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:98: error: ` int' is not a class, struct, or union type /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:110: error: ` int' is not a class, struct, or union type /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:114: error: ` int' is not a class, struct, or union type /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:118: error: ` int' is not a class, struct, or union type /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:122: error: ` int' is not a class, struct, or union type /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h: In instantiation of `_orbitcpp::CompoundUnboundedSeq<CORBA::TypeCode, int>': Bonobo-cpp-common.h:4320: instantiated from here /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:132: error: ` int' is not a class, struct, or union type /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:133: error: ` int' is not a class, struct, or union type /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:136: error: no type named `value_t' in `class _orbitcpp::CompoundSeqBase<CORBA::TypeCode, int>' /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:137: error: no type named `value_t' in `class _orbitcpp::CompoundSeqBase<CORBA::TypeCode, int>' /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:140: error: no type named `size_t' in `class _orbitcpp::CompoundSeqBase<CORBA::TypeCode, int>' /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:141: error: no type named `index_t' in `class _orbitcpp::CompoundSeqBase<CORBA::TypeCode, int>' /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:142: error: no type named `buffer_t' in `class _orbitcpp::CompoundSeqBase<CORBA::TypeCode, int>' /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:146: error: no type named `size_t' in `class _orbitcpp::CompoundSeqBase<CORBA::TypeCode, int>' /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:154: error: no type named `buffer_t' in `class _orbitcpp::CompoundSeqBase<CORBA::TypeCode, int>' /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:160: error: no type named `value_t' in `class _orbitcpp::CompoundSeqBase<CORBA::TypeCode, int>' /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:166: error: no type named `size_t' in `class _orbitcpp::CompoundSeqBase<CORBA::TypeCode, int>' Bonobo-cpp-common.h:4321: error: syntax error before `;' token Bonobo-cpp-common.cc: In constructor ` Bonobo::Application::MessageDesc::MessageDesc()': Bonobo-cpp-common.cc:8665: error: no matching function for call to ` _orbitcpp::CompoundUnboundedSeq<CORBA::TypeCode, int>::CompoundUnboundedSeq( )' /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:129: error: candidates are: _orbitcpp::CompoundUnboundedSeq<CORBA::TypeCode, int>::CompoundUnboundedSeq(const _orbitcpp::CompoundUnboundedSeq<CORBA::TypeCode, int>&) Bonobo-cpp-common.cc: In constructor ` Bonobo::Application::MessageDesc::MessageDesc(const Bonobo_Application_MessageDesc&)': Bonobo-cpp-common.cc:8669: error: no matching function for call to ` _orbitcpp::CompoundUnboundedSeq<CORBA::TypeCode, int>::CompoundUnboundedSeq( )' /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_compound_seq.h:129: error: candidates are: _orbitcpp::CompoundUnboundedSeq<CORBA::TypeCode, int>::CompoundUnboundedSeq(const _orbitcpp::CompoundUnboundedSeq<CORBA::TypeCode, int>&) Bonobo-cpp-common.cc: In member function `void Bonobo::Application::MessageDesc::_orbitcpp_pack(Bonobo_Application_MessageDesc&) const': Bonobo-cpp-common.cc:8686: error: `_orbitcpp_pack' undeclared (first use this function) Bonobo-cpp-common.cc:8686: error: (Each undeclared identifier is reported only once for each function it appears in.) Bonobo-cpp-common.cc:8687: error: `return_type' undeclared (first use this function) Bonobo-cpp-common.cc: In member function `void Bonobo::Application::MessageDesc::_orbitcpp_unpack(const Bonobo_Application_MessageDesc&)': Bonobo-cpp-common.cc:8695: error: `_orbitcpp_unpack' undeclared (first use this function) make[4]: *** [Bonobo-cpp-common.lo] Error 1 make[4]: Leaving directory `/home/rcook/src/gnomemm/libbonobomm/bonobomm/generated' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/rcook/src/gnomemm/libbonobomm/bonobomm/generated' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/rcook/src/gnomemm/libbonobomm/bonobomm' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/rcook/src/gnomemm/libbonobomm/bonobomm' make: *** [all-recursive] Error 1
What version of orbitcpp do you have? Did you try a fresh checkout (deleting the previous checkout)?
This is definitely a problem with older orbitcpp. It has been fixed in CVS along with a bunch of other typecode related problems. It looks like it will be time for a new release of orbitcpp soon. Until then please use the CVS HEAD version of orbitcpp.