Subject: Re: opt_fileassoc.h missing -> kernel build problem
To: Gary Thorpe <gathorpe79@yahoo.com>
From: Bill Studenmund <wrstuden@netbsd.org>
List: current-users
Date: 07/25/2006 13:48:19
--TYecfFk8j8mZq+dy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 25, 2006 at 02:37:15PM -0400, Gary Thorpe wrote:
> Hi,
>=20
> I just upgraded the local sources using SUP to see if that would solve
> the problem, but it has persisted. It seems an option is not specified
> in the config files that is required (and would generate
> opt_fileassoc.h). Checking GENERIC, these options are present:

No, what you need to do is re-run config. These two lines in conf/files:

defflag opt_fileassoc.h         FILEASSOC
defparam opt_fileassoc.h        FILEASSOC_NHOOKS

will cause config to generate the file.

The file is always generated, even if these options aren't selected.=20
That's the point; the opt_*.h files change when certain options change,=20
permitting normal Makefile dependencies to correctly rebuild parts of the=
=20
kernel after the change.

Take care,

Bill

--TYecfFk8j8mZq+dy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFExoOTWz+3JHUci9cRAqdNAJ4lfydbFRTMgN1/pKbGhCMud9AZuQCdEsdK
TQ+fHwaSTBtGil2Px1s0kos=
=g8jm
-----END PGP SIGNATURE-----

--TYecfFk8j8mZq+dy--