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 591884 - build failure: error: #error "Only <gtk/gtk.h> can be included directly."
build failure: error: #error "Only <gtk/gtk.h> can be included directly."
Status: RESOLVED DUPLICATE of bug 577970
Product: brasero
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: 2.26
Assigned To: Brasero maintainer(s)
Brasero maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-08-15 09:20 UTC by Craig Keogh
Modified: 2009-08-15 13:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28



Description Craig Keogh 2009-08-15 09:20:11 UTC
Building via jhbuild with moduleset = 'gnome-2.28' on Ubuntu karmic,

  CC     brasero-preview.o
  CC     brasero-data-disc.o
brasero-data-disc.c: In function ‘brasero_data_disc_image_uri_cb’:
brasero-data-disc.c:624: warning: format not a string literal and no format arguments
  CC     brasero-file-filtered.o
  CC     brasero-filter-option.o
  CC     baobab-cell-renderer-progress.o
  CC     brasero-multi-song-props.o
  CC     brasero-rename.o
brasero-rename.c: In function ‘brasero_rename_delete_string’:
brasero-rename.c:131: warning: field precision should have type ‘int’, but argument 2 has type ‘long int’
brasero-rename.c: In function ‘brasero_rename_substitute_string’:
brasero-rename.c:152: warning: field precision should have type ‘int’, but argument 2 has type ‘long int’
  CC     brasero-video-disc.o
  CC     brasero-video-tree-model.o
  CC     brasero-app.o
make[2]: Leaving directory `/home/oxyde/gnome2/brasero/src'
make[1]: Leaving directory `/home/oxyde/gnome2/brasero'
In file included from /opt/gnome2/include/unique-1.0/unique/uniqueapp.h:27,
                 from /opt/gnome2/include/unique-1.0/unique/unique.h:24,
                 from brasero-app.c:38:
/opt/gnome2/include/gtk-2.0/gtk/gtkwindow.h:28:2: error: #error "Only <gtk/gtk.h> can be included directly."
In file included from /opt/gnome2/include/unique-1.0/unique/uniquebackend.h:26,
                 from /opt/gnome2/include/unique-1.0/unique/unique.h:25,
                 from brasero-app.c:38:
/opt/gnome2/include/gtk-2.0/gdk/gdkscreen.h:25:2: error: #error "Only <gdk/gdk.h> can be included directly."
make[2]: *** [brasero-app.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Comment 1 André Klapper 2009-08-15 13:01:05 UTC
That's an issue in libunique and has been fixed already. We're waiting for a new libunique release for GNOME 2.28.

*** This bug has been marked as a duplicate of 577970 ***