Re: Build error (linc_source_create_watch)
- From: Malcolm Tredinnick <malcolm commsecure com au>
- To: desktop-devel-list gnome org
- Subject: Re: Build error (linc_source_create_watch)
- Date: Mon, 28 Apr 2003 00:09:33 +1000
Andrew,
On Sun, Apr 27, 2003 at 01:52:33PM +0100, Andrew Sobala wrote:
> The same sort of thing is still happening.
>
> /bin/sh ../../libtool --mode=link gcc -g -O2 -o bonobo-hello hello.o ../../bonobo/libbonoboui-2.la -Wl,--export-dynamic -pthread -L/gnome/install/lib -lgnom
> ecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgnome-2 -lbonobo-2 -lgnomevfs-2 -lbonobo-activation -lxml2 -lpthread -lz -lgconf-2 -lORBit-2 -llinc -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 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
>
> /gnome/install/lib/libORBit-2.so: undefined reference to `linc_connection_wait_connected'
> /gnome/install/lib/libORBit-2.so: undefined reference to `linc_source_create_watch'
> /gnome/install/lib/libORBit-2.so: undefined reference to `linc_connection_get_status'
> /gnome/install/lib/libORBit-2.so: undefined reference to `linc_connection_disconnect'
> collect2: ld returned 1 exit status
> make[3]: *** [bonobo-hello] Error 1
I posted a patch to gnome-components to fix this and am just waiting for
approval from Michael Meeks. It's a linking order problem that sometimes
pops up with libtool (somebody else worked out what the problem with
libbonoboui was; I just worked out the fix).
Apply the following and it will build again...
Index: Makefile.am
===================================================================
RCS file: /cvs/gnome/libbonoboui/bonobo/Makefile.am,v
retrieving revision 1.205
diff -u -r1.205 Makefile.am
--- Makefile.am 17 Apr 2003 17:54:26 -0000 1.205
+++ Makefile.am 27 Apr 2003 14:06:16 -0000
@@ -79,7 +79,7 @@
-no-undefined
libbonoboui_2_la_LIBADD = \
- -lpopt $(BONOBOUI_LIBS)
+ $(BONOBOUI_LIBS) -lpopt
libbonoboui_2_la_SOURCES = \
bonobo-a11y.c \
Cheers,
Malcolm
--
If at first you don't succeed, destroy all evidence that you tried.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]