From xemacs-m  Fri May 23 03:05:08 1997
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by xemacs.org (8.8.5/8.8.5) with SMTP id DAA09639
	for <xemacs-beta@xemacs.org>; Fri, 23 May 1997 03:05:05 -0500 (CDT)
Received: from Eng.Sun.COM ([129.146.1.25]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id BAA04085; Fri, 23 May 1997 01:20:11 -0700
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id BAA09333; Fri, 23 May 1997 01:04:18 -0700
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id BAA10225; Fri, 23 May 1997 01:04:17 -0700
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id BAA19115; Fri, 23 May 1997 01:04:20 -0700
Date: Fri, 23 May 1997 01:04:20 -0700
Message-Id: <199705230804.BAA19115@xemacs.eng.sun.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Martin Buchholz <mrb@Eng.Sun.COM>
To: "Manfred A. Antar" <manfred@mantar.slip.netcom.com>
Cc: xemacs-beta@xemacs.org
Subject: Build semi-faliure b2
In-Reply-To: <199705230545.WAA23494@mantar.slip.netcom.com>
References: <199705230545.WAA23494@mantar.slip.netcom.com>
X-Mailer: VM 6.31 under 20.3 XEmacs Lucid (beta1)
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>

>>>>> "Manfred" == Manfred A Antar <manfred@mantar.slip.netcom.com> writes:

Manfred> I just tried to compile on a Freebsd 3.0 which has been
Manfred> building betas fine till now.When it started to link i got a
Manfred> bunch of errors that are fixed by adding -lc to the
Manfred> ld_libs_all in src/Makefile!!

Try adding
#define LIB_STANDARD -lc
to s/freebsd.h

Does that fix it?  (rerun configure and make to test it).

I am surprised there are compilation environments today where the -lc
is not implicit.  This behavior is standardized in XPG4, for example.
I could make "-lc" the default value for LIB_STANDARD instead (this
was the case previously), but that should be necessary only in
exceptional cases.  BSD has had an implicit -lc for 20 years.  Is
FreeBSD really this broken?  Perhaps there are 2 copies of libc installed?

Martin

Manfred> Configured for `i386-unknown-freebsd3.0'.

