From owner-freebsd-questions Sun Nov 26 9:33:35 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 F1A0F37B4C5 for ; Sun, 26 Nov 2000 09:33:31 -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 JAA13574; Sun, 26 Nov 2000 09:32:57 -0800 Message-ID: <3A214949.3BD164E3@urx.com> Date: Sun, 26 Nov 2000 09:32:57 -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: Otter Cc: chuck sumner , questions@FreeBSD.ORG Subject: Re: make buildworld from 4.1.1-STABLE to 4.2-STABLE fails miserably References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Otter wrote: > > Chuck, > Go take a read into /usr/src/UPDATING. I gave up on your way of > upgrading as it only works SOME of the time. When I do it the new way, > it seems to work ALL of the time. Try doing: > cvsup your source (using tag=RELENG_4 will get you 4.2-STABLE source) > cd /usr/src > make buildworld > make buildkernel KERNEL=GENERIC (or whatever config you're using) > make installkernel KERNEL=GENERIC (whatever kernel config file you're > using above) > make installworld > mergemaster (make sure you back up your /etc dir first, in case you're > not comfortable with mergemaster changes) > reboot > uname -r should yield 4.2-STABLE > Now go crack open a cold one. It isn't Monday yet. This one isn't going to go away doing this. It was caused by O'Brien having to fix that way crt... is handled. It doesn't bite everyone. Your /usr/src/gnu/lib/csu ruby# ll total 2 -rw-r--r-- 1 root wheel 1963 Oct 30 17:46 Makefile Needs to only contain the makefile. People have then done some "make cleandir"'s and then a make and make install. I only had to do the make and make install when I encountered it. Then redo the buildworld. Kent > -Otter > > }-----Original Message----- > }From: owner-freebsd-questions@FreeBSD.ORG > }[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of chuck sumner > }Sent: Sunday, November 26, 2000 5:12 AM > }To: questions@FreeBSD.ORG > }Subject: make buildworld from 4.1.1-STABLE to 4.2-STABLE > }fails miserably > } > } > }hi all > }bad news for me, eh? > } > }heres what happened. i cvsuped last night to RELENG_4 > }i did a make buildworld and that went fine > }then i did the make installworld and it quit at some point > }not to long > }after it started. unfortunately, i dont have the specific error. > } > }so then i went back and tried to do a fresh make buildworld. > }now i get > }this: > } > }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 > } > }and a make most produces: > } > }make: don't know how to make > }/usr/obj/usr/src/i386/usr/include/sys/param.h. Stop > } > }and /usr/obj/usr/src/i386/usr/include/sys doesn't exist > } > }any clues to whats happened here? > } > }please cc me on any replies, as i dont folow the list these days > } > }chuck > } > } > } > }To Unsubscribe: send mail to majordomo@FreeBSD.org > }with "unsubscribe freebsd-questions" in the body of the message > > 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