From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262446AbVCXLr2 (ORCPT ); Thu, 24 Mar 2005 06:47:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262451AbVCXLr1 (ORCPT ); Thu, 24 Mar 2005 06:47:27 -0500 Received: from mx1.redhat.com ([66.187.233.31]:26525 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S262446AbVCXLqH (ORCPT ); Thu, 24 Mar 2005 06:46:07 -0500 From: David Howells In-Reply-To: References: To: Jesper Juhl Cc: linux-kernel Subject: Re: security/keys/key.c broken with defconfig X-Mailer: MH-E 7.82; nmh 1.0.4; GNU Emacs 21.3.50.1 Date: Thu, 24 Mar 2005 11:46:04 +0000 Message-ID: <24082.1111664764@redhat.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Jesper Juhl wrote: > If I just do a 'make defconfig' and then try to build security/keys/ the > build breaks. Doing 'make allyesconfig' fixes it by defining CONFIG_KEYS > which makes include/linux/key-ui.h include the full struct key definition. > > I've not attempted to fix this yet, but thought I'd at least report it. > > > juhl@dragon:~/download/kernel/linux-2.6.12-rc1-mm1$ make defconfig > juhl@dragon:~/download/kernel/linux-2.6.12-rc1-mm1$ make security/keys/ Ah. Why would you do that last command at all? If you look in security/Makefile, you'll see that the security/keys/ directory is only entered if CONFIG_KEYS is defined; which in your config it isn't. David