Re: security/keys/key.c broken with defconfig

From: David Howells
Date: Thu Mar 24 2005 - 06:49:18 EST


Jesper Juhl <juhl-lkml@xxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/