Форум русскоязычного сообщества Ubuntu


Получить помощь и пообщаться с другими пользователями Ubuntu можно
на irc канале #ubuntu-ru в сети Freenode
и в Jabber конференции ubuntu@conference.jabber.ru

Автор Тема: Обновился на 12.04, что случилось с GTK и glib-2.0-dev в частности ? Или все еще  (Прочитано 1169 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн ShadowFlash

  • Автор темы
  • Участник
  • *
  • Сообщений: 100
    • Просмотр профиля
При попытке собрать GTK софт и wxwidgets в частности получаем вот такую колбасу:

[ 4%] Building CXX object Externals/wxWidgets3/CMakeFiles/wx.dir/src/aui/dockart.cpp.o
In file included from /usr/include/glib-2.0/glib.h:108:0,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:25,
from /usr/include/glib-2.0/gio/gioenums.h:30,
from /usr/include/glib-2.0/gio/giotypes.h:30,
from /usr/include/glib-2.0/gio/gio.h:28,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from /mnt/Files/Develop/dolphin-git/dolphin-emu/Externals/wxWidgets3/src/aui/dockart.cpp:44:
/usr/include/glib-2.0/glib/deprecated/gthread.h:126:0: warning: "g_static_mutex_get_mutex" redefined [enabled by default]
/usr/include/glib-2.0/glibconfig.h:171:0: note: this is the location of the previous definition
/usr/include/glib-2.0/glib/deprecated/gthread.h:127:0: warning: "G_STATIC_MUTEX_INIT" redefined [enabled by default]
/usr/include/glib-2.0/glibconfig.h:170:0: note: this is the location of the previous definition
In file included from /usr/include/glib-2.0/glib.h:108:0,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:25,
from /usr/include/glib-2.0/gio/gioenums.h:30,
from /usr/include/glib-2.0/gio/giotypes.h:30,
from /usr/include/glib-2.0/gio/gio.h:28,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from /mnt/Files/Develop/dolphin-git/dolphin-emu/Externals/wxWidgets3/src/aui/dockart.cpp:44:
/usr/include/glib-2.0/glib/deprecated/gthread.h:135:3: error: conflicting declaration ‘typedef struct GStaticMutex GStaticMutex’
/usr/include/glib-2.0/glibconfig.h:159:30: error: ‘GStaticMutex’ has a previous declaration as ‘typedef struct _GStaticMutex GStaticMutex’
make[2]: *** [Externals/wxWidgets3/CMakeFiles/wx.dir/src/aui/dockart.cpp.o] Error 1
make[1]: *** [Externals/wxWidgets3/CMakeFiles/wx.dir/all] Error 2


В общем бяка зарыта была в /usr/include/glib-2.0/glib/deprecated/gthread.h - выпилил оттуда лишние определения функций и оно взлетело. Сие не означает, что весь софт, требующий glib обязательно будет собираться, но wxwidgets и Dolphin, который эмулятор (dolphin-emu), вроде бы собираются нормально.
« Последнее редактирование: 29 Июня 2012, 15:59:32 от Чистый »

 

Страница сгенерирована за 0.015 секунд. Запросов: 22.