RE: [gnomemm] libbonobo**mm linker errors



You are not alone. 

It seems I can compile everything from gnomemm cvs except libgdamm,
libbonobouimm and libgnomeuimm.

I actually got libbonobouimm to compile, by editing examples/Makefile
and telling it not to make the subdir's. (none of them would compile).

But after compiling and installing libbonobouimm, I still can't compile
libgnomuimm (and my libgdamm problems stem from some sort of sql-error).

Here is what I'm getting when I try to compile libgnomeuimm:

--------------------
g++ -g -O2 -o generate_extra_defs generate_defs_libgnomeui.o -pthread
-Wl,--export-dynamic  -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE
/usr/lib/libgnomemm-1.3.so -L/usr/kerberos/lib
/usr/lib/libgnomecanvasmm-2.0.so /usr/lib/libgconfmm-2.0.so
/usr/lib/libbonobouimm_widgets-1.3.so
/usr/lib/libbonobouimm_servers-1.3.so
/usr/lib/libbonobomm_generated_stubs-1.3.so
/usr/lib/libbonobomm_generated_skels-1.3.so
/usr/lib/libbonobomm_servers-1.3.so -lbonoboui-2
/usr/lib/libORBit-2-cpp.so -lgnomecanvas-2 -lgnome-2 -lart_lgpl_2
-lpangoft2-1.0 -lbonobo-2 /usr/lib/libgnomevfs-2.so
/usr/lib/libgconf-2.so -lssl -lcrypto -lresolv -lgssapi_krb5 -lkrb5
-lk5crypto -lcom_err -lrt -lbonobo-activation /usr/lib/libORBit-2.so
/usr/lib/libpopt.so /usr/lib/liblinc.so -lgthread-2.0
/usr/lib/libglademm-2.0.so /usr/lib/libgtkmm-2.0.so -lglade-2.0
/usr/lib/libgdkmm-2.0.so /usr/lib/libatkmm-1.0.so
/usr/lib/libpangomm-1.0.so /usr/lib/libglibmm-2.0.so /usr/lib/libxml2.so
-lz /usr/lib/libgtkmm_generate_extra_defs-2.0.so /usr/lib/libsigc-1.2.so
-lgtk-x11-2.0 -lgdk-x11-2.0 /usr/lib/libatk-1.0.so -lgdk_pixbuf-2.0 -lm
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0
/usr/bin/ld: warning: libcom_err.so.2, needed by
/usr/lib/libgnomevfs-2.so, may conflict with libcom_err.so.3
/usr/lib/libbonobouimm_widgets-1.3.so: undefined reference to
`Gnome::Bonobo::Window_Class::wrap_new(_GObject*)'
/usr/lib/libbonobouimm_widgets-1.3.so: undefined reference to
`Gnome::Bonobo::Selector_Class::wrap_new(_GObject*)'
/usr/lib/libbonobouimm_widgets-1.3.so: undefined reference to
`Gnome::Bonobo::DockBand_Class::wrap_new(_GObject*)'
/usr/lib/libbonobouimm_widgets-1.3.so: undefined reference to
`Gnome::Bonobo::Selector::get_type()'
/usr/lib/libbonobouimm_widgets-1.3.so: undefined reference to
`Gnome::Bonobo::Window::get_type()'
/usr/lib/libbonobouimm_widgets-1.3.so: undefined reference to
`Gnome::Bonobo::Widget_Class::wrap_new(_GObject*)'
/usr/lib/libbonobouimm_widgets-1.3.so: undefined reference to
`Gnome::Bonobo::SelectorWidget::get_type()'
/usr/lib/libbonobouimm_widgets-1.3.so: undefined reference to
`Gnome::Bonobo::SelectorWidget_Class::wrap_new(_GObject*)'
/usr/lib/libbonobouimm_widgets-1.3.so: undefined reference to
`Gnome::Bonobo::Widget::get_type()'
/usr/lib/libbonobouimm_widgets-1.3.so: undefined reference to
`Gnome::Bonobo::DockBand::get_type()'
/usr/lib/libbonobouimm_widgets-1.3.so: undefined reference to
`Gnome::Bonobo::DockLayout_Class::wrap_new(_GObject*)'
/usr/lib/libbonobouimm_widgets-1.3.so: undefined reference to
`Gnome::Bonobo::DockItem_Class::wrap_new(_GObject*)'
/usr/lib/libbonobouimm_widgets-1.3.so: undefined reference to
`Gnome::Bonobo::DockItem::get_type()'
/usr/lib/libbonobouimm_widgets-1.3.so: undefined reference to
`Gnome::Bonobo::DockLayout::get_type()'
/usr/lib/libbonobouimm_widgets-1.3.so: undefined reference to
`Gnome::Bonobo::Dock_Class::wrap_new(_GObject*)'
/usr/lib/libbonobouimm_widgets-1.3.so: undefined reference to
`Gnome::Bonobo::Dock::get_type()'
collect2: ld returned 1 exit status
make[2]: *** [generate_extra_defs] Error 1
make[2]: Leaving directory
`/home/james/Projects/cvs/gnome/gnomemm/libgnomeuimm/tools/extra_defs_gen'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/james/Projects/cvs/gnome/gnomemm/libgnomeuimm/tools'
make: *** [all-recursive] Error 1



----------
I'm using a pretty much stock RH 9 system. Except for the gnome stuff,
which i'm running most of 2.3.

Gtk2 version is 2.2.1-4
gtkmm version is 2.2.3



James T. Richardson, Jr.
tkf-ml teknofile org
james richardsons us


On Tue, 2003-07-08 at 04:42, Murray Cumming Comneon com wrote:
> So am I the only one with this problem? Is anyone successfully building
> libbonobo*mm on RedHat 9 from cvs?
> 
> Murray Cumming
> murrayc usa net
> www.murrayc.com
> 
> > -----Original Message-----
> > From: Murray Cumming [mailto:murrayc usa net] 
> > Sent: Dienstag, 1. Juli 2003 18:44
> > To: gnomemm-list
> > Subject: [gnomemm] libbonobo**mm linker errors
> > 
> > 
> > Am I the only one seeing these (see below) linker errors with
> > libbonobouimm from cvs? Maybe it's something to do with RedHat 9. It
> > looks like the stuff in the widgets directories just are not being
> > built. I have looked at the generated Makefiles and I can't 
> > see why not.
> > 
> > To test this yourself, I suggest that you try completely fresh
> > checkouts, also of orbitcpp and ORBit because there's been 
> > some awkward
> > changes there. I recommend jhbuild for this kind of thing. 
> > For instance:
> > jhbuild build -a meta-gnome-c++.
> > 
> > 
> > /home/murrayc/cvs/gnome2/gnomemm/libbonobouimm/examples/hello/
> > main.cc:46: undefined reference to 
> > `Gnome::Bonobo::Window::~Window [not-in-charge]()'
> > main.o(.text+0x128):/home/murrayc/cvs/gnome2/gnomemm/libbonobo
> > uimm/examples/hello/main.cc:43: undefined reference to 
> > `Gnome::Bonobo::Window::~Window [not-in-charge]()'
> > hellowindow.o(.text+0x45): In function
> > `HelloWindow::HelloWindow[not-in-charge]()':
> > /opt/gtk2/include/sigc++-1.2/sigc++/object_slot.h:62: undefined
> > reference to 
> > `Gnome::Bonobo::Window::Window[not-in-charge](Glib::ustring
> > const&, Glib::ustring const&)'
> > 
> > 
> > -- 
> > Murray Cumming
> > murray usa net
> > www.murrayc.com
> > 
> > 
> > _______________________________________________
> > gnomemm-list mailing list
> > gnomemm-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gnomemm-list
> > 
> _______________________________________________
> gnomemm-list mailing list
> gnomemm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnomemm-list




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