nanogui: nxlib and Selection.c (undefined reference to XSetSelectionOwner)


Previous by date: 20 Jul 2004 12:47:34 +0100 Where to get X11 headers ?, Steven Scholz
Next by date: 20 Jul 2004 12:47:34 +0100 Mouse Button (Touchscreen) detect time, Pete Klemm
Previous in thread:
Next in thread: 20 Jul 2004 12:47:34 +0100 Re: nxlib and Selection.c (undefined reference to XSetSelectionOwner), Greg Haerr

Subject: nxlib and Selection.c (undefined reference to XSetSelectionOwner)
From: Steven Scholz ####@####.####
Date: 20 Jul 2004 12:47:34 +0100
Message-Id: <40FD064D.20303@imc-berlin.de>

Hi there,

when linking FLTK applications I get

libfltk.so: undefined reference to `XSetSelectionOwner'
libfltk.so: undefined reference to `XConvertSelection'

I found that XSetSelectionOwner is implemented in nxlib-0.45/Selction.c.
But this file is _not_ included in the nxlib-0.45/Makefile.

Adding it like this

--- ./Makefile.SZ       2004-07-20 13:43:12.000000000 +0200
+++ ./Makefile  2004-07-20 13:43:31.000000000 +0200
@@ -60,7 +60,7 @@
         ListPix.o GetGeom.o SetIFocus.o Shape.o\
         font.o Free.o stub.o\
         ClassHint.o Text16.o ListFonts.o QueryFont.o TextExt.o SetFontPath.o\
-       AllocColor.o ParseColor.o QueryColor.o Colormap.o Colorname.o
+       AllocColor.o ParseColor.o QueryColor.o Colormap.o Colorname.o 
Selection.o

  ifeq ($(INCLUDE_XRM), Y)
  OBJS += Quarks.o Xrm.o


fixed the problem for me.

Is there any reason that this file is missing?

Thanks!

-- 
Steven Scholz


Previous by date: 20 Jul 2004 12:47:34 +0100 Where to get X11 headers ?, Steven Scholz
Next by date: 20 Jul 2004 12:47:34 +0100 Mouse Button (Touchscreen) detect time, Pete Klemm
Previous in thread:
Next in thread: 20 Jul 2004 12:47:34 +0100 Re: nxlib and Selection.c (undefined reference to XSetSelectionOwner), Greg Haerr


Powered by ezmlm-browse 0.20.