[newbies] Кто-нибудь знает что значит "undefined reference to" при сборке?

gBopHuk_alt gbophuk_alt на mail.ru
Пн Сен 17 17:08:11 MSK 2012


В Пнд, 17/09/2012 в 12:26 +0300, Igor Zubkov пишет:
> 2012/9/17 gBopHuk_alt:
> > А как добавить линковку?    %add_optflag?
> 
> Исправить порядок в котором gcc собирает бинарь. Смысл в том что из-за
> изменений в gcc (очередная оптимизация) что бы линковатся правильно,
> библиотеки должны в самом конце. Пример:
> 
> gcc -o binary *.o -lбиблиотека
> 
> иначе, если библиотека будет идти в начале, gcc её выкинет т.к.
> символы из неё ещё никто не использует.
> 
> Лучше покажите полный вывод сборки и Makefile.am (или сам Makefile
> если он не генерируется через automake).

Нашёл только CMakeLists.txt и Makefile


----------- следующая часть -----------
hsh-rebuild: changed working directory to `/home/gbophuk/hasher'
hsh-rebuild: Locked working directory `/home/gbophuk/hasher'
hsh-rebuild: Acquiring lock for config file `/etc/hasher-priv/user.d/gbophuk'...
hsh-rebuild: Locked config file `/etc/hasher-priv/user.d/gbophuk'
hsh-rebuild: Created rebuild script.
«/tmp/.private/gbophuk/gear.fYP7FeTj/work/pkg.tar» -> «chroot/.in/pkg.tar»
mkdir: created directory `/usr/src/in'
mkdir: created directory `/usr/src/in/spec'
mkdir: created directory `/usr/src/in/source'
granite.spec
./
./granite.spec
./granite-0.1.tar.gz
`/usr/src/in/source/granite.spec' -> `/usr/src/in/spec/granite.spec'
hsh-rebuild: pkg.tar: installed source file.
hsh-rebuild: pkg.tar: fetched build dependencies.
hsh-rebuild: pkg.tar: calculated build dependencies: 
удалён «chroot/.host/hsh-buildreq-filter»
«/usr/bin/hsh-buildreq-filter» -> «chroot/.host/hsh-buildreq-filter»
hsh-rebuild: pkg.tar: fetched build dependencies.
hsh-rebuild: pkg.tar: calculated build dependencies: cmake rpm-macros-cmake rpm-build-vala gcc4.5-c++ gobject-introspection-devel libspice-gtk3-devel libgtk+3 libgtk+3-devel libgtk+3-gir libgio-devel glib2-devel libpng-devel libXau-devel libXdmcp-devel vala vala-tools libvala-devel libgee-devel libspice-gtk3-gir-devel libgtk+3-gir-devel libspice-glib-gir-devel rpm-utils
hsh-install: changed working directory to `/home/gbophuk/hasher'
Чтение списков пакетов...
Построение дерева зависимостей...
Последняя версия cmake уже установлена.
Последняя версия rpm-macros-cmake уже установлена.
Последняя версия rpm-build-vala уже установлена.
Последняя версия gcc4.5-c++ уже установлена.
Последняя версия gobject-introspection-devel уже установлена.
Последняя версия libspice-gtk3-devel уже установлена.
Последняя версия libgtk+3 уже установлена.
Последняя версия libgtk+3-devel уже установлена.
Последняя версия libgtk+3-gir уже установлена.
Последняя версия libgio-devel уже установлена.
Последняя версия glib2-devel уже установлена.
Последняя версия libpng-devel уже установлена.
Последняя версия libXau-devel уже установлена.
Последняя версия libXdmcp-devel уже установлена.
Последняя версия vala уже установлена.
Последняя версия libvala-devel уже установлена.
Последняя версия libgee-devel уже установлена.
Последняя версия libspice-gtk3-gir-devel уже установлена.
Последняя версия libgtk+3-gir-devel уже установлена.
Последняя версия libspice-glib-gir-devel уже установлена.
Последняя версия rpm-utils уже установлена.
Следующие НОВЫЕ пакеты будут установлены:
  vala-tools
0 будет обновлено, 1 новых установлено, 0 пакетов будет удалено и 0 не будет обновлено.
Необходимо получить 0B/105kB архивов.
После распаковки потребуется дополнительно 335kB дискового пространства.
Запуск RPM (hsh-rpmi-print-files -U -v -h -r /home/gbophuk/hasher/aptbox --oldpackage)...
/home/gbophuk/hasher/repo/i586/RPMS.hasher/vala-tools-0.16.1-alt1.i586.rpm
Завершено.
hsh-install: Calculated package file list.
«/home/gbophuk/hasher/repo/i586/RPMS.hasher/vala-tools-0.16.1-alt1.i586.rpm» -> «chroot/.in/vala-tools-0.16.1-alt1.i586.rpm»
<13>Sep 14 11:12:16 rpmi: vala-tools-0.16.1-alt1 installed
hsh-install: Packages installation complete.
Подготовка пакетов для установки...
hsh-install: RPM database updated.
mkdir: created directory `/usr/src/in/srpm'
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/srpm/granite-0.1-alt0.src.rpm
hsh-rebuild: pkg.tar: created src.rpm file.
hsh-rebuild: pkg.tar: fetched build dependencies.
hsh-rebuild: pkg.tar: calculated build dependencies: cmake rpm-macros-cmake rpm-build-vala gcc4.5-c++ gobject-introspection-devel libspice-gtk3-devel libgtk+3 libgtk+3-devel libgtk+3-gir libgio-devel glib2-devel libpng-devel libXau-devel libXdmcp-devel vala vala-tools libvala-devel libgee-devel libspice-gtk3-gir-devel libgtk+3-gir-devel libspice-glib-gir-devel rpm-utils
hsh-install: changed working directory to `/home/gbophuk/hasher'
Чтение списков пакетов...
Построение дерева зависимостей...
Последняя версия cmake уже установлена.
Последняя версия rpm-macros-cmake уже установлена.
Последняя версия rpm-build-vala уже установлена.
Последняя версия gcc4.5-c++ уже установлена.
Последняя версия gobject-introspection-devel уже установлена.
Последняя версия libspice-gtk3-devel уже установлена.
Последняя версия libgtk+3 уже установлена.
Последняя версия libgtk+3-devel уже установлена.
Последняя версия libgtk+3-gir уже установлена.
Последняя версия libgio-devel уже установлена.
Последняя версия glib2-devel уже установлена.
Последняя версия libpng-devel уже установлена.
Последняя версия libXau-devel уже установлена.
Последняя версия libXdmcp-devel уже установлена.
Последняя версия vala уже установлена.
Последняя версия vala-tools уже установлена.
Последняя версия libvala-devel уже установлена.
Последняя версия libgee-devel уже установлена.
Последняя версия libspice-gtk3-gir-devel уже установлена.
Последняя версия libgtk+3-gir-devel уже установлена.
Последняя версия libspice-glib-gir-devel уже установлена.
Последняя версия rpm-utils уже установлена.
0 будет обновлено, 0 новых установлено, 0 пакетов будет удалено и 0 не будет обновлено.
hsh-install: Calculated package file list.
hsh-install: Nothing to install.
+ export -n target
+ exec time rpmbuild --rebuild --target=i586 granite-0.1-alt0.src.rpm
Installing granite-0.1-alt0.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.12164
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf granite-0.1
+ echo 'Source #0 (granite-0.1.tar.gz):'
Source #0 (granite-0.1.tar.gz):
+ /bin/gzip -dc /usr/src/RPM/SOURCES/granite-0.1.tar.gz
+ /bin/tar -xf -
+ cd granite-0.1
+ /bin/chmod -c -Rf u+rwX,go-w .
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.9694
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd granite-0.1
+ mkdir -p BUILD
+ __cmake
+ pushd BUILD
~/RPM/BUILD/granite-0.1/BUILD ~/RPM/BUILD/granite-0.1
+ cmake .. -DCMAKE_SKIP_RPATH:BOOL=yes '-DCMAKE_C_FLAGS:STRING=-pipe -Wall -g -O2 -march=i586 -mtune=i686' '-DCMAKE_CXX_FLAGS:STRING=-pipe -Wall -g -O2 -march=i586 -mtune=i686' '-DCMAKE_Fortran_FLAGS:STRING=-pipe -Wall -g -O2 -march=i586 -mtune=i686' -DCMAKE_INSTALL_PREFIX=/usr -DLIB_DESTINATION=lib -DLIB_SUFFIX=
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- checking for module 'gobject-introspection-1.0'
--   found gobject-introspection-1.0, version 0.10.7
-- checking for modules 'gtk+-3.0;gio-unix-2.0;gthread-2.0'
--   found gtk+-3.0, version 3.0.11
--   found gio-unix-2.0, version 2.30.3
--   found gthread-2.0, version 2.30.3
-- Found Vala: /usr/bin/valac 
-- checking for a minimum Vala version of 0.13.0
--   found Vala, version 0.16.1
-- checking for a minimum Vala version of 0.11.3
--   found Vala, version 0.16.1
-- Configuring done
-- Generating done
CMake Warning: The variable, 'CMAKE_Fortran_FLAGS', specified manually, was not used during the generation.
CMake Warning: The variable, 'LIB_DESTINATION', specified manually, was not used during the generation.
CMake Warning: The variable, 'LIB_SUFFIX', specified manually, was not used during the generation.
-- Build files have been written to: /usr/src/RPM/BUILD/granite-0.1/BUILD
+ popd
~/RPM/BUILD/granite-0.1
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.51765
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/granite-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/granite-buildroot
+ cd granite-0.1
+ pushd BUILD
~/RPM/BUILD/granite-0.1/BUILD ~/RPM/BUILD/granite-0.1
+ make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/granite-buildroot
make: Entering directory `/usr/src/RPM/BUILD/granite-0.1/BUILD'
make[1]: Entering directory `/usr/src/RPM/BUILD/granite-0.1/BUILD'
make[2]: Entering directory `/usr/src/RPM/BUILD/granite-0.1/BUILD'
[  3%] Generating Application.c, Drawing/Color.c, Drawing/BufferSurface.c, Drawing/Utilities.c, GtkPatch/AboutDialog.c, Services/Settings.c, Services/Logger.c, Services/Paths.c, Services/System.c, Services/Contractor.c, Widgets/WrapLabel.c, Widgets/AboutDialog.c, Widgets/ModeButton.c, Widgets/DatePicker.c, Widgets/Entries.c, Widgets/TimePicker.c, Widgets/CollapsiblePaned.c, Widgets/StaticNotebook.c, Widgets/CompositedWindow.c, Widgets/AppMenu.c, Widgets/Welcome.c, Widgets/ToolButtonWithMenu.c, Widgets/PopOver.c, Widgets/ContractorView.c, Main.c, config.vapi, granite.vapi, granite.h, granite_internal.h
/usr/src/RPM/BUILD/granite-0.1/lib/Drawing/BufferSurface.vala:386.44-386.63: warning: GLib.Thread.create has been deprecated since 2.32. Use new Thread<T> ()
/usr/src/RPM/BUILD/granite-0.1/lib/Drawing/BufferSurface.vala:398.22-398.41: warning: GLib.Thread.create has been deprecated since 2.32. Use new Thread<T> ()
/usr/src/RPM/BUILD/granite-0.1/lib/Drawing/BufferSurface.vala:518.44-518.63: warning: GLib.Thread.create has been deprecated since 2.32. Use new Thread<T> ()
/usr/src/RPM/BUILD/granite-0.1/lib/Drawing/BufferSurface.vala:544.22-544.41: warning: GLib.Thread.create has been deprecated since 2.32. Use new Thread<T> ()
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/PopOver.vala:49.5-49.22: warning: Granite.Widgets.PopOver.is_composited hides inherited field `Gtk.Widget.is_composited'. Use the `new' keyword if hiding was intentional
    bool is_composited;
    ^^^^^^^^^^^^^^^^^^
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/PopOver.vala:393.9-393.29: warning: Gtk.render_background has been deprecated since vala-0.16. Use StyleContext.render_background
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/CollapsiblePaned.vala:57.17-57.37: warning: Gdk.Window.at_pointer has been deprecated since 3.0
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/DatePicker.vala:97.9-97.45: warning: method `Granite.Widgets.DatePicker.on_dropdown_button_press' never used
        private bool on_dropdown_button_press (EventButton event) {
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/DatePicker.vala:110.9-110.45: warning: method `Granite.Widgets.DatePicker.on_dropdown_delete_event' never used
        private bool on_dropdown_delete_event () {
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/PopOver.vala:340.17-340.17: warning: local variable `w' declared but never used
        int x,y,w,h;
                ^
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/PopOver.vala:340.19-340.19: warning: local variable `h' declared but never used
        int x,y,w,h;
                  ^
Compilation succeeded - 11 warning(s)
Scanning dependencies of target granite
make[2]: Leaving directory `/usr/src/RPM/BUILD/granite-0.1/BUILD'
make[2]: Entering directory `/usr/src/RPM/BUILD/granite-0.1/BUILD'
[  6%] Building C object lib/CMakeFiles/granite.dir/GtkPatch/gtkpatch-utils.c.o
/usr/src/RPM/BUILD/granite-0.1/lib/GtkPatch/gtkpatch-utils.c: In function 'add_credits_section':
/usr/src/RPM/BUILD/granite-0.1/lib/GtkPatch/gtkpatch-utils.c:40:9: warning: 'return' with no value, in function returning non-void
[  9%] Building C object lib/CMakeFiles/granite.dir/Widgets/widgets-utils.c.o
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/widgets-utils.c: In function 'close_cb':
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/widgets-utils.c:36:35: warning: initialization from incompatible pointer type
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/widgets-utils.c:36:28: warning: unused variable 'priv'
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/widgets-utils.c: In function 'granite_widgets_show_about_dialog':
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/widgets-utils.c:70:9: warning: implicit declaration of function 'granite_widgets_about_dialog_new'
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/widgets-utils.c:70:16: warning: assignment makes pointer from integer without a cast
[  9%] Generating Application.c, Drawing/Color.c, Drawing/BufferSurface.c, Drawing/Utilities.c, GtkPatch/AboutDialog.c, Services/Settings.c, Services/Logger.c, Services/Paths.c, Services/System.c, Services/Contractor.c, Widgets/WrapLabel.c, Widgets/AboutDialog.c, Widgets/ModeButton.c, Widgets/DatePicker.c, Widgets/Entries.c, Widgets/TimePicker.c, Widgets/CollapsiblePaned.c, Widgets/StaticNotebook.c, Widgets/CompositedWindow.c, Widgets/AppMenu.c, Widgets/Welcome.c, Widgets/ToolButtonWithMenu.c, Widgets/PopOver.c, Widgets/ContractorView.c, Main.c, config.vapi, granite.vapi, granite.h, granite_internal.h
/usr/src/RPM/BUILD/granite-0.1/lib/Drawing/BufferSurface.vala:386.44-386.63: warning: GLib.Thread.create has been deprecated since 2.32. Use new Thread<T> ()
/usr/src/RPM/BUILD/granite-0.1/lib/Drawing/BufferSurface.vala:398.22-398.41: warning: GLib.Thread.create has been deprecated since 2.32. Use new Thread<T> ()
/usr/src/RPM/BUILD/granite-0.1/lib/Drawing/BufferSurface.vala:518.44-518.63: warning: GLib.Thread.create has been deprecated since 2.32. Use new Thread<T> ()
/usr/src/RPM/BUILD/granite-0.1/lib/Drawing/BufferSurface.vala:544.22-544.41: warning: GLib.Thread.create has been deprecated since 2.32. Use new Thread<T> ()
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/PopOver.vala:49.5-49.22: warning: Granite.Widgets.PopOver.is_composited hides inherited field `Gtk.Widget.is_composited'. Use the `new' keyword if hiding was intentional
    bool is_composited;
    ^^^^^^^^^^^^^^^^^^
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/PopOver.vala:393.9-393.29: warning: Gtk.render_background has been deprecated since vala-0.16. Use StyleContext.render_background
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/CollapsiblePaned.vala:57.17-57.37: warning: Gdk.Window.at_pointer has been deprecated since 3.0
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/DatePicker.vala:97.9-97.45: warning: method `Granite.Widgets.DatePicker.on_dropdown_button_press' never used
        private bool on_dropdown_button_press (EventButton event) {
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/DatePicker.vala:110.9-110.45: warning: method `Granite.Widgets.DatePicker.on_dropdown_delete_event' never used
        private bool on_dropdown_delete_event () {
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/PopOver.vala:340.17-340.17: warning: local variable `w' declared but never used
        int x,y,w,h;
                ^
/usr/src/RPM/BUILD/granite-0.1/lib/Widgets/PopOver.vala:340.19-340.19: warning: local variable `h' declared but never used
        int x,y,w,h;
                  ^
Compilation succeeded - 11 warning(s)
[ 12%] Building C object lib/CMakeFiles/granite.dir/Application.c.o
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Application.c: In function 'granite_application_construct':
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Application.c:193:9: warning: missing braces around initializer
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Application.c:193:9: warning: (near initialization for 'un.sysname')
[ 16%] Building C object lib/CMakeFiles/granite.dir/Drawing/Color.c.o
[ 19%] Building C object lib/CMakeFiles/granite.dir/Drawing/BufferSurface.c.o
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Drawing/BufferSurface.c: In function 'granite_drawing_buffer_surface_build_gaussian_kernel':
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Drawing/BufferSurface.c:3539:8: warning: unused variable '_d_collection_size_'
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Drawing/BufferSurface.c: At top level:
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Drawing/BufferSurface.c:1831:20: warning: 'block1_data_ref' defined but not used
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Drawing/BufferSurface.c:2429:20: warning: 'block2_data_ref' defined but not used
[ 22%] Building C object lib/CMakeFiles/granite.dir/Drawing/Utilities.c.o
[ 25%] Building C object lib/CMakeFiles/granite.dir/GtkPatch/AboutDialog.c.o
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/GtkPatch/AboutDialog.c: In function 'granite_gtk_patch_about_dialog_construct':
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/GtkPatch/AboutDialog.c:347:9: warning: assignment from incompatible pointer type
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/GtkPatch/AboutDialog.c: In function 'granite_gtk_patch_about_dialog_set_string_from_string_array':
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/GtkPatch/AboutDialog.c:562:2: warning: implicit declaration of function 'add_credits_section'
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/GtkPatch/AboutDialog.c:562:9: warning: assignment makes pointer from integer without a cast
[ 29%] Building C object lib/CMakeFiles/granite.dir/Services/Settings.c.o
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Services/Settings.c: In function 'granite_services_settings_constructor':
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Services/Settings.c:806:8: warning: unused variable '_prop_collection_size_'
[ 32%] Building C object lib/CMakeFiles/granite.dir/Services/Logger.c.o
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Services/Logger.c:111:1: warning: missing braces around initializer
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Services/Logger.c:111:1: warning: (near initialization for '__lock_granite_services_logger_queue_lock.mutex')
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Services/Logger.c: In function 'granite_services_logger_write':
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Services/Logger.c:430:5: warning: label '__finally10' defined but not used
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Services/Logger.c:392:4: warning: label '__finally9' defined but not used
[ 35%] Building C object lib/CMakeFiles/granite.dir/Services/Paths.c.o
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Services/Paths.c: In function 'granite_services_paths_initialize':
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Services/Paths.c:381:9: warning: unused variable '_path_collection_size_'
[ 38%] Building C object lib/CMakeFiles/granite.dir/Services/System.c.o
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Services/System.c: In function 'granite_services_system_launch_with_files':
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Services/System.c:275:8: warning: unused variable '_f_collection_size_'
[ 41%] Building C object lib/CMakeFiles/granite.dir/Services/Contractor.c.o
[ 45%] Building C object lib/CMakeFiles/granite.dir/Widgets/WrapLabel.c.o
[ 48%] Building C object lib/CMakeFiles/granite.dir/Widgets/AboutDialog.c.o
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/AboutDialog.c: In function 'granite_widgets_about_dialog_construct':
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/AboutDialog.c:265:2: warning: implicit declaration of function 'gtk_button_box_set_child_non_homogeneous'
[ 51%] Building C object lib/CMakeFiles/granite.dir/Widgets/ModeButton.c.o
[ 54%] Building C object lib/CMakeFiles/granite.dir/Widgets/DatePicker.c.o
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/DatePicker.c: In function 'granite_widgets_date_picker_constructor':
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/DatePicker.c:413:9: warning: assignment from incompatible pointer type
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/DatePicker.c: At top level:
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/DatePicker.c:236:17: warning: 'granite_widgets_date_picker_on_dropdown_button_press' defined but not used
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/DatePicker.c:282:17: warning: 'granite_widgets_date_picker_on_dropdown_delete_event' defined but not used
[ 58%] Building C object lib/CMakeFiles/granite.dir/Widgets/Entries.c.o
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/Entries.c: In function 'granite_widgets_hinted_entry_get_hint_string':
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/Entries.c:179:2: warning: implicit declaration of function 'gtk_entry_get_placeholder_text'
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/Entries.c:179:9: warning: assignment makes pointer from integer without a cast
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/Entries.c: In function 'granite_widgets_hinted_entry_set_hint_string':
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/Entries.c:190:2: warning: implicit declaration of function 'gtk_entry_set_placeholder_text'
[ 61%] Building C object lib/CMakeFiles/granite.dir/Widgets/TimePicker.c.o
[ 64%] Building C object lib/CMakeFiles/granite.dir/Widgets/CollapsiblePaned.c.o
[ 67%] Building C object lib/CMakeFiles/granite.dir/Widgets/StaticNotebook.c.o
[ 70%] Building C object lib/CMakeFiles/granite.dir/Widgets/CompositedWindow.c.o
[ 74%] Building C object lib/CMakeFiles/granite.dir/Widgets/AppMenu.c.o
[ 77%] Building C object lib/CMakeFiles/granite.dir/Widgets/Welcome.c.o
[ 80%] Building C object lib/CMakeFiles/granite.dir/Widgets/ToolButtonWithMenu.c.o
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/ToolButtonWithMenu.c: In function 'granite_widgets_tool_button_with_menu_popup_menu':
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/ToolButtonWithMenu.c:595:2: warning: label '__finally24' defined but not used
[ 83%] Building C object lib/CMakeFiles/granite.dir/Widgets/PopOver.c.o
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/PopOver.c: In function 'granite_widgets_pop_over_construct':
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/PopOver.c:287:9: warning: assignment from incompatible pointer type
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/PopOver.c: In function 'granite_widgets_pop_over_move_to_window':
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/PopOver.c:900:7: warning: unused variable 'h'
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/PopOver.c:899:7: warning: unused variable 'w'
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/PopOver.c: In function 'granite_widgets_pop_over_class_init':
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/PopOver.c:1419:9: warning: assignment from incompatible pointer type
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/PopOver.c:1422:2: warning: passing argument 1 of 'g_param_spec_unref' from incompatible pointer type
/usr/include/glib-2.0/gobject/gparam.h:275:7: note: expected 'struct GParamSpec *' but argument is of type 'struct GParamSpecInt *'
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/PopOver.c:1423:9: warning: assignment from incompatible pointer type
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/PopOver.c:1426:2: warning: passing argument 1 of 'g_param_spec_unref' from incompatible pointer type
/usr/include/glib-2.0/gobject/gparam.h:275:7: note: expected 'struct GParamSpec *' but argument is of type 'struct GParamSpecInt *'
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/PopOver.c:1427:9: warning: assignment from incompatible pointer type
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/PopOver.c:1430:2: warning: passing argument 1 of 'g_param_spec_unref' from incompatible pointer type
/usr/include/glib-2.0/gobject/gparam.h:275:7: note: expected 'struct GParamSpec *' but argument is of type 'struct GParamSpecInt *'
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/PopOver.c:1431:9: warning: assignment from incompatible pointer type
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/PopOver.c:1434:2: warning: passing argument 1 of 'g_param_spec_unref' from incompatible pointer type
/usr/include/glib-2.0/gobject/gparam.h:275:7: note: expected 'struct GParamSpec *' but argument is of type 'struct GParamSpecInt *'
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/PopOver.c:1435:9: warning: assignment from incompatible pointer type
/usr/src/RPM/BUILD/granite-0.1/BUILD/lib/Widgets/PopOver.c:1438:2: warning: passing argument 1 of 'g_param_spec_unref' from incompatible pointer type
/usr/include/glib-2.0/gobject/gparam.h:275:7: note: expected 'struct GParamSpec *' but argument is of type 'struct GParamSpecInt *'
[ 87%] Building C object lib/CMakeFiles/granite.dir/Widgets/ContractorView.c.o
[ 90%] Building C object lib/CMakeFiles/granite.dir/Main.c.o
Linking C shared library libgranite.so
make[2]: Leaving directory `/usr/src/RPM/BUILD/granite-0.1/BUILD'
[ 90%] Built target granite
make[2]: Entering directory `/usr/src/RPM/BUILD/granite-0.1/BUILD'
Scanning dependencies of target i18n
make[2]: Leaving directory `/usr/src/RPM/BUILD/granite-0.1/BUILD'
make[2]: Entering directory `/usr/src/RPM/BUILD/granite-0.1/BUILD'
[ 90%] messages.”
make[2]: Leaving directory `/usr/src/RPM/BUILD/granite-0.1/BUILD'
[ 93%] Built target i18n
make[2]: Entering directory `/usr/src/RPM/BUILD/granite-0.1/BUILD'
[ 96%] Generating main.c
Scanning dependencies of target granite-demo
make[2]: Leaving directory `/usr/src/RPM/BUILD/granite-0.1/BUILD'
make[2]: Entering directory `/usr/src/RPM/BUILD/granite-0.1/BUILD'
[100%] Building C object demo/CMakeFiles/granite-demo.dir/main.c.o
/usr/src/RPM/BUILD/granite-0.1/BUILD/demo/main.c: In function '__lambda5_':
/usr/src/RPM/BUILD/granite-0.1/BUILD/demo/main.c:199:9: warning: assignment from incompatible pointer type
/usr/src/RPM/BUILD/granite-0.1/BUILD/demo/main.c: In function 'granite_demo_real_activate':
/usr/src/RPM/BUILD/granite-0.1/BUILD/demo/main.c:781:8: warning: unused variable '_hash_collection_size_'
Linking C executable granite-demo
../lib/libgranite.so.0.1.4: undefined reference to `gtk_entry_get_placeholder_text'
../lib/libgranite.so.0.1.4: undefined reference to `gtk_entry_set_placeholder_text'
../lib/libgranite.so.0.1.4: undefined reference to `gtk_button_box_set_child_non_homogeneous'
collect2: ld returned 1 exit status
make[2]: *** [demo/granite-demo] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/granite-0.1/BUILD'
make[1]: *** [demo/CMakeFiles/granite-demo.dir/all] Error 2
make[1]: Leaving directory `/usr/src/RPM/BUILD/granite-0.1/BUILD'
make: *** [all] Error 2
make: Leaving directory `/usr/src/RPM/BUILD/granite-0.1/BUILD'
error: Bad exit status from /usr/src/tmp/rpm-tmp.51765 (%install)


RPM build errors:
    Bad exit status from /usr/src/tmp/rpm-tmp.51765 (%install)
Command exited with non-zero status 1
78.66user 5.62system 1:27.79elapsed 96%CPU (0avgtext+0avgdata 212240maxresident)k
104inputs+15768outputs (0major+520002minor)pagefaults 0swaps
hsh-rebuild: rebuild of `pkg.tar' failed.
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : CMakeLists.txt
Тип     : text/x-cmake
Размер  : 823 байтов
Описание: отсутствует
Url     : <http://lists.altlinux.org/pipermail/devel-newbies/attachments/20120917/b81a8800/attachment-0002.bin>
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : Makefile
Тип     : text/x-makefile
Размер  : 8587 байтов
Описание: отсутствует
Url     : <http://lists.altlinux.org/pipermail/devel-newbies/attachments/20120917/b81a8800/attachment-0003.bin>


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