avahi build problem.




Alright, here's one that is stumping me. The problem is that the glade libtool file in ${prefix}/lib/libglade-2.0.la has the following, which references libraries in /usr/lib:

# Libraries that this one depends upon.
dependency_libs=' -L/opt/gnome-snapshot-20060818/lib
/opt/gnome-snapshot-20060818/lib/libxml2.la
/opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.la
/opt/gnome-snapshot-20060818/lib/libgdk-x11-2.0.la
/opt/gnome-snapshot-20060818/lib/libatk-1.0.la
/opt/gnome-snapshot-20060818/lib/libgdk_pixbuf-2.0.la
/usr/lib/libpangocairo-1.0.la /usr/lib/libcairo.la -lXrender
/usr/lib/libpangoft2-1.0.la /usr/lib/libpango-1.0.la
/usr/lib/libgobject-2.0.la /usr/lib/libgmodule-2.0.la
/usr/lib/libglib-2.0.la -lfontconfig
/opt/gnome-snapshot-20060818/lib/libpango-1.0.la
/opt/gnome-snapshot-20060818/lib/libcairo.la
/opt/gnome-snapshot-20060818/lib/libfontconfig.la
/usr/lib/libfreetype.la -lz /usr/lib/libexpat.la -lpng12
/opt/gnome-snapshot-20060818/lib/libXrender.la -lSM -lICE
-L/usr/X11R6/lib -lX11 -lm
/opt/gnome-snapshot-20060818/lib/libgobject-2.0.la
/opt/gnome-snapshot-20060818/lib/libgmodule-2.0.la -ldl
/opt/gnome-snapshot-20060818/lib/libglib-2.0.la'

I can't figure out why libraries from /usr/lib were included in this libtool file

This causes the following error when building avahi:

Making all in avahi-discover-standalone
make[2]: Entering directory
`/extra/cvs/gnome2/avahi/avahi-discover-standalone'
/bin/sh ../libtool --tag=CC --mode=link gcc -I..
'-DDEBUG_TRAP=__asm__("int $3")' -g -O0 -std=c99 -Wall -W -Wextra
-pedantic -pipe -Wformat -Wold-style-definition
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls
-Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith
-Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline
-o avahi-discover-standalone  avahi_discover_standalone-main.o
../avahi-common/libavahi-common.la ../avahi-glib/libavahi-glib.la
../avahi-core/libavahi-core.la -L/opt/gnome-snapshot-20060818/lib
-lglib-2.0   -L/opt/gnome-snapshot-20060818/lib -lgtk-x11-2.0
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0
-lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
-L/opt/gnome-snapshot-20060818/lib -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lz
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0
-lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
gcc -I.. "-DDEBUG_TRAP=__asm__(\"int \$3\")" -g -O0 -std=c99 -Wall -W
-Wextra -pedantic -pipe -Wformat -Wold-style-definition
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls
-Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith
-Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -o
.libs/avahi-discover-standalone avahi_discover_standalone-main.o
../avahi-common/.libs/libavahi-common.so
../avahi-glib/.libs/libavahi-glib.so -L/opt/gnome-snapshot-20060818/lib
../avahi-core/.libs/libavahi-core.so
/extra/cvs/gnome2/avahi/avahi-common/.libs/libavahi-common.so
/opt/gnome-snapshot-20060818/lib/libglade-2.0.so -L/usr/X11R6/lib
/opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so
/opt/gnome-snapshot-20060818/lib/libxml2.so
/opt/gnome-snapshot-20060818/lib/libgdk-x11-2.0.so
/opt/gnome-snapshot-20060818/lib/libatk-1.0.so
/opt/gnome-snapshot-20060818/lib/libgdk_pixbuf-2.0.so
/usr/lib/libpangocairo-1.0.so /usr/lib/libcairo.so
/usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so
/usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so
/usr/lib/libglib-2.0.so /opt/gnome-snapshot-20060818/lib/libpango-1.0.so
/opt/gnome-snapshot-20060818/lib/libcairo.so
/opt/gnome-snapshot-20060818/lib/libfontconfig.so
/usr/lib/libfreetype.so -lz /usr/lib/libexpat.so -lpng12
/opt/gnome-snapshot-20060818/lib/libXrender.so -lSM -lICE -lX11 -lm
/opt/gnome-snapshot-20060818/lib/libgobject-2.0.so
/opt/gnome-snapshot-20060818/lib/libgmodule-2.0.so -ldl
/opt/gnome-snapshot-20060818/lib/libglib-2.0.so -Wl,--rpath
-Wl,/opt/gnome-snapshot-20060818/lib
/opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference
to `g_bookmark_file_get_title'
/opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference
to `g_bookmark_file_get_is_private'
/opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference
to `g_bookmark_file_set_description'
/opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference
to `g_bookmark_file_get_size'
/opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference
to `g_bookmark_file_free'
/opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference
to `g_type_register_static_simple'
/opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference
to `cairo_pdf_surface_create'
/opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference
to `cairo_surface_set_fallback_resolution'
/opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference
to `g_bookmark_file_load_from_file'
/opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference
to `g_bookmark_file_get_visited'
/opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference
to `g_bookmark_file_get_modified'
/opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `g_key_file_set_double' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_set_mime_type' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_set_is_private' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_has_item' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `g_key_file_get_double' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_applications' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `cairo_ps_surface_set_size' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_uris' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_new' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_description' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_set_title' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `cairo_surface_get_type' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_to_file' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_add_group' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_create_for_stream' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_add_application' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_remove_item' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_mime_type' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_move_item' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_set_size' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_groups' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_app_info' /opt/gnome-snapshot-20060818/lib/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_added'
collect2: ld returned 1 exit status
make[2]: *** [avahi-discover-standalone] Error 1
make[2]: Leaving directory `/extra/cvs/gnome2/avahi/avahi-discover-standalone'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/extra/cvs/gnome2/avahi'
make: *** [all] Error 2
*** error during stage build of avahi: Error running make   *** [33/144]


--
Brent Smith <gnome nextreality net>
IRC: smitten



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