From: Robert Hooker <robert.hoo...@canonical.com> Fixes this build failure with ld --no-add-needed
CCLD oclock /usr/bin/ld: oclock.o: undefined reference to symbol 'XtAddEventHandler' /usr/bin/ld: note: 'XtAddEventHandler' is defined in DSO /usr/lib/libXt.so.6 so try adding it to the linker command line /usr/lib/libXt.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status Signed-off-by: Robert Hooker <robert.hoo...@canonical.com> --- configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index ab542a7..ed71e33 100644 --- a/configure.ac +++ b/configure.ac @@ -38,7 +38,7 @@ XORG_DEFAULT_OPTIONS AM_CONFIG_HEADER(config.h) # Checks for pkg-config packages -PKG_CHECK_MODULES(OCLOCK, x11 xmu xext) +PKG_CHECK_MODULES(OCLOCK, x11 xt xmu xext) PKG_CHECK_MODULES(APPDEFS, xt) xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt` -- 1.7.2.3 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel