From xemacs-m  Thu Feb 27 10:44:14 1997
Received: from hudutilgw.ml.com (hudutilf01.ml.com [198.242.49.31])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id KAA06757
	for <xemacs-beta@xemacs.org>; Thu, 27 Feb 1997 10:44:09 -0600 (CST)
Received: from ml2.ml.com ([199.201.37.130])
	by hudutilgw.ml.com (8.8.5/8.8.5/MLgw-3.03) with ESMTP id LAA15632
	for <xemacs-beta@xemacs.org>; Thu, 27 Feb 1997 11:42:25 -0500 (EST)
Received: from commpost.ml.com (commpost.ml.com [146.125.4.24]) by ml2.ml.com (8.7.5/8.7.3/MLml-2.06b) with SMTP id LAA24212 for <xemacs-beta@xemacs.org>; Thu, 27 Feb 1997 11:46:42 -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 LAA21402 for <xemacs-beta@xemacs.org>; Thu, 27 Feb 1997 11:46:17 -0500
Received: by spssunp.spspme.ml.com (SMI-8.6/SMI-4.1)
	id LAA05015; Thu, 27 Feb 1997 11:43:16 -0500
To: XEmacs Beta List <xemacs-beta@xemacs.org>
Subject: 20.1b3 link failure (cde/motif)
Reply-To: Colin Rafferty <craffert@ml.com>
Mail-Copies-To: never
X-Face: D>:hrrB{l6#\wU;)0R:OHSTA@ayd.Oq?s@Rrc;[+z0m+<-U"$G-J6L)F2QY`qK~uPu!s1(6{\#uy!Ag/D)?'L[}xErXvxoPn8T_hKi{M]/(`BF{e}X7;hby`p\.E$rJ}Aff#BT,rdDIw\y
X-Y-Zippy: I'm encased in the lining of a pure pork sausage!!
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: multipart/mixed;
 boundary="Multipart_Thu_Feb_27_11:43:05_1997-1"
Content-Transfer-Encoding: 7bit
From: Colin Rafferty <craffert@spspme.ml.com>
Date: 27 Feb 1997 11:43:08 -0500
Message-ID: <ocrn2squrmr.fsf@spssunp.spspme.ml.com>
Lines: 136
X-Mailer: Gnus v5.4.12/XEmacs 20.1

--Multipart_Thu_Feb_27_11:43:05_1997-1
Content-Type: text/plain; charset=US-ASCII

*Executive Summary*

A configuration that I have been using for a while (last on 20.1r1) has
now failed to link temacs.  The problem is that configure is now
recognizing that I have cde, but not giving me the libraries that I
need.

In frame-x.c:1030, XmDragCancel() is called.  This is only compiled in
if I have CDE.  However, I am not linking in Motif, so this is
(obviously) not correct.

If CDE wants to depend on -lXm, it should force it.  Of course, I still
don't know where _ex_rethrow_q should come from.

What follows (in order) are my 20.1-r3 frame-x.c compile line and temacs
link line (with failure), my 20.1-r1 compile and link lines, my 20.1-r3
configuration run, and my 20.1-r1 configuration run.

I will try forcing Motif, and let you know the results.


--Multipart_Thu_Feb_27_11:43:05_1997-1
Content-Type: text/plain; charset=US-ASCII

*20.1-r3 compile, link and failure*

gcc -c -Demacs -DHAVE_CONFIG_H  -I. 	   -I/export1/craffert/src/xemacs-20.1-b3/src -I/export1/craffert/src/xemacs-20.1-b3/src/.        	    -I/export1/craffert/src/site  -I/usr/openwin/include -I/usr/dt/include -I/usr/openwin/include/desktop -I/usr/dt/include/Tt    	   -I/usr/dt/include  -I/export1/craffert/src/xemacs-20.1-b3/src/../lwlib -g -O frame-x.c
gcc -g -O      -L/export1/craffert/src/site -L/export1/craffert/src/site -R/export1/craffert/src/site  -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/dt/lib -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/dt/lib -R/usr/dt/lib  -L /usr/ccs/lib `./prefix-args -Xlinker  ` -R /usr/openwin/lib -L /usr/openwin/lib -R /usr/dt/lib -L /usr/dt/lib  	      	  -L. -L../lwlib     -fno-gnu-linker     -o temacs  abbrev.o alloc.o blocktype.o buffer.o bytecode.o 	callint.o callproc.o casefiddle.o casetab.o chartab.o cmdloop.o 	cmds.o console.o console-stream.o 	data.o database.o  debug.o  device.o dialog.o  dired.o doc.o 	doprnt.o dynarr.o 	editfns.o elhash.o emacs.o     eval.o events.o 	event-stream.o event-unixoid.o  extents.o 	faces.o fileio.o filelock.o filemode.o floatfns.o fns.o font-lock.o 	frame.o 	general.o getloadavg.o dgif_lib.o gif_err.o gifalloc.o  glyphs.o gui.o  	hash.o 	indent.o inline.o insdel.o intl.o 	keymap.o  	lread.o lstream.o 	macros.o marker.o md5.o menubar.o  minibuf.o   !
 	    	objects.o opaque.o 	print.o process.o profile.o pure.o 	rangetab.o   redisplay.o redisplay-output.o regex.o 	scrollbar.o  search.o signal.o sound.o 	sunplay.o  specifier.o 	strftime.o sunpro.o  symbols.o syntax.o sysdep.o 	toolbar.o  tooltalk.o  console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o  	undo.o unexsol2.o  	console-x.o device-x.o dialog-x.o  event-Xt.o frame-x.o glyphs-x.o gui-x.o  menubar-x.o  objects-x.o redisplay-x.o scrollbar-x.o  toolbar-x.o    xgccache.o xselect.o    	window.o mule.o mule-ccl.o   		  mule-charset.o mule-coding.o terminfo.o   lastfile.o gmalloc.o free-hook.o vm-limit.o ralloc.o  EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o     /usr/demo/SOUND/lib/libaudio.a     -lDtSvc -ltt    	-ltt -lce  -llw -lXaw -lXpm -lcompface    -lXmu -lXt -lXext   -lX11 	-lsocket -lnsl -lkvm -lelf -lgen -ldl    -ltermlib  	        -lkstat 	        -lm    	 
Undefined			first referenced
 symbol  			    in file
XmDragCancel                        frame-x.o  (/usr/dt/lib/libXm.so.3?)
_ex_rethrow_q                       /usr/dt/lib/libDtSvc.so
ld: fatal: Symbol referencing errors. No output written to temacs
*** Error code 1


--Multipart_Thu_Feb_27_11:43:05_1997-1
Content-Type: text/plain; charset=US-ASCII

*20.1-r1 compile and link*

gcc -c -Demacs -DHAVE_CONFIG_H  -I. 	   -I/export1/craffert/src/xemacs-20.1-b1/src -I/export1/craffert/src/xemacs-20.1-b1/src/.        	    -I/export1/craffert/src/site  -I/usr/openwin/include -I/usr/openwin/include/desktop -I/usr/openwin/include/desktop    	   -I/usr/dt/include  -I/export1/craffert/src/xemacs-20.1-b1/src/../lwlib -g -O frame-x.c
gcc -g -O      -L/export1/craffert/src/site -L/export1/craffert/src/site -R/export1/craffert/src/site  -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/openwin/lib -R/usr/openwin/lib  -L /usr/ccs/lib `./prefix-args -Xlinker  ` -R /usr/openwin/lib -L /usr/openwin/lib -R /usr/dt/lib -L /usr/dt/lib  	      	  -L. -L../lwlib     -fno-gnu-linker     -o temacs  abbrev.o alloc.o blocktype.o buffer.o bytecode.o 	callint.o callproc.o casefiddle.o casetab.o chartab.o cmdloop.o 	cmds.o console.o console-stream.o 	data.o database.o  debug.o  device.o dialog.o  dired.o doc.o 	doprnt.o dynarr.o 	editfns.o elhash.o emacs.o     eval.o events.o 	event-stream.o event-unixoid.o  extents.o 	faces.o fileio.o filelock.o filemode.o floatfns.o fns.o font-lock.o 	frame.o 	general.o getloadavg.o dgif_lib.o gif_err.o gifalloc.o  glyphs.o gui.o  	hash.o 	indent.o inline.o insdel.o intl.o 	keymap.o  	lread.o lstream.o 	macros.o marker.o md5.o menubar.o  minibuf.o   	    	objects.o opaque.o 	print.o process.!
 o profile.o pure.o 	rangetab.o   redisplay.o redisplay-output.o regex.o 	scrollbar.o  search.o signal.o sound.o 	sunplay.o  specifier.o 	strftime.o sunpro.o  symbols.o syntax.o sysdep.o 	toolbar.o  tooltalk.o  console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o  	undo.o unexsol2.o  	console-x.o device-x.o dialog-x.o  event-Xt.o frame-x.o glyphs-x.o gui-x.o  menubar-x.o  objects-x.o redisplay-x.o scrollbar-x.o  toolbar-x.o    xgccache.o xselect.o    	window.o mule.o mule-ccl.o   		  mule-charset.o mule-coding.o terminfo.o   lastfile.o gmalloc.o free-hook.o vm-limit.o ralloc.o  EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o     /usr/demo/SOUND/lib/libaudio.a         	-ltt -lce  -llw -lXaw -lXpm -lcompface    -lXmu -lXt -lXext -lX11 	-lsocket -lnsl -lkvm -lelf -lgen -ldl    -ltermlib  	        -lkstat 	        -lm    	 


--Multipart_Thu_Feb_27_11:43:05_1997-1
Content-Type: text/plain; charset=US-ASCII

*20.1-r3 Configuration*

./configure  --with-mule --with-xface --with-sparcworks --with-tooltalk \
	--site-includes=/export1/craffert/src/site \
	--site-libraries=/export1/craffert/src/site \
	--site-runtime-libraries=/export1/craffert/src/site

Configured for `sparc-sun-solaris2.4'.

  Where should the build process find the source code?    /export1/craffert/src/xemacs-20.1-b3
  What installation prefix should install use?		  /usr/local
  What operating system and machine description files should XEmacs use?
        `s/sol2-4.h' and `m/sparc.h'
  What compiler should XEmacs be built with?              gcc -g -O 
  Should XEmacs use the GNU version of malloc?            yes
  Should XEmacs use the relocating allocator for buffers? yes
  What window system should XEmacs use?                   x11
  Where do we find X Windows header files?                /usr/openwin/include
  Where do we find X Windows libraries?                   /usr/openwin/lib
  Additional header files:                                /export1/craffert/src/site
  Additional libraries:                                   /export1/craffert/src/site /export1/craffert/src/site
  Compiling in support for XAUTH.
  Compiling in support for XPM.
  Compiling in support for X-Face headers.
  Compiling in support for GIF image conversion.
  Compiling in native sound support.
  Compiling in support for DBM.
  Compiling in Mule (multi-lingual) support.
  Compiling in support for CDE.
  Compiling in support for ToolTalk.
  Compiling in support for SparcWorks.
  Using the Lucid menubar.
  Using the Lucid scrollbar.
  Using the Athena dialog boxes.
  Compiling in extra code for debugging.
  Compiling in code for checking XEmacs memory usage.


--Multipart_Thu_Feb_27_11:43:05_1997-1
Content-Type: text/plain; charset=US-ASCII

*20.1-r1 Configuration*

./configure --with-mule --with-xface --with-sparcworks --with-tooltalk \
	--site-includes=/export1/craffert/src/site \
	--site-libraries=/export1/craffert/src/site \
	--site-runtime-libraries=/export1/craffert/src/site

Configured for `sparc-sun-solaris2.4'.

  Where should the build process find the source code?    /export1/craffert/src/xemacs-20.1-b1
  What installation prefix should install use?		  /usr/local
  What operating system and machine description files should XEmacs use?
        `s/sol2-4.h' and `m/sparc.h'
  What compiler should XEmacs be built with?              gcc -g -O 
  Should XEmacs use the GNU version of malloc?            yes
  Should XEmacs use the relocating allocator for buffers? yes
  What window system should XEmacs use?                   x11
  Where do we find X Windows header files?                /usr/openwin/include
  Where do we find X Windows libraries?                   /usr/openwin/lib
  Additional header files:                                /export1/craffert/src/site
  Additional libraries:                                   /export1/craffert/src/site /export1/craffert/src/site
  Compiling in support for XAUTH.
  Compiling in support for XPM.
  Compiling in support for X-Face headers.
  Compiling in support for GIF image conversion.
  Compiling in native sound support.
  Compiling in support for DBM.
  Compiling in support for ToolTalk.
  Compiling in Mule (multi-lingual) support.
  Compiling in support for SparcWorks.
  Using the Lucid menubar.
  Using the Lucid scrollbar.
  Using the Athena dialog boxes.
  Compiling in extra code for debugging.
  Compiling in code for checking XEmacs memory usage.


--Multipart_Thu_Feb_27_11:43:05_1997-1
Content-Type: text/plain; charset=US-ASCII

-- 
Colin

--Multipart_Thu_Feb_27_11:43:05_1997-1--

