From owner-freebsd-stable Thu Mar 15 11:34:58 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail7.nc.rr.com (mail7.southeast.rr.com [24.93.67.54]) by hub.freebsd.org (Postfix) with ESMTP id 1F56B37B71C for ; Thu, 15 Mar 2001 11:34:53 -0800 (PST) (envelope-from bts@babbleon.org) Received: from babbleon.org ([66.26.250.181]) by mail7.nc.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Thu, 15 Mar 2001 14:34:52 -0500 Message-ID: <3AB11942.4BA38D62@babbleon.org> Date: Thu, 15 Mar 2001 14:34:27 -0500 From: The Babbler Organization: None to speak of X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Building? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have built kernels a number of times, but for the first time I'm trying to use FreeBSD-STABLE rather than just chaning options on the RELEASE kernel. Following the directions in the handbook and /usr/src/UPDATING, I installed the cvsupit package and got the sources, then cd'ed to /usr/src. I edited the kernel conf files for BTS (the kernel name I use) to add DIAGNOSTIC, DDB, and build with -g. (I'm having problems with frequent crashes, which is why I'm upgrading to STABLE in the first place.) Then in a temporary mental glitch, I did a make buildkernel KERNEL=BTS almost immediately I realized that this was a mistake and ^C'ed it, but this might be what's causing my trouble. I then did a make buildworld and it ran for a good long while and failed like this: cc -O -pipe -Wall -I/usr/obj/usr/src/i386/usr/include -c /usr/src/lib/libdisk/../../sbin/disklabel/dkcksum.c -o dkcksum.o /usr/src/lib/libdisk/../../sbin/disklabel/dkcksum.c:47: redefinition of `dkcksum' /usr/obj/usr/src/i386/usr/include/sys/disklabel.h:188: `dkcksum' previously defined here *** Error code 1 Stop in /usr/src/lib/libdisk. *** Error code 1 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. What's the proper recovery from this? I did a make clean make buildworld But it still failed in the same way. -- "Brian, the man from babble-on" bts@babbleon.org Brian T. Schellenberger http://www.babbleon.org Support http://www.eff.org. Support decss defendents. Support http://www.programming-freedom.org. Boycott amazon.com. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message