Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Aug 1999 15:55:35 -0500 (CDT)
From:      Steve Price <sprice@hiwaay.net>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: Xfree
Message-ID:  <Pine.OSF.4.10.9908011552570.30567-200000@fly.HiWAAY.net>
In-Reply-To: <14244.39059.761109.626846@grasshopper.cs.duke.edu>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Sun, 1 Aug 1999, Andrew Gallatin wrote:

# Steve,
# 
# Thanks for committing the patches.  I've built 3.3.4 from ports & it
# seems to work, with the exception of one problem -- xdm dies with the
# following error:
# 
# xdm error (pid 11153): /usr/X11R6/lib/X11/xdm/libXdmGreet.so: Undefined symbol "SessionPingFailed" while loading /usr/X11R6/lib/X11/xdm/libXdmGreet.so
# 
# This is happening because the XdmGreet library is trying to use
# symbols defined in the xdm binary which were not exported.  If I
# manually re-link xdm with the added cflag '-export-dynamic' it works
# fine.
# 
# I'm not enough of a ports (or XFree86) hacker to know exactly how to
# fix this the right way...  Can you help?

The attached patch should do the trick.  Can you give it a try and
let me know if it works for you?  Thanks.

-steve

[-- Attachment #2 --]
diff -urN XFree86-old/patches/patch-6 XFree86/patches/patch-6
--- XFree86-old/patches/patch-6	Wed Dec 31 18:00:00 1969
+++ XFree86/patches/patch-6	Sun Aug  1 15:50:52 1999
@@ -0,0 +1,11 @@
+--- programs/xdm/Imakefile.orig	Sun Aug  1 15:28:12 1999
++++ programs/xdm/Imakefile	Sun Aug  1 15:33:53 1999
+@@ -20,7 +20,7 @@
+  */
+ #ifndef SharedLibXdmGreet
+ #define SharedLibXdmGreet						\
+-    ((defined(AlphaArchitecture) &&					\
++    ((defined(AlphaArchitecture) && !defined(FreeBSDArchitecture) &&	\
+       (!defined(NetBSDArchitecture) ||					\
+        (defined(NetBSDArchitecture) && HasSharedLibraries))) ||		\
+      SystemV4)
diff -urN XFree86-old/pkg/PLIST.alpha XFree86/pkg/PLIST.alpha
--- XFree86-old/pkg/PLIST.alpha	Tue Jul 27 09:27:34 1999
+++ XFree86/pkg/PLIST.alpha	Sun Aug  1 15:51:07 1999
@@ -1286,8 +1286,6 @@
 lib/X11/xdm/Xsession
 lib/X11/xdm/Xsetup_0
 lib/X11/xdm/chooser
-lib/X11/xdm/libXdmGreet.so
-lib/X11/xdm/libXdmGreet.so.1
 lib/X11/xdm/xdm-config
 lib/X11/xinit/xinitrc
 lib/X11/xkb/compat.dir
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.10.9908011552570.30567-200000>