From owner-freebsd-questions Thu Nov 2 12:11:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from 2711.dynacom.net (2711.dynacom.net [206.107.213.3]) by hub.freebsd.org (Postfix) with ESMTP id 78ABC37B4E5 for ; Thu, 2 Nov 2000 12:11:39 -0800 (PST) Received: from urx.com (dsl1-160.dynacom.net [206.159.132.160]) by 2711.dynacom.net (Build 101 8.9.3/NT-8.9.3) with ESMTP id MAA04623; Thu, 02 Nov 2000 12:11:36 -0800 Message-ID: <3A01CA78.2CA4055C@urx.com> Date: Thu, 02 Nov 2000 12:11:36 -0800 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: tony Cc: questions@FreeBSD.ORG Subject: Re: Question with make world breakage References: <14847.65087.529538.447033@guru.mired.org> <007c01c04506$22d55320$0a00a8c0@tntpro.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG tony wrote: > > where do I go from here? this started two days ago, I keep cvsuping hoping > it will fix it self but everytime I make world I get this: > > PS it should be noted that make world went fine once, then I went to > config/make install kernel and that failed, so I recvsuped and that is when > make world started stalling > > >>> stage 1: bootstrap tools > -------------------------------------------------------------- > cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386 > DESTDIR=/usr/obj/usr/src/i386 INSTALL="sh /usr/src/tools/install.sh" > MACHINE_ARCH=i386 TOOLS_PREFIX=/usr/obj/usr/src/i386 > PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/u > sr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make -f > Makefile.inc1 -DNOMAN -DNOINFO -DNOHTML bootstrap-tools > cd /usr/src/games/fortune/strfile; make obj; make depend; make all; make > install > /usr/obj/usr/src/i386/usr/src/games/fortune/strfile created for > /usr/src/games/fortune/strfile > rm -f .depend > mkdep -f .depend -a -I/usr/obj/usr/src/i386/usr/include > /usr/src/games/fortune/strfile/strfile.c > cd /usr/src/games/fortune/strfile; make _EXTRADEPEND > echo strfile: /usr/obj/usr/src/i386/usr/lib/libc.a >> .depend > cc -O -pipe -Wall -I/usr/obj/usr/src/i386/usr/include -c > /usr/src/games/fortune/strfile/strfile.c > cc -O -pipe -Wall -I/usr/obj/usr/src/i386/usr/include -o strfile > strfile.o > /usr/lib/crtbegin.o: In function `_init': > /usr/lib/crtbegin.o(.init+0x0): multiple definition of `_init' > /usr/lib/crti.o(.init+0x0): first defined here > /usr/lib/crtbegin.o: In function `_fini': > /usr/lib/crtbegin.o(.fini+0x0): multiple definition of `_fini' > /usr/lib/crti.o(.fini+0x0): first defined here > *** Error code 1 > > Stop in /usr/src/games/fortune/strfile. > *** Error code 1 You are asking in the wrong list. If you try to follow 4-stable, you should also be subscibed to freebsd-stable. You also have to either follow cvs-all, or have a link to it on freebsd.org. There are many messages dealing with this on -stable. David O'Brien's fix is as follows cd /usr/src/lib/csu/i386-elf make cleandir ; make cleandir ; make obj ; make depend ; make all install cd /usr/src/gnu/lib/csu make cleandir ; make cleandir ; make obj ; make depend ; make all install When the upgrade first came out, I was hit with this problem. At that time, I didn't find this all necessary. I only had to modify .../csu and then I did a make all install. The crt...'s are built in stage 2 but strfile needs the changes in stage 1. Also make sure you don't have anything but the Makefile in /usr/src/gnu/lib/csu. Kent > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message