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 643440 - gdkconfig.h included in tarball
gdkconfig.h included in tarball
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
3.0.x
Other All
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-02-28 02:01 UTC by Marko Lindqvist
Modified: 2011-03-03 03:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marko Lindqvist 2011-02-28 02:01:57 UTC
gtk+ release tarball contains gdkconfig.h. Obviously it is generated for certain kind of environment and is not suitable for others.

I encountered this when cross-compiling for mingw target using build dir != src dir. gdkconfig.h for GDK_WINDOWING_WIN32 was generated to build dir, but src dir still contained one with GDK_WINDOWING_X11. Order in which include directories are searched is such that src dir version of gdkconfig.h got included while compiling gdkdisplaymanager.c leading to errors due to missing X11 headers.

When I removed gdkconfig.h from srcdir before build, build got past this point (it was not complete success, but that new problem seems completely unrelated)