After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 165874 - does not build against recent libgnome
does not build against recent libgnome
Status: RESOLVED FIXED
Product: bonobo
Classification: Deprecated
Component: libbonoboui
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Michael Meeks
bonobo qa
Depends on:
Blocks:
 
 
Reported: 2005-02-01 00:03 UTC by Mike Castle
Modified: 2005-02-01 06:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mike Castle 2005-02-01 00:03:53 UTC
This may be a bug in libgnome instead of libbonoboui.  I've not yet investigated
enough to decide.  I just wanted to go ahead and get it reported.

I'm constanstly building bleeding edge code against bleeding edge code, so I
expect things like this to happen.

If I'm building libbonoboui (either 2.6.1 or 2.8.0) against libgnome-2.9.1, I
get this error:

make[3]: Entering directory
`/usr/src/libbonoboui/libbonoboui-2.8.0-build/samples/bonoboui'
/bin/sh ../../libtool --mode=link i486-linux-gcc  -g -O2   -o bonobo-hello 
hello.o ../../bonobo/libbonoboui-2.la -Wl,--export-dynamic -pthread
-lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgnome-2 -lpopt -lgnomevfs-2
-lbonobo-2 -lbonobo-activation -lxml2 -lpthread -lz -lgconf-2 -lORBit-2
-lgthread-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgmodule-2.0 -ldl -lgobject-2.0
-lglib-2.0   
i486-linux-gcc -g -O2 -o .libs/bonobo-hello hello.o -Wl,--export-dynamic 
../../bonobo/.libs/libbonoboui-2.so -L/usr/lib -lSM -lICE -L/usr/X11R6/lib -lX11
-pthread /usr/lib/libgnomecanvas-2.so /usr/lib/libart_lgpl_2.so
/usr/lib/libpangoft2-1.0.so /usr/lib/libgnome-2.so /usr/lib/libesd.so
/usr/lib/libaudiofile.so /usr/lib/libgnomevfs-2.so -lssl -lcrypto
/usr/lib/libhowl.so -lresolv -lrt /usr/lib/libbonobo-2.so
/usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so
/usr/lib/libxml2.so -lz /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so
/usr/lib/libpopt.so /usr/lib/libgthread-2.0.so -lpthread
/usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so
/usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so
/usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so -lm
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so
../../bonobo/.libs/libbonoboui-2.so: undefined reference to `_'
collect2: ld returned 1 exit status
make[3]: *** [bonobo-hello] Error 1

If I drop back to libgnome-2.8.0, it builds find.

Maybe it's a bug in libgnome.  Maybe it's a bug in libbonoboui's gettext
detection in configure.  I'm not sure.
Comment 1 Mike Castle 2005-02-01 06:03:04 UTC
Ok... looks like libgnome/gnome-i18n.h is deprecated.

        * libgnome/gnome-i18n.h:
        Deprecate, use glib/gi18n.h and g_get_language_names instead.

Oh... and I see this was already done in the code back in Nov.

I'll close the bug.  :->