Re: Sparc-64 kernel build fails on version.h during 'make oldconfig'

From: Keith Owens (kaos@ocs.com.au)
Date: Wed Jul 25 2001 - 20:45:38 EST


On Wed, 25 Jul 2001 09:39:46 -0800,
Leif Sawyer <lsawyer@gci.com> wrote:
>When 'bootstrapping' a new kernel:
>
>cp ../oldlinux/.config .
>make oldconfig
>make dep
>...
>/usr/src/linux/include/linux/udf_fs_sb.h:22: linux/version.h: No such file
>or directory

Ignore it, the kernel build design is wrong. make dep is supposed to
pick up all dependencies on included files but, at the time make dep is
run, generated files have not been created yet. make dep issues lots
of spurious warning and error messages. The 2.5 makefile rewrite fixes
the design. This is not a failure condition, make dep keeps going.

I have no idea why udf_fs_sb.h includes versions.h, it does not use it.
I will follow up with the UDF group.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:25 EST