From owner-freebsd-stable Tue Nov 6 12:25:44 2001 Delivered-To: freebsd-stable@freebsd.org Received: from raven.mail.pas.earthlink.net (raven.mail.pas.earthlink.net [207.217.120.39]) by hub.freebsd.org (Postfix) with ESMTP id E8EC137B416 for ; Tue, 6 Nov 2001 12:25:38 -0800 (PST) Received: from dialup-209.245.132.32.dial1.sanjose1.level3.net ([209.245.132.32] helo=blossom.cjclark.org) by raven.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 161Cmj-0001lx-00; Tue, 06 Nov 2001 12:25:31 -0800 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id fA6KOqM00928; Tue, 6 Nov 2001 12:24:52 -0800 (PST) (envelope-from cjc) Date: Tue, 6 Nov 2001 12:24:52 -0800 From: "Crist J. Clark" To: Larry Rosenman Cc: Marcel Moolenaar , freebsd-stable@FreeBSD.ORG Subject: Re: cvs commit: src/sys/conf files.i386 files.pc98 Message-ID: <20011106122452.A386@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <200111060218.fA62ILs61502@freefall.freebsd.org> <20011105215308.A11461@lerami.lerctr.org> <20011105195947.A2591@dhcp01.pn.xcllnt.net> <20011106014026.A23162@lerami.lerctr.org> <20011106014651.D2494@blossom.cjclark.org> <20011106051432.A3878@lerami.lerctr.org> <20011106032612.E2494@blossom.cjclark.org> <20011106055702.A5601@lerami.lerctr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011106055702.A5601@lerami.lerctr.org>; from ler@lerctr.org on Tue, Nov 06, 2001 at 05:57:02AM -0600 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Nov 06, 2001 at 05:57:02AM -0600, Larry Rosenman wrote: > * Crist J. Clark [011106 05:29]: > > > > This is /usr/src/sys/i386/linux/linux_proto.h? What about > > > > /usr/obj/export/usr/src/sys/YOUR_KERNEL/modules/usr/src/sys/modules/linux/linux_proto.h? > > > > Did you, > > > > > > > > # rm -rf /usr/obj/usr > > > No, I did a cvsup, make world kernel. > > > > > > Should I have to clean the /usr/obj/usr/ stuff first? > > > > When you get new sources, it is usually a good idea. > > > > And generally, when you have a buildworld failure, > > > > # cvsup -L2 -g your-supfile > > # rm -rf /usr/obj/usr > > # cd /usr/src > > # make cleandir && make cleandir > > > > Are some things to try before going to the mail lists. > I was under the, apparently mistaken, impression that make world > kernel took care of making sure all the cruft was deleted/re-synced > from /usr/src to /usr/obj. Not really. It walks the object tree cleaning subdirs, but this will miss certain steps of the build which do not have an associated cleaning step. Anyway in practice, removing the whole object tree tends to make the build faster than cleaning the old one. The 'cleandir' steps are to make sure that no build junk has crept into the /usr/src tree. The 'build(world|kernel)' targets deliberately never touch /usr/src. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message