[devel] Fwd: [#38147] FAILED (try 2) libopenr2.git=libopenr2/1.3.1-alt1 ...

Alexey Tourbin at на altlinux.ru
Вт Фев 8 01:49:24 UTC 2011


On Mon, Feb 07, 2011 at 11:23:24PM +0300, Denis Smirnov wrote:
> А это счастье как понимать?

Ух.

$ cat test.c
main(){}
$ gcc test.c -lgtk-x11-2.0
$ gcc test.c -Wl,--no-as-needed -lgtk-x11-2.0
/usr/lib64/gcc/x86_64-alt-linux/4.5.1/../../../../lib64/libgtk-x11-2.0.so: undefined reference to `g_sequence_insert_before на GLIB_2.14'
/usr/lib64/gcc/x86_64-alt-linux/4.5.1/../../../../lib64/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_load_from_file на GLIB_2.12'
/usr/lib64/gcc/x86_64-alt-linux/4.5.1/../../../../lib64/libgtk-x11-2.0.so: undefined reference to `g_date_set_time_t на GLIB_2.10'
/usr/lib64/gcc/x86_64-alt-linux/4.5.1/../../../../lib64/libgtk-x11-2.0.so: undefined reference to `g_sequence_iter_get_sequence на GLIB_2.14'
/usr/lib64/gcc/x86_64-alt-linux/4.5.1/../../../../lib64/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_set_title на GLIB_2.12'
/usr/lib64/gcc/x86_64-alt-linux/4.5.1/../../../../lib64/libgtk-x11-2.0.so: undefined reference to `g_sequence_get_iter_at_pos на GLIB_2.14'
...

Требования ld и ld.so несогласованы.
Придётся подождать пересборки gtk.

> http://git.altlinux.org/tasks/38147/task/log.2.1

> 2011-Feb-07 23:16:44 :: [i586] #200 asterisk1.6.2.git
> asterisk1.6.2/1.6.2.17-alt0.rc1.1: build start
> gcc -o gmenuselect menuselect.o strcompat.o menuselect_gtk.o
> mxml/libmxml.a -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
> -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpangoft2-1.0
> -lpng12 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0
> -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
> /usr/lib/gcc/i586-alt-linux/4.5.1/../../../libgtk-x11-2.0.so:
> undefined reference to `g_sequence_insert_before на GLIB_2.14'
> /usr/lib/gcc/i586-alt-linux/4.5.1/../../../libgtk-x11-2.0.so:
> undefined reference to `g_bookmark_file_load_from_file на GLIB_2.12'
> /usr/lib/gcc/i586-alt-linux/4.5.1/../../../libgtk-x11-2.0.so:
> undefined reference to `g_date_set_time_t на GLIB_2.10'
> /usr/lib/gcc/i586-alt-linux/4.5.1/../../../libgtk-x11-2.0.so:
> undefined reference to `g_sequence_iter_get_sequence на GLIB_2.14'
> /usr/lib/gcc/i586-alt-linux/4.5.1/../../../libgtk-x11-2.0.so:
> undefined reference to `g_bookmark_file_set_title на GLIB_2.12'
> /usr/lib/gcc/i586-alt-linux/4.5.1/../../../libgtk-x11-2.0.so:
> undefined reference to `g_sequence_get_iter_at_pos на GLIB_2.14'


Подробная информация о списке рассылки Devel