Re: [gnomemm] Re: libbonobomm compile problems



Bryan Forbes wrote:

Hey Bowie,
   The commits fixed the generation error, but now bonobomm isn't compiling.  Not sure
if this is orbitcpp's fault or not.  Here is there error:

Bonobo-cpp-common.cc: In member function `Bonobo::Unknown*
  Bonobo::Moniker::resolve(const Bonobo::ResolveOptions&, const char*)':
Bonobo-cpp-common.cc:451: `GeneralError' undeclared in namespace `Bonobo'
Bonobo-cpp-common.cc:451: syntax error before `;' token
Bonobo-cpp-common.cc:452: `ex' undeclared (first use this function)
Bonobo-cpp-common.cc:452: (Each undeclared identifier is reported only once for
  each function it appears in.)
Bonobo-cpp-common.cc: In member function `Bonobo::Unknown*
  Bonobo::MonikerExtender::resolve(Bonobo::Moniker*, const
  Bonobo::ResolveOptions&, const char*, const char*)':
Bonobo-cpp-common.cc:570: `GeneralError' undeclared in namespace `Bonobo'
Bonobo-cpp-common.cc:570: syntax error before `;' token
make[3]: *** [Bonobo-cpp-common.lo] Error 1
make[3]: Leaving directory `/home/cvs/gnomemm/libbonobomm/bonobomm/generated'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/cvs/gnomemm/libbonobomm/bonobomm'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/cvs/gnomemm/libbonobomm/bonobomm'
make: *** [all-recursive] Error 1

If you need anything (like files that orbitcpp generated), let me know.  Thanks in
advance!
I think this is a problem with libbonobomm. Some of the definitions are missing because the are inhibited, but for building libbonobomm nothing should be inhibited. I have attached a small patch for libbonobomm/bonobomm/generated/Makefile.am. Can you please cd libbonobomm/bonobomm/generated ; patch < bonobomm.patch. You will need to run autogen.sh at the libbonobomm top directory and make sure the generated .cc files are removed. Can you confirm that after that you can build libbonobomm.

--
Bowie Owens

CSIRO Mathematical & Information Sciences
phone  : +61 3 9545 8055
fax    : +61 3 9545 8080
mobile : 0425 729 875
email  : Bowie Owens csiro au


Index: Makefile.am
===================================================================
RCS file: /cvs/gnome/gnomemm/libbonobomm/bonobomm/generated/Makefile.am,v
retrieving revision 1.7
diff -u -r1.7 Makefile.am
--- Makefile.am	26 Aug 2003 17:11:04 -0000	1.7
+++ Makefile.am	5 Nov 2003 02:56:13 -0000
@@ -1,4 +1,4 @@
-idl_defines = -D__Bonobo_COMPILATION  -D__Bonobo_Unknown_COMPILATION
+idl_defines = -D__Bonobo_COMPILATION  -D__Bonobo_Unknown_COMPILATION -D__Bonobo_GenericFactory_COMPILATION -D__Bonobo_Activation_types_COMPILATION
 
 files_h_common = Bonobo.h
 files_c_stubs = Bonobo-common.c Bonobo-stubs.c


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]