From xemacs-m  Sun May 11 22:02:25 1997
Received: from pentagana.sonic.jp (jhod@tc-5-018.tokyo.gol.com [203.216.8.18])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id WAA23991
	for <xemacs-beta@xemacs.org>; Sun, 11 May 1997 22:02:18 -0500 (CDT)
Received: (from jhod@localhost) by pentagana.sonic.jp (8.7.1+2.6Wbeta4/3.4W3) id LAA00593; Mon, 12 May 1997 11:48:00 +0900
To: xemacs-beta@xemacs.org
Subject: Re: build failure for b6
References: <bci4tca1mxd.fsf@corp.Sun.COM>
From: jhod@po.iijnet.or.jp (P. E. Jareth Hein)
In-Reply-To: Gary.Foster@Corp.Sun.COM's message of 11 May 1997 00:35:10 -0700
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Date: 12 May 1997 11:47:58 +0900
Message-ID: <u4pvuxv21t.fsf@pentagana.sonic.jp>
Lines: 64
X-Mailer: Gnus v5.4.50/XEmacs 20.2(beta4)

Gary.Foster@Corp.Sun.COM (Gary D. Foster) writes:

> ../configure  '--with-gcc' '--with-gnu-make' '--with-scrollbars=lucid' '--with-dialogs=athena3d' '--with-sparcworks' '--site-runtime-libraries=/net/legba.corp/usr/local/lib' '--site-libraries=/usr/dt/lib' '--site-includes=/usr/dt/include'
> 
> 
> Configured for `sparc-sun-solaris2.5.1'.
> 
>   Where should the build process find the source code?    /home/gfoster/xemacs-20.2-b6
>   What installation prefix should install use?		  /usr/local
>   What operating system and machine description files should XEmacs use?
>         `s/sol2-5.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:                                /usr/dt/include
>   Additional libraries:                                   /usr/dt/lib /net/legba.corp/usr/local/lib
>   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 support for JPEG image conversion.
>   Compiling in support for PNG image conversion.
>   Compiling in native sound support.
>   Compiling in support for GNU DBM.
>   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-3d dialog boxes.
> 
> Fails with the following output:
> 
<snip>
> Undefined			first referenced
>  symbol  			    in file
> XmDragCancel                        frame-x.o  (symbol belongs to implicit dependency /usr/dt/lib/libXm.so.3)
> ld: fatal: Symbol referencing errors. No output written to temacs
> make[1]: *** [temacs] Error 1
> make[1]: Leaving directory `/home/gfoster/xemacs-20.2-b6/src'
> make: *** [src] Error 2
> 
> Looks to me like it is trying to link in some motif stuff, but isn't
> specifying a '-lXm' anywhere.  Notice that I explicitly configured
> without motif anything.  I'll try again with configuring in motif
> scrollbars or dialogs and see if it works then.
> 

CDE requires Motif drag and drop services. Therefore unless you
specify --with-cde=no Motif is required (although you are not required
to use Motif dialogs...) A couple of months ago I put in the following
lines into configure.in:

# having CDE requires Motif
if test "${with_cde}" = "yes" ; then
  motif_libs="-lXm -lXt"
fi

Anybody know why they don't seem to be working?

--Jareth

