GNOME Bugzilla – Bug 376211
configure succeeds; compile fails due to bad ORBit version
Last modified: 2006-11-19 12:10:07 UTC
Please describe the problem: My system has ORBit 2.10.2 installed. I am trying to build libbonobo-2.16.0. The configure step (configure --prefix=/usr --enable-gtk-doc i486-slackware-linux) succeeds. However, the build fails with the following error: i486-slackware-linux-gcc -O2 -march=i486 -mcpu=i686 -o .libs/bonobo-activation-server activation-server-corba-extensions.o activation-context-query.o activation-context-query-lexer.o activation-context-query-parser.o activation-context-corba.o object-directory-corba.o object-directory-load.o object-directory-activate.o object-directory-config-file.o activation-server-main.o -Wl,--export-dynamic -pthread ../bonobo/.libs/libbonobo-2.so /mnt/raid/download/computer/software/gnome/libbonobo/2.16/src/libbonobo-2.16.0/bonobo-activation/.libs/libbonobo-activation.so ../bonobo-activation/.libs/libbonobo-activation.so -lname-server-2 /usr/lib/libORBitCosNaming-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so -lrt /usr/lib/libxml2.so -ldl -lz -lm object-directory-corba.o(.text+0x1978): In function `client_cnx_broken': : undefined reference to `ORBit_sequence_remove' collect2: ld returned 1 exit status make[3]: *** [bonobo-activation-server] Error 1 make[3]: Leaving directory `/mnt/raid/download/computer/software/gnome/libbonobo/2.16/src/libbonobo-2.16.0/activation-server' make[2]: *** [all] Error 2 make[2]: Leaving directory `/mnt/raid/download/computer/software/gnome/libbonobo/2.16/src/libbonobo-2.16.0/activation-server' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/raid/download/computer/software/gnome/libbonobo/2.16/src/libbonobo-2.16.0' make: *** [all] Error 2 make failed. The ChangeLog for ORBit2 indicates that the function ORBit_sequence_remove was added for ORBit2 version 2.11.2. However, libbonobo's configure script requires only version 2.9.2. I adjusted configure.in as per proposed patch below, and ran autoconf. configure then correctly identified the wrong version of ORBit2. NOTE: I plan to upgrade my system to ORBit2-2.14.3 after filing this bug. Therefore, I most likely will not detect any build errors that may occur later with ORBit2-2.11.2. Steps to reproduce: see description. Actual results: Build fails Expected results: configure should have indicated that the version of ORBit2 is insufficient to proceed with build. Does this happen every time? yes. Other information: Proposed patch: diff -r -u libbonobo-2.16.0/configure.in libbonobo-2.16.0.patched/configure.in --- libbonobo-2.16.0/configure.in 2006-09-04 09:08:02.000000000 -0600 +++ libbonobo-2.16.0.patched/configure.in 2006-11-16 23:41:26.000000000 -0700 @@ -102,7 +102,7 @@ # # Start of pkg-config checks # -ORBIT_VERSION=2.9.2 +ORBIT_VERSION=2.11.2 GLIB_VERSION=2.8.0 PKG_CHECK_MODULES(LIBBONOBO, \
Yeah, this is my fault, sorry :|
Fixed in CVS.