[gtk+ 2.9.0]: incorrect build envoroment dependencies




In configure.in is line:

m4_define([glib_required_version], [2.10.1])

During build gtk+ 2.9.0 on glib 2.10.2 compilationa fails with below error messages. All passes correctly on glib 2.11.0.

make[4]: Entering directory
/home/users/prac/nd/kloczek/rpm/BUILD/gtk+-2.9.0/gtk'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_LIBDIR=\"/usr/lib64\"
-DGTK_DATADIR=\"/usr/share\" -DGTK_DATA_PREFIX=\"/usr\"
-DGTK_SYSCONFDIR=\"/etc\" -DGTK_VERSION=\"2.9.0\"
-DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_HOST=\"x86_64-redhat-linux-gnu\"
-DGTK_COMPILATION -DGTK_PRINT_BACKENDS=\"pdf,cups\" -I../gtk -I.. -I../gdk
-I../gdk -I../gdk-pixbuf -I../gdk-pixbuf -DGDK_PIXBUF_DISABLE_DEPRECATED
-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
-DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED
-DG_ENABLE_DEBUG -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/atk-1.0          -DG_DISABLE_DEPRECATED -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -MT gtkrecentmanager.lo -MD
-MP -MF ".deps/gtkrecentmanager.Tpo" -c -o gtkrecentmanager.lo
gtkrecentmanager.c; \
then mv -f ".deps/gtkrecentmanager.Tpo" ".deps/gtkrecentmanager.Plo"; else
rm -f ".deps/gtkrecentmanager.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\"
-DGTK_LIBDIR=\"/usr/lib64\" -DGTK_DATADIR=\"/usr/share\"
-DGTK_DATA_PREFIX=\"/usr\" -DGTK_SYSCONFDIR=\"/etc\" -DGTK_VERSION=\"2.9.0\"
-DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_HOST=\"x86_64-redhat-linux-gnu\"
-DGTK_COMPILATION -DGTK_PRINT_BACKENDS=\"pdf,cups\" -I../gtk -I.. -I../gdk
-I../gdk -I../gdk-pixbuf -I../gdk-pixbuf -DGDK_PIXBUF_DISABLE_DEPRECATED
-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
-DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED
-DG_ENABLE_DEBUG -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/atk-1.0 -DG_DISABLE_DEPRECATED -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -MT gtkrecentmanager.lo -MD
-MP -MF .deps/gtkrecentmanager.Tpo -c gtkrecentmanager.c  -fPIC -DPIC -o
.libs/gtkrecentmanager.o
gtkrecentmanager.c:109: error: expected specifier-qualifier-list before 'GBookmarkFile'
gtkrecentmanager.c: In function 'gtk_recent_manager_finalize':
gtkrecentmanager.c:357: error: 'GtkRecentManagerPrivate' has no member named 'poll_timeout'
gtkrecentmanager.c:358: error: 'GtkRecentManagerPrivate' has no member named 'poll_timeout'
gtkrecentmanager.c:363: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:364: warning: implicit declaration of function 'g_bookmark_file_free'
gtkrecentmanager.c:364: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c: In function 'gtk_recent_manager_real_changed':
gtkrecentmanager.c:392: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:394: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:394: warning: implicit declaration of function 'g_bookmark_file_new'
gtkrecentmanager.c:399: warning: implicit declaration of function 'g_bookmark_file_to_file'
gtkrecentmanager.c:399: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:429: error: 'GtkRecentManagerPrivate' has no member named 'last_mtime'
gtkrecentmanager.c: In function 'gtk_recent_manager_poll_timeout':
gtkrecentmanager.c:477: error: 'GtkRecentManagerPrivate' has no member named 'last_mtime'
gtkrecentmanager.c: In function 'gtk_recent_manager_set_filename':
gtkrecentmanager.c:500: error: 'GtkRecentManagerPrivate' has no member named 'poll_timeout'
gtkrecentmanager.c:502: error: 'GtkRecentManagerPrivate' has no member named 'poll_timeout'
gtkrecentmanager.c:503: error: 'GtkRecentManagerPrivate' has no member named 'poll_timeout'
gtkrecentmanager.c:507: error: 'GtkRecentManagerPrivate' has no member named 'poll_timeout'
gtkrecentmanager.c: In function 'build_recent_items_list':
gtkrecentmanager.c:536: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:538: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:563: error: 'GtkRecentManagerPrivate' has no member named 'last_mtime'
gtkrecentmanager.c:571: warning: implicit declaration of function 'g_bookmark_file_load_from_file'
gtkrecentmanager.c:571: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:581: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:582: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:587: warning: implicit declaration of function 'g_bookmark_file_get_size'
gtkrecentmanager.c:587: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c: In function 'IA__gtk_recent_manager_add_full':
gtkrecentmanager.c:994: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:996: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:1001: warning: implicit declaration of function 'g_bookmark_file_setntmanager.c:1001: error: 'GtkRecentManagerPrivate' has no m'recent_items'
gtkrecentmanagrning: implicit declaration of function 'g_bookmark_file_set_description'
gtkrecentmanager.c:1004: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:1006: warning: implicit declaration of function 'g_bookmark_filt_mime_type'
gtkrecentmanager.c:1006: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:1013: warning: implicit declaration of function 'g_bookmark_file_add_group'
gtkrecentmanager.c:1013: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:1020: warning: implicit declaration of function 'g_bookmark_file_add_application'
gtkrecentmanager.c:1020: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:1024: warning: implicit declaration of function 'g_bookmark_file_set_is_private'
gtkrecentmanager.c:1024: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c: In function 'IA__gtk_recent_manager_remove_item':
gtkrecentmanager.c:1065: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:1067: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:1078: warning: implicit declaration of function 'g_bookmark_file_remove_item'
gtkrecentmanager.c:1078: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c: In function 'IA__gtk_recent_manager_has_item':
gtkrecentmanager.c:1115: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:1117: warning: implicit declaration of function 'g_bookmark_file_has_item'
gtkrecentmanager.c:1117: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c: At top level:
gtkrecentmanager.c:1121: error: expected ')' before '*' token
gtkrecentmanager.c: In function 'IA__gtk_recent_manager_lookup_item':
gtkrecentmanager.c:1213: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:1215: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:1226: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:1241: warning: implicit declaration of function 'build_recent_info'
gtkrecentmanager.c:1241: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c: In function 'IA__gtk_recent_manager_move_item':
gtkrecentmanager.c:1285: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c:1295: warning: implicit declaration of function'g_bookmark_file_move_item'
gtkrecentmanager.c:1295: error: 'GtkRecentManagerPrivate' has no member named 'recent_items'
gtkrecentmanager.c: In function 'IA__gtk_rec

kloczek
--
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek rudy mif pg gda pl*


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