2001-10-26 14:55:23

by Sebastian Heidl

[permalink] [raw]
Subject: kbuild-2.5-2.4.11-pre5-1 on 2.4.13 -- failure


just wanted to give the new kbuild a try and got the following error
after doing 'make -f Makefile-2.5 menuconfig installable'

Rereading input trees to get new config timestamps
phase 2 (evaluate selections)
pp_makefile2: Cannot find source for target fs/ext2/acl.o
make: *** [/usr/src/kernel/linux-2.4.13/.tmp_targets] Error 1


the patch succeeded on the plain 2.4.13 tree (two hunks had a slight offset).

any hints ?
_sh_

--


2001-10-26 18:02:05

by Keith Owens

[permalink] [raw]
Subject: Re: kbuild-2.5-2.4.11-pre5-1 on 2.4.13 -- failure

On Fri, 26 Oct 2001 16:55:31 +0200,
Sebastian Heidl <[email protected]> wrote:
>Rereading input trees to get new config timestamps
> phase 2 (evaluate selections)
>pp_makefile2: Cannot find source for target fs/ext2/acl.o
>make: *** [/usr/src/kernel/linux-2.4.13/.tmp_targets] Error 1

fs/ext/acl.c has been deleted since 2.4.11-pre5, fs/ext/Makefile.in is
for 2.4.11-pre5 so it still refers to acl.o. To use a kbuild 2.5 patch
against a newer kernel you have to identify all Makefile changes since
the kernel that kbuild 2.5 was issued against and make the
corresponding changes to the Makefile.in files.