After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 342093 - Failed to compile GTK 2.9.1 with the DirectFB backend
Failed to compile GTK 2.9.1 with the DirectFB backend
Status: RESOLVED NOTABUG
Product: gtk+
Classification: Platform
Component: Widget: Other
2.9.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-05-17 08:31 UTC by Attilio Fiandrotti
Modified: 2006-05-18 15:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Attilio Fiandrotti 2006-05-17 08:31:31 UTC
Please describe the problem:
Compilation of GTK 2.9.1 with the DirectFB backend (even after applying pacth
for bug #342091) fails.

*Building environment

./configure --with-gdktarget=directfb

Glib 2.10.2
ATK 1.11.4
cairo 1.1.6
pango 1.13.0
DirectFB 0.9.24

*Error message

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\"
-DGTK_LIBDIR=\"/home/attilio/gtkdfb//lib\"
-DGTK_DATADIR=\"/home/attilio/gtkdfb//share\"
-DGTK_DATA_PREFIX=\"/home/attilio/gtkdfb/\"
-DGTK_SYSCONFDIR=\"/home/attilio/gtkdfb//etc\" -DGTK_VERSION=\"2.9.1\"
-DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_HOST=\"i686-pc-linux-gnu\"
-DGTK_COMPILATION -DGTK_PRINT_BACKENDS=\"pdf,lpr\" -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/home/attilio/gtkdfb//include/pango-1.0
-I/home/attilio/gtkdfb//include/cairo -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -D_REENTRANT -D_GNU_SOURCE
-I/usr/include/directfb -DG_DISABLE_DEPRECATED -g -O2 -g -Wall -MT
gtkrecentmanager.lo -MD -MP -MF .deps/gtkrecentmanager.Tpo -c gtkrecentmanager.c
 -fPIC -DPIC -o .libs/gtkrecentmanager.o
gtkrecentmanager.c:109: error: syntax error before 'GBookmarkFile'
gtkrecentmanager.c:109: warning: no semicolon at end of struct or union
gtkrecentmanager.c:113: error: syntax error before '}' token
gtkrecentmanager.c: In function 'gtk_recent_manager_class_init':
gtkrecentmanager.c:274: error: invalid application of 'sizeof' to incomplete
type 'GtkRecentManagerPrivate'
gtkrecentmanager.c: In function 'gtk_recent_manager_init':
gtkrecentmanager.c:286: error: dereferencing pointer to incomplete type
gtkrecentmanager.c:290: error: dereferencing pointer to incomplete type
gtkrecentmanager.c:291: error: dereferencing pointer to incomplete type
gtkrecentmanager.c:293: error: dereferencing pointer to incomplete type
gtkrecentmanager.c:294: error: dereferencing pointer to incomplete type
gtkrecentmanager.c:295: error: dereferencing pointer to incomplete type
gtkrecentmanager.c:296: error: dereferencing pointer to incomplete type
gtkrecentmanager.c:298: error: dereferencing pointer to incomplete type
gtkrecentmanager.c: In function 'gtk_recent_manager_get_property':
gtkrecentmanager.c:336: error: dereferencing pointer to incomplete type
gtkrecentmanager.c:339: error: dereferencing pointer to incomplete type
gtkrecentmanager.c:342: error: dereferencing pointer to incomplete type

<snip/>

gtkrecentmanager.c: In function 'IA__gtk_recent_manager_purge_items':
gtkrecentmanager.c:1406: error: dereferencing pointer to incomplete type
gtkrecentmanager.c:1409: error: dereferencing pointer to incomplete type
gtkrecentmanager.c:1415: error: dereferencing pointer to incomplete type
make[4]: *** [gtkrecentmanager.lo] Error 1
make[4]: Leaving directory `/home/attilio/gtkdfb/src/gtk+-2.9.1/gtk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/attilio/gtkdfb/src/gtk+-2.9.1/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/attilio/gtkdfb/src/gtk+-2.9.1/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/attilio/gtkdfb/src/gtk+-2.9.1'
make: *** [all] Error 2

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Matthias Clasen 2006-05-18 14:48:29 UTC
you need glib 2.11
Comment 2 Attilio Fiandrotti 2006-05-18 15:10:01 UTC
I also tried compiling with glib 2.11.1 instead of 2.10  in the past days and i got this error message.
Note that the configure script never warn me, anyway, that i needed glib 2.11.

Attilio

/bin/sh ../libtool --mode=link gcc  -g -O2 -g -Wall   -o gtk-query-immodules-2.0  queryimmodules.o libgtk-directfb-2.0.la ../gdk-pixbuf/libgdk_pixbuf-2.0.la ../gdk/libgdk-directfb-2.0.la
gcc -g -O2 -g -Wall -o .libs/gtk-query-immodules-2.0 queryimmodules.o  ./.libs/libgtk-directfb-2.0.so -L/home/attilio/gtkdfb//lib /home/attilio/gtkdfb/src/gtk+-2.9.1/gdk/.libs/libgdk-directfb-2.0.so /usr/lib/libatk-1.0.so ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so ../gdk/.libs/libgdk-directfb-2.0.so /home/attilio/gtkdfb//lib/libpangocairo-1.0.so /home/attilio/gtkdfb//lib/libpangoft2-1.0.so /home/attilio/gtkdfb//lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so /home/attilio/gtkdfb//lib/libcairo.so -lpng12 /usr/lib/libdirectfb.so /usr/lib/libfusion.so /usr/lib/libdirect.so -lpthread -lfontconfig /usr/lib/libfreetype.so /usr/lib/libxml2.so -lz /home/attilio/gtkdfb/src/gtk+-2.9.1/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so /home/attilio/gtkdfb//lib/libgmodule-2.0.so -ldl /home/attilio/gtkdfb//lib/libgobject-2.0.so /home/attilio/gtkdfb//lib/libglib-2.0.so -lm -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/home/attilio/gtkdfb//lib
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_get_title'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_get_is_private'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_set_description'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_get_size'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_free'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_type_register_static_simple'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_load_from_file'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_get_visited'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_get_modified'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_set_mime_type'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_set_is_private'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_has_item'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_get_applications'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_get_uris'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_new'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_get_description'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_set_title'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_to_file'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_add_group'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_add_application'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_remove_item'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_get_mime_type'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_move_item'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_get_groups'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_get_app_info'
./.libs/libgtk-directfb-2.0.so: undefined reference to `g_bookmark_file_get_added'
collect2: ld returned 1 exit status
make[4]: *** [gtk-query-immodules-2.0] Error 1
make[4]: Leaving directory `/home/attilio/gtkdfb/src/gtk+-2.9.1/gtk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/attilio/gtkdfb/src/gtk+-2.9.1/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/attilio/gtkdfb/src/gtk+-2.9.1/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/attilio/gtkdfb/src/gtk+-2.9.1'
make: *** [all] Error 2