Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2008 07:17:09 +1000
From:      Fraser Tweedale <frase@frase.id.au>
To:        Andrew Falanga <af300wsm@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: clean for kernel build
Message-ID:  <480E55D5.5030903@frase.id.au>
In-Reply-To: <340a29540804221412w633cb619w98646ffaa645f909@mail.gmail.com>
References:  <340a29540804221412w633cb619w98646ffaa645f909@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig7A34F660BA2C1EF860C7A0A9
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

`make buildkernel` in /usr/src does a clean before building.  You most=20
likely are missing something in your kernel config (i.e. a device that=20
is depended on by another device).

frase

Andrew Falanga wrote:
> How does one clean the build environment for the kernel?  I'm building
> a custom kernel for IPSec and when it got to the linking phase of the
> build, the build process bailed with many linking errors:
>=20
> xform_ah.o(.text+0x15): In function `ah_algorithm_lookup':
> : undefined reference to `auth_hash_hmac_sha2_512'
> xform_ah.o(.text+0x25): In function `ah_algorithm_lookup':
> : undefined reference to `auth_hash_key_md5'
> xform_ah.o(.text+0x35): In function `ah_algorithm_lookup':
> : undefined reference to `auth_hash_hmac_ripemd_160'
> xform_ah.o(.text+0x3f): In function `ah_algorithm_lookup':
> : undefined reference to `auth_hash_hmac_sha1'
> xform_ah.o(.text+0x4f): In function `ah_algorithm_lookup':
> : undefined reference to `auth_hash_hmac_md5'
>=20
> Many more lines that look very similar to this.  I'm thinking that it
> might be something left over from the last time I rebuilt the kernel
> (which on this system is when it went from 6.2-RELEASE to
> 7.0-RELEASE).  So, what make target will clean what I need it to
> clean, and are there any other directions similar to what can be found
> in the handbook for when rebuilding world?  (This time I don't want to
> rebuild world, I just need a new kernel.)
>=20
> Andy
>=20



--------------enig7A34F660BA2C1EF860C7A0A9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.8 (FreeBSD)

iEYEARECAAYFAkgOVdkACgkQPw/2FZbemTVoyQCeNT9HrE3OU8xWfQ22OtwGsHKW
QkQAnj2bUjS3kqAhTKtDIjfmEqb4dc+v
=2Fig
-----END PGP SIGNATURE-----

--------------enig7A34F660BA2C1EF860C7A0A9--



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