From owner-freebsd-hackers Sun Jun 7 20:27:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA18428 for freebsd-hackers-outgoing; Sun, 7 Jun 1998 20:27:14 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA18414 for ; Sun, 7 Jun 1998 20:27:04 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.8/8.8.7) id NAA06566; Mon, 8 Jun 1998 13:29:56 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199806080329.NAA06566@cimlogic.com.au> Subject: Re: ___error changes break CDE and mwm In-Reply-To: <199806080316.WAA01190@iworks.InterWorks.org> from "Daniel M. Eischen" at "Jun 7, 98 10:16:19 pm" To: deischen@iworks.InterWorks.org (Daniel M. Eischen) Date: Mon, 8 Jun 1998 13:29:55 +1000 (EST) Cc: freebsd-hackers@FreeBSD.ORG, jb@cimlogic.com.au X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Daniel M. Eischen wrote: > > bash-2.02$ /usr/dt/bin/dtwm > /usr/libexec/ld.so: Undefined symbol "___error" called from dtwm:/usr/X11R6/lib/libX11.so.6.1 at 0x204d2610 > bash-2.02$ /usr/X11R6/bin/mwm > /usr/libexec/ld.so: Undefined symbol "___error" called from mwm:/usr/X11R6/lib/libX11.so.6.1 at 0x202c2610 > > I think you're suppose to be able to run XFree86 and CDE, but definitely > not now. Reverting back to X11 from CDE should at least let me run the > window manager, but I'll have to use a newer xterm (and perhaps a few > other apps). Actually, just backing out to CDEs libX11.a/libX11.so.6.1 > let's me run mwm, but dtwm/dtgreet/dtlogin are still busted apparently > from other libraries. In your case, the XFree86 library versions need to be bumped to avoid this problem. But of course that will prevent dtwm and mwm from using the newer libraries (which defeats what you were trying to achieve). So the answer is "don't do that". 8-) FWIW, the __error change is designed to allow threaded programs to make X11 calls in threads other than the initial thread. Anyone who has being doing this before now will find that all the library functions spam errno. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message