Bug#404754: libgtk2.0-dev: Missing gdkwindow-x11.h

Josselin Mouette joss at debian.org
Fri Dec 29 01:02:58 UTC 2006


Le vendredi 29 décembre 2006 à 01:31 +0100, Mathias Brodala a écrit :
> > You have to grab the GTK+ source: "apt-get source gtk+2.0"
> > Then, rename the patch and add it in the debian/patches/ directory (or,
> > if you're using the experimental package, import it with quilt). After
> > which you can rebuild the package with dpkg-buildpackage.
> 
> But that’s exactly what I already did. And I cannot accomplish this since the
> compiler is unable to find gdkwindow-x11.h. That was the reason I filed this
> report. I guess I should have posted this earlier, but here’s the compiling error:
> 
> > i486-linux-gnu-gcc -g -O2 -Wall -o .libs/gtk-query-immodules-2.0 queryimmodules.o  ./.libs/libgtk-directfb-2.0.so ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so ../gdk/.libs/libgdk-directfb-2.0.so
> > ./.libs/libgtk-directfb-2.0.so: undefined reference to `gdk_display'
> > ./.libs/libgtk-directfb-2.0.so: undefined reference to `XChangeProperty'
> > ./.libs/libgtk-directfb-2.0.so: undefined reference to `XInternAtom'
> > ./.libs/libgtk-directfb-2.0.so: undefined reference to `gdk_x11_drawable_get_xid'
> > collect2: ld returned 1 exit status

This is the directFB variant of GTK+ breaking, as your patch is using
direct X11 primitives instead of portable ones. I guess you have to
disable the directFB build and build only the X11 variant.

Regards,
-- 
 .''`.
: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20061229/6b605d52/attachment-0001.pgp


More information about the pkg-gnome-maintainers mailing list