From xemacs-m  Thu Mar 13 08:47:40 1997
Received: from wfdutilgw.ml.com (wfdutilf01.ml.com [206.3.74.31])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id IAA24771
	for <xemacs-beta@xemacs.org>; Thu, 13 Mar 1997 08:47:39 -0600 (CST)
Received: from ml1.ml.com ([199.201.57.130])
	by wfdutilgw.ml.com (8.8.5/8.8.5/MLgw-3.03) with ESMTP id JAA14378
	for <xemacs-beta@xemacs.org>; Thu, 13 Mar 1997 09:45:26 -0500 (EST)
Received: from commpost.ml.com (commpost.ml.com [146.125.4.24])
	by ml1.ml.com (8.8.5/8.8.5/MLml4-2.07) with SMTP id JAA19398
	for <xemacs-beta@xemacs.org>; Thu, 13 Mar 1997 09:49:58 -0500 (EST)
Received: from spssunp.spspme.ml.com (spssunp.spspme.ml.com [192.168.111.13]) by commpost.ml.com (8.6.12/8.6.12) with ESMTP id JAA22651 for <xemacs-beta@xemacs.org>; Thu, 13 Mar 1997 09:50:01 -0500
Received: by spssunp.spspme.ml.com (SMI-8.6/SMI-4.1)
	id JAA29795; Thu, 13 Mar 1997 09:47:07 -0500
Sender: craffert@spspme.ml.com
Mail-Copies-To: never
To: XEmacs Beta List <xemacs-beta@xemacs.org>
Subject: Re: 20.1b6 CDE configuration failure
References: <ocr4teg4tfd.fsf@spssunp.spspme.ml.com> <m2913s32vt.fsf@altair.xemacs.org>
Reply-To: Colin Rafferty <craffert@ml.com>
X-Face: y,o:AU/bfCrS+zS/W"^puB!rT!G7?U1Mvp1Hd{6h^>X4@Xp5,|g+rG>4gv/iy^&x9`k#s!]X~{]Js>@A4c}4Z"Ct7=#1nPS:?mrWH8c#>$)>/Wc5yuX_OFO1(4cZM{LvsKWVQSl~/i>!n[-B*i-alq[/m\bsdy;W4p(_ic;$BE.oG@eJf@sr#x#}FT<=H8Ozu%g;JpVz:v_~vt[>ef/MeNeo3~D^R]]*bB7{HB|E1$wfMzw
X-Y-Zippy: ..  this must be what it's like to be a COLLEGE GRADUATE!!
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
From: Colin Rafferty <craffert@ml.com>
Date: 13 Mar 1997 09:47:06 -0500
In-Reply-To: Steven L Baur's message of 12 Mar 1997 19:08:22 -0800
Message-ID: <ocrhgifvogl.fsf@spssunp.spspme.ml.com>
Lines: 37
X-Mailer: Gnus v5.4.23/XEmacs 20.1

Steven L Baur writes:
> Colin Rafferty writes:
>> CDE is dependent on Motif, but it does not force Motif libraries to be
>> added to the compile and the load.
>  ...
>> Undefined			first referenced
>> symbol  			    in file
>> XmDragCancel                        frame-x.o  (/usr/dt/lib/libXm.so.3?)
>> _ex_rethrow_q                       /usr/dt/lib/libDtSvc.so
>
> The only place the first symbol is referenced is one place in
> frame-x.c.  I don't know what _ex_rethrow_q is.

Neither do I.  Since it is needed by libDtSvc, it should really be
some library that is linked in with CDE.

> static Lisp_Object
> abort_current_drag(Lisp_Object arg)
> {
>   if(CurrentDragWidget && drag_not_done)
>     {
>       XmDragCancel(CurrentDragWidget);
>       CurrentDragWidget = NULL;
>     }
>   return arg;
> }
>
> Would it suffice to wrap a #ifdef LWLIB_USES_MOTIF ... #endif around
> the if?

The entire set of functions around abort_current_drag() are wrapped by
an #ifdef HAVE_CDE ... #endif.

I guess the real question is, who uses it and why?

-- 
Colin

