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



I reconfigured with --disable-xcomposite
and got MUCH further in the compile, but now hit:

  CCLD   gtk-query-immodules-3.0
./.libs/libgtk-3.so: undefined reference to `pango_cairo_show_glyph_item'
collect2: ld returned 1 exit status
make[4]: *** [gtk-query-immodules-3.0] Error 1
make[4]: Leaving directory `/u/rds4020/t901353/src/gtk+-3.0.10/gtk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/u/rds4020/t901353/src/gtk+-3.0.10/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/u/rds4020/t901353/src/gtk+-3.0.10/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/u/rds4020/t901353/src/gtk+-3.0.10'
make: *** [all] Error 2


aarrggghhhh



Contains Confidential and/or Proprietary Information.  May Not Be Copied or Disseminated Without Express Written Consent of The Goodyear Tire & Rubber Company




From:        Patrick Welche <prlw1 cam ac uk>
To:        twurgl goodyear com
Cc:        gtk-list gnome org
Date:        06/23/2011 10:32 AM
Subject:        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]