From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 21:17:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67BAD1065674 for ; Tue, 22 Apr 2008 21:17:17 +0000 (UTC) (envelope-from frase@frase.id.au) Received: from mail11.tpgi.com.au (mail11.tpgi.com.au [203.12.160.161]) by mx1.freebsd.org (Postfix) with ESMTP id 0B2908FC0C for ; Tue, 22 Apr 2008 21:17:16 +0000 (UTC) (envelope-from frase@frase.id.au) X-TPG-Antivirus: Passed Received: from [192.168.36.100] (60-241-2-72.tpgi.com.au [60.241.2.72]) by mail11.tpgi.com.au (envelope-from frase@frase.id.au) (8.14.2/8.14.2) with ESMTP id m3MLHDGo009749; Wed, 23 Apr 2008 07:17:15 +1000 Message-ID: <480E55D5.5030903@frase.id.au> Date: Wed, 23 Apr 2008 07:17:09 +1000 From: Fraser Tweedale User-Agent: Thunderbird 2.0.0.12 (X11/20080422) MIME-Version: 1.0 To: Andrew Falanga References: <340a29540804221412w633cb619w98646ffaa645f909@mail.gmail.com> In-Reply-To: <340a29540804221412w633cb619w98646ffaa645f909@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7A34F660BA2C1EF860C7A0A9" Cc: FreeBSD Questions Subject: Re: clean for kernel build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2008 21:17:17 -0000 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--