Re: gtk+-3.0.10: undefined reference to `XCompositeReleaseOverlayWindow'



On Thu, Jun 23, 2011 at 10:10:28AM -0400, twurgl goodyear com wrote:
> I looked at the configure output and there was nothing good or bad 
> relating to composite.
> 
> here is the line from "ldd .libs/libgdk-3.so"
> 
>         libXcomposite.so.1 => /usr/X11R6/lib64/libXcomposite.so.1 
> (0x00002ba184a2a000)
> 
> but I had another response indicating that this should be defined in: 
>       /usr/include/X11/extensions/Xcomposite.h 
> 
> But though the file exists, XCompositeReleaseOverlayWindow isn't in there.

That's odd, as you gave a linker error(!)

Looks as though gtk's configure.ac needs something based on

AC_PATH_XTRA
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
LDFLAGS="$LDFLAGS $X_LIBS"
AC_CHECK_LIB([Xcomposite], [XCompositeReleaseOverlayWindow],
 [stuff to do if found])

Cheers,

Patrick


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