From owner-freebsd-questions Tue Jan 29 4:42:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by hub.freebsd.org (Postfix) with ESMTP id CAFA837B405 for ; Tue, 29 Jan 2002 04:42:19 -0800 (PST) Received: from blackbox.pacbell.net ([64.173.10.222]) by mta6.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GQP00AYH9YJX1@mta6.snfc21.pbi.net> for freebsd-questions@freebsd.org; Tue, 29 Jan 2002 04:42:19 -0800 (PST) Received: (from mikem@localhost) by blackbox.pacbell.net (8.11.6/8.11.6) id g0TCgNY02030; Tue, 29 Jan 2002 04:42:23 -0800 (PST envelope-from mikem) Date: Tue, 29 Jan 2002 04:42:22 -0800 From: Mike Makonnen Subject: Re: Why? /sys//include /usr/include/sys out of sync. In-reply-to: <20020129115108.GF9904@robert2.mpe-garching.mpg.de> To: Robert Suetterlin Cc: freebsd-questions@freebsd.org Message-id: <200201291242.g0TCgNY02030@blackbox.pacbell.net> MIME-version: 1.0 X-Mailer: Sylpheed version 0.7.0 (GTK+ 1.2.10; i386--freebsd5.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20020129110222.GE9904@robert2.mpe-garching.mpg.de> <3C568668.6090606@owt.com> <20020129115108.GF9904@robert2.mpe-garching.mpg.de> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 29 Jan 2002 12:51:08 +0100 Robert Suetterlin wrote: > What I do is the following procedure: > > make update > make world ^^^^^^^^^^^^ This will build world,kernel and install world,kernel. Also including KERNCONF= in the make command line will build your custom kernel. Otherwise, the default is GENERIC. > mergemaster > make buildkernel > make installkernel These two aren't needed. > reboot Now, to answer your original question: IIRC, the userland kernel include files are generated automatically from the files the kernel uses. So, if you build and install from the same source those files will allways be in sync. However, I think the /usr/include files get installed with the userland, so updating the kernel only will not update /usr/include and *will* cause problems if the kernel and userland sources are sufficiently out of sync. What makes you think the problem was caused by the include files not being in sync? cheers, mike makonnen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message