Re: Compile error in main.c [2.6.bk]

From: Tony Breeds
Date: Sat Apr 17 2004 - 23:13:00 EST


On Fri, Apr 16, 2004 at 08:50:02AM +0200, Giacomo A. Catenazzi wrote:
> Hello!
>
> Since few days I cannot recompile the kernel.
> Do I have some very strange configuration?
> [ i386, pentium 4, SMP, $KB stack,...
> full .config at request]
>
> CC init/main.o
> In file included from include/linux/proc_fs.h:6,
> from init/main.c:17:
> include/linux/fs.h:23:25: linux/audit.h: No such file or directory
> In file included from include/asm/irq.h:16,
> from include/linux/kernel_stat.h:5,
> from init/main.c:34:
> include/asm-i386/mach-default/irq_vectors.h:87:32: irq_vectors_limits.h: No
> such file or directory
> In file included from init/main.c:34:
> include/linux/kernel_stat.h:28: error: `NR_IRQS' undeclared here (not in a
> function)
> make[1]: *** [init/main.o] Error 1
> make: *** [init] Error 2

Either it is fixed in the bk2 snapshot or your .config is confused.

Grab bk2 if you're still getting the error post your .config and we'll
see wnat we can see.

Yours Tony

linux.conf.au http://lca2005.linux.org.au/
Apr 18-23 2005 The Australian Linux Technical Conference!

-
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/