From xemacs-m  Sat May 24 09:22:01 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 JAA20112
	for <xemacs-beta@xemacs.org>; Sat, 24 May 1997 09:22:01 -0500 (CDT)
Received: from Eng.Sun.COM ([129.146.1.25]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id AAA08201; Sat, 24 May 1997 00:48:48 -0700
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id AAA19500; Sat, 24 May 1997 00:32:41 -0700
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id AAA18921; Sat, 24 May 1997 00:32:38 -0700
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id AAA26904; Sat, 24 May 1997 00:32:41 -0700
Date: Sat, 24 May 1997 00:32:41 -0700
Message-Id: <199705240732.AAA26904@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: Re: Build semi-faliure b2 
In-Reply-To: <199705231822.LAA09495@mantar.slip.netcom.com>
References: <199705230804.BAA19115@xemacs.eng.sun.com>
	<199705231822.LAA09495@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:

>> 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> Ya that works! funny i've never had that happen before.i guess i should mention
Manfred> that i'm running FreeBSD current which is also beta :).
Manfred> Thanks Manfred

But we need to dig deeper.  Does Hello World not link on your system.
If it does, more investigation is required as to why -lc was
necessary.

Martin

