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

Keith Owens (kaos@ocs.com.au)
Thu, 26 Jul 2001 11:45:38 +1000


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/