From xemacs-m  Sun Jun 29 03:05:24 1997
Received: from iria.mines.u-nancy.fr (galibert@iria.mines.u-nancy.fr [193.49.140.100])
	by xemacs.org (8.8.5/8.8.5) with SMTP id DAA23071
	for <xemacs-beta@xemacs.org>; Sun, 29 Jun 1997 03:05:23 -0500 (CDT)
Received: (from galibert@localhost) by iria.mines.u-nancy.fr (950413.SGI.8.6.12/950213.SGI.AUTOCF) id KAA03471; Sun, 29 Jun 1997 10:04:13 +0200
Message-ID: <19970629100412.00674@iria.mines.u-nancy.fr>
Date: Sun, 29 Jun 1997 10:04:12 +0200
From: Olivier Galibert <Olivier.Galibert@mines.u-nancy.fr>
To: XEmacs Beta List <xemacs-beta@xemacs.org>
Cc: mrb@Eng.Sun.COM
Subject: Re: b8/b9 configure fails big time on SunOS 4.1.4
References: <9706290702.AA03192@ndsoft.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.74
In-Reply-To: <9706290702.AA03192@ndsoft.com>; from Amir J. Katz on Sun, Jun 29, 1997 at 10:02:22AM +0000

On Sun, Jun 29, 1997 at 10:02:22AM +0000, Amir J. Katz wrote:
> I've already reported this for b8. Nobody responded. I cried under
> my pillow, waited another week for b9 and retried. No luck this
> time, either.

Here lies the main part of the problem (I asked for the config.log by mail earlier):

  dnl autodetect -lXmu
  case "$opsys" in dnl SunOS4 bug workaround
    sunos4* ) XE_PREPEND(-u _get_applicationShellWidgetClass -lXmu, libs_x) ;;
    * ) if test -z "$with_xmu"; then
	  AC_CHECK_LIB(Xmu, XmuConvertStandardSelection, with_xmu=yes, with_xmu=no)
	fi
	if test "$with_xmu" = "no"; then
	  XE_ADD_OBJS(xmu.o)
	else
	  XE_PREPEND(-lXmu, libs_x)
	fi ;;
  esac

All his tests are failing as soon as -u _get_applicationShellWidgetClass -lXmu is in
libs_x with a:

ld: Undefined symbol
   _get_applicationShellWidgetClass


Also, earlier I see:
configure:3944: checking for X
configure:4009: gcc -E       conftest.c >/dev/null 2>conftest.out
configure:4085: gcc -o conftest -g -O2           -Xlinker -Bstatic   conftest.c     -lXt -lkvm -lm     1>&5
collect2: ld returned 2 exit status
ld: Undefined symbol
   _XrmMergeDatabases
   _XrmGetResource
   [...lots of other symbols because of lack of -lX11...]

Is that wanted ?

  OG.

