From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 21:12:37 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 E40EA106566C for ; Tue, 22 Apr 2008 21:12:37 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id 996108FC19 for ; Tue, 22 Apr 2008 21:12:37 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: by yw-out-2324.google.com with SMTP id 2so1202676ywt.13 for ; Tue, 22 Apr 2008 14:12:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=fKXVK+W9r5obYt6MnpOa4n0fz8JvIOR868Cgi0vsT/c=; b=mLbTHZwBSSCbMZ4LFGWC5EDCBqu+ybXY5Z77Lz0lxMip8vch3oGSx6MGFLNqdfJA6RrXVl+rZVX3JxKqb/hG1lnd4EPu/vcSLAgqko/RDuvni3U2N6CHOEQpzMg1Spsh/BzPY/s5BpVq3xLPkl6eC0HMiz7dUs3YjRNgEB8Nris= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=TqYnKnu9rO2X+VN6xBlYvo7Kyhe+8MUMW2MX/ztHL6kGdAOzfgLHINMUkslAKGTl8Qbu/AvmtQy6+ftFuf0TFlXwnz7HFVgN3Q5BpJ/0VftLbrlkMSsmjl6QnQyejzxxn3s3kHG6JZq2GVKhDdnJSKKNO0WfBHNCuB5Rb8ZDHN0= Received: by 10.151.145.8 with SMTP id x8mr889608ybn.220.1208898734851; Tue, 22 Apr 2008 14:12:14 -0700 (PDT) Received: by 10.150.57.17 with HTTP; Tue, 22 Apr 2008 14:12:14 -0700 (PDT) Message-ID: <340a29540804221412w633cb619w98646ffaa645f909@mail.gmail.com> Date: Tue, 22 Apr 2008 15:12:14 -0600 From: "Andrew Falanga" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 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:12:38 -0000 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: 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' 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.) Andy -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?