Re: [2.15.90.1]Compile error (libbonoboui ?)



Martin,

There is something amiss here.  The linker statement includes a number
of libs from Ubuntu, for example,

        * /usr/lib/libavahi-glib.so 
        * /usr/lib/libglib-2.0.so 
        * /usr/lib/libavahi-client.so

instead of from GARNOME.

Question:

        Did you build using 'make paranoid-install' ?
        
-Joseph

========================================================================================

On Thu, 2006-08-03 at 12:34 +0200, Martin Ammermüller wrote:
> Hi list!
> 
> While building the recent Garnome 2.15.90.1 on a up-to-date Ubuntu 6.06
> box, i got the following eror:
> 
> --------------------
> make[7]: Entering directory
> `/home/garnome/garnome-2.15.90.1/platform/libbonoboui/work/main.d/libbonoboui-2.14.0/samples/bonoboui'
> source='hello.c' object='hello.o' libtool=no \
>         depfile='.deps/hello.Po' tmpdepfile='.deps/hello.TPo' \
>         depmode=gcc3 /bin/sh ../../depcomp \
>         cc -DHAVE_CONFIG_H -I. -I. -I../.. -DGNOMELOCALEDIR=
> \""/home/garnome/garnome/share/locale"\" -I../.. -DBONOBO_UIDIR=
> \""/home/garnome/garnome/share/gnome/ui/"\" -DG_LOG_DOMAIN=\"Bonobo\"
> -DVERSION=\"2.14.0\" -Wall -Wmissing-prototypes  -DORBIT2=1 -pthread
> -I/home/garnome/garnome/include/libgnomecanvas-2.0
> -I/home/garnome/garnome/include/libart-2.0
> -I/home/garnome/garnome/include/pango-1.0
> -I/home/garnome/garnome/include
> -I/home/garnome/garnome/include/freetype2
> -I/home/garnome/garnome/include/gtk-2.0
> -I/home/garnome/garnome/include/glib-2.0
> -I/home/garnome/garnome/lib/glib-2.0/include
> -I/home/garnome/garnome/lib/gtk-2.0/include
> -I/home/garnome/garnome/include/atk-1.0
> -I/home/garnome/garnome/include/cairo
> -I/home/garnome/garnome/include/libbonobo-2.0
> -I/home/garnome/garnome/include/orbit-2.0
> -I/home/garnome/garnome/include/bonobo-activation-2.0
> -I/home/garnome/garnome/include/libgnome-2.0
> -I/home/garnome/garnome/include/gconf/2
> -I/home/garnome/garnome/include/gnome-vfs-2.0
> -I/home/garnome/garnome/lib/gnome-vfs-2.0/include
> -I/home/garnome/garnome/include/libxml2   -DHELLO_SRCDIR=\""."/\"
> -I/home/garnome/garnome/include  -g -I/home/garnome/garnome/include
> -L/home/garnome/garnome/lib -O2 -pipe -c `test -f 'hello.c' || echo
> './'`hello.c
> /bin/sh ../../libtool --mode=link cc  -g -I/home/garnome/garnome/include
> -L/home/garnome/garnome/lib -O2 -pipe  -Wl,--export-dynamic
> -L/home/garnome/garnome/lib -o bonobo-hello
> hello.o ../../bonobo/libbonoboui-2.la -pthread
> -L/home/garnome/garnome/lib -L/usr/X11R6/lib -lgnomecanvas-2
> -lart_lgpl_2 -lpangoft2-1.0 -lgnome-2 -lpopt -lbonobo-2 -lgnomevfs-2
> -lbonobo-activation -lxml2 -lz -lgconf-2 -lORBit-2 -lgthread-2.0
> -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
> -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lX11 -lXinerama -lXi
> -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lgmodule-2.0 -ldl
> -lgobject-2.0 -lglib-2.0 
> mkdir .libs
> cc -g -I/home/garnome/garnome/include -O2 -pipe -Wl,--export-dynamic
> -o .libs/bonobo-hello hello.o -pthread
> -L/home/garnome/garnome/lib ../../bonobo/.libs/libbonoboui-2.so
> -L/usr/X11R6/lib /home/garnome/garnome/lib/libgnomecanvas-2.so /home/garnome/garnome/lib/libart_lgpl_2.so /home/garnome/garnome/lib/libgnome-2.so /home/garnome/garnome/lib/libesd.so /usr/lib/libasound.so /home/garnome/garnome/lib/libaudiofile.so /usr/lib/libpopt.so /home/garnome/garnome/lib/libbonobo-2.so /home/garnome/garnome/lib/libgnomevfs-2.so /home/garnome/garnome/lib/libdbus-glib-1.so -lnsl -lssl -lcrypto /usr/lib/libavahi-glib.so /usr/lib/libglib-2.0.so /usr/lib/libavahi-client.so /home/garnome/garnome/lib/libdbus-1.so /usr/lib/libavahi-common.so -lresolv -lselinux -lutil -lrt /home/garnome/garnome/lib/libbonobo-activation.so /home/garnome/garnome/lib/libORBitCosNaming-2.so /home/garnome/garnome/lib/libxml2.so /home/garnome/garnome/lib/libgconf-2.so /home/garnome/garnome/lib/libORBit-2.so /home/garnome/garnome/lib/libgthread-2.0.so -lpthread /home/garnome/garnome/lib/libgtk-x11-2.0.so /home/garnome/garnome/lib/libgdk-x11-2.0.so /home/garnome/garnome/lib/libatk-1.0.so /home/garnome/garnome/lib/libgdk_pixbuf-2.0.so /home/garnome/garnome/lib/libpangocairo-1.0.so /home/garnome/garnome/lib/libpangoft2-1.0.so -lXext -lXinerama -lXi -lXrandr -lXcursor -lXfixes /home/garnome/garnome/lib/libpango-1.0.so /home/garnome/garnome/lib/libcairo.so -lSM -lICE /home/garnome/garnome/lib/libXrender.so -lX11 -lpng12 /home/garnome/garnome/lib/libglitz.so /home/garnome/garnome/lib/libfontconfig.so /home/garnome/garnome/lib/libfreetype.so -lz /usr/lib/libexpat.so -lm /home/garnome/garnome/lib/libgmodule-2.0.so -ldl /home/garnome/garnome/lib/libgobject-2.0.so /home/garnome/garnome/lib/libglib-2.0.so -Wl,--rpath -Wl,/home/garnome/garnome/lib
> /usr/bin/ld: warning: libdbus-1.so.2, needed
> by /usr/lib/libavahi-client.so, may conflict with libdbus-1.so.3
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_get_title'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_get_is_private'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_set_description'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_get_size'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_free'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_load_from_file'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_get_visited'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_get_modified'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_key_file_set_double'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_set_mime_type'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_set_is_private'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_has_item'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_key_file_get_double'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_get_applications'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_get_uris'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_new'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_get_description'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_set_title'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_to_file'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_add_group'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_add_application'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_remove_item'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_get_mime_type'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_move_item'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_get_groups'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_get_app_info'
> /home/garnome/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_bookmark_file_get_added'
> collect2: ld returned 1 exit status
> make[7]: *** [bonobo-hello] Error 1
> make[7]: Leaving directory
> `/home/garnome/garnome-2.15.90.1/platform/libbonoboui/work/main.d/libbonoboui-2.14.0/samples/bonoboui'
> make[6]: *** [all-recursive] Error 1
> make[6]: Leaving directory
> `/home/garnome/garnome-2.15.90.1/platform/libbonoboui/work/main.d/libbonoboui-2.14.0/samples'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory
> `/home/garnome/garnome-2.15.90.1/platform/libbonoboui/work/main.d/libbonoboui-2.14.0'
> make[4]: *** [all] Error 2
> make[4]: Leaving directory
> `/home/garnome/garnome-2.15.90.1/platform/libbonoboui/work/main.d/libbonoboui-2.14.0'
> make[3]: *** [build-work/main.d/libbonoboui-2.14.0/Makefile] Error 2
> make[3]: Leaving directory
> `/home/garnome/garnome-2.15.90.1/platform/libbonoboui'
> make[2]: *** [../../platform/libbonoboui/cookies/main.d/install] Error 2
> make[2]: Leaving directory
> `/home/garnome/garnome-2.15.90.1/platform/libgnomeui'make[1]: ***
> [../../platform/libgnomeui/cookies/main.d/install] Error 2
> make[1]: Leaving directory
> `/home/garnome/garnome-2.15.90.1/desktop/bug-buddy'
> make: *** [paranoid-install] Error 2
> -----------------------
> 
> after issuing "make paranoid-install" in $GarnomeTopDir/desktop
> 
> Furthermore:
> -----------------------
> garnome tenco:~$ ls garnome/lib/libdbus*
> garnome/lib/libdbus-1.la        garnome/lib/libdbus-glib-1.la
> garnome/lib/libdbus-1.so        garnome/lib/libdbus-glib-1.so
> garnome/lib/libdbus-1.so.3      garnome/lib/libdbus-glib-1.so.2
> garnome/lib/libdbus-1.so.3.0.0  garnome/lib/libdbus-glib-1.so.2.0.0
> -----------------------
> 
> HTH
> Martin
-- 
joseph_sacco [at] comcast [dot] net




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