From xemacs-m  Tue May 27 00:40:52 1997
Received: from mantar.slip.netcom.com (mantar.slip.netcom.com [192.187.167.134])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id AAA18423
	for <xemacs-beta@xemacs.org>; Tue, 27 May 1997 00:40:50 -0500 (CDT)
Received: from mantar.slip.netcom.com (localhost [127.0.0.1])
	by mantar.slip.netcom.com (8.8.5/8.8.5) with ESMTP id WAA05293;
	Mon, 26 May 1997 22:40:45 -0700 (PDT)
Message-Id: <199705270540.WAA05293@mantar.slip.netcom.com>
X-Mailer: exmh version 2.0gamma 1/27/96
To: Martin Buchholz <mrb@Eng.Sun.COM>
cc: xemacs-beta@xemacs.org
Subject: Re: Build semi-faliure b2 
In-reply-to: Your message of "Mon, 26 May 1997 00:04:02 PDT."
             <199705260704.AAA04680@xemacs.eng.sun.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 26 May 1997 22:40:44 -0700
From: "Manfred A. Antar" <manfred@mantar.slip.netcom.com>

> Manfred> gcc -o test test.c
> 
> Manfred> This gives me a green Hello World
> 
> Manfred> The last beta did not do this and i do a make world on the
> Manfred> system daily and have never had to include -lc in anyrhing.
> Manfred> There is a libc_r that has just been included in FreBSD
> Manfred> current but i dont
> 
> Manfred> think that is the problem.
> Manfred> gcc version is 2.7.2.1
> Manfred> and i am using gnumake
> Manfred> I don't know where else to look.
> 
> Check the temacs link command line, and see if there is a -nostdlib on 
> the command line.  Try changing the link command to include neither
> -lc nor -nostdlib, and if that successfully builds temacs, type make
> and see if the resulting build succeeds.
> 
> Martin
> 
Less errors than before
I get this now 

/usr/lib/crt0.o: Definition of symbol `_dlopen' (multiply defined)
/usr/lib/crt0.o: Definition of symbol `_dlclose' (multiply defined)
/usr/lib/crt0.o: Definition of symbol `_dlerror' (multiply defined)
/usr/lib/crt0.o: Definition of symbol `___progname' (multiply defined)
/usr/lib/crt0.o: Definition of symbol `start' (multiply defined)
/usr/lib/crt0.o: Definition of symbol `_dlsym' (multiply defined)
/usr/lib/crt0.o: Definition of symbol `_dlopen' (multiply defined)
/usr/lib/crt0.o: Definition of symbol `_dlclose' (multiply defined)
/usr/lib/crt0.o: Definition of symbol `_dlerror' (multiply defined)
/usr/lib/crt0.o: Definition of symbol `___progname' (multiply defined)
/usr/lib/crt0.o: Definition of symbol `start' (multiply defined)
/usr/lib/crt0.o: Definition of symbol `_dlsym' (multiply defined)

With just -lc i get the same errors as above.
If i put -lc -nostdlib in it compiles  with out a problem.
With just -nostdlib i get pages of errors
In src Makefile this is what works:
LD= $(CC) -nostdlib -lc
Manfred
===========================
||	mantar@netcom.com	||
||	Ph. (415) 647-4843	||
===========================


