Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2002 04:42:22 -0800
From:      Mike Makonnen <mike_makonnen@yahoo.com>
To:        Robert Suetterlin <robert@mpe.mpg.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Why? /sys/<arch>/include /usr/include/sys out of sync.
Message-ID:  <200201291242.g0TCgNY02030@blackbox.pacbell.net>
In-Reply-To: <20020129115108.GF9904@robert2.mpe-garching.mpg.de>
References:  <20020129110222.GE9904@robert2.mpe-garching.mpg.de> <3C568668.6090606@owt.com> <20020129115108.GF9904@robert2.mpe-garching.mpg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 Jan 2002 12:51:08 +0100
Robert Suetterlin <robert@mpe.mpg.de> wrote:

> What I do is the following procedure:
> 
> make update
> make world
^^^^^^^^^^^^ This will build world,kernel and install world,kernel.
Also including KERNCONF=<your kernel> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201291242.g0TCgNY02030>