Hello again,

Since I submitted one patch I thought I'd send another one which is
needed for me on Arch Linux x86_64.  Not sure of universal Linux use
or necessity.

I need two "fixes" for Arch:

1.) Run ./configure with "--enable-xshm"; and
2.) Patch Makefile, patch is attached.

With these, qemacs pulled from CVS (qemacs-cvs package from AUR)
builds successfully.  Fix 2.) solves this error:

"/usr/bin/ld: .objs-Linux-x86_64-gcc/qe.o: undefined reference to
symbol 'dlclose@@GLIBC_2.2.5'
"/usr/lib/libdl.so.2: error adding symbols: DSO missing from command line"

This was reported on Sat, 21 May 2016 by François Revol.  Adding
"-ldl" seems to be needed but I'm not sure I've added it in the right
place(?).

(My previous x11.c.patch is still needed as x11.c hasn't been patched
yet, but recent Makefile fixes in CVS have solved all problems except
the one above.)

Again, HTH.
-- 
Clemmitt Sigler
--- src/qemacs-build/Makefile.orig	2016-06-08 14:14:08.001081378 -0400
+++ src/qemacs-build/Makefile	2016-06-08 14:05:02.003966877 -0400
@@ -166,7 +166,7 @@
   ifdef CONFIG_XSHM
     XLIBS += -lXext
   endif
-  XLIBS += -lX11
+  XLIBS += -lX11 -ldl
   XLDFLAGS := $(LDFLAGS)
   ifdef CONFIG_DARWIN
     XLDFLAGS += -L/opt/X11/lib/
_______________________________________________
Qemacs-devel mailing list
Qemacs-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/qemacs-devel

Reply via email to