2002-07-12 21:09:19

by Rob Landley

[permalink] [raw]
Subject: No rule to make autoconf.h in 2.4.19-rc1?

I'm trying to put together a linux from scratch system (3.3 with extensive
tweaks) using a build script that happily built 2.4.18 but is dying at the
start of make bzImage in 19-rc1, complaining there's no rule to make
include/linux/autoconf.h (needed by include/config/MARKER).

I've confirmed I got the right patch and that it applied correctly (or at
least reproducibly without rejects and changed the version numbers in the top
level makefile)... I untarred the 2.4.18 tarball into a fresh directory,
applied the patch, did "make dep" followed by "make clean" (I tried omitting
make clean and it didn't help) followed by make bzImage, at which point the
build process went off into the corner to sulk.

Maybe I'm doing something small and simple wrong (although 2.4.18 built), but
I can't spot it. I grepped the last couple weeks of my linux-kernel folder
and the only mention of autoconf.h was in patches, no descriptive text.

I also tried "touch include/linux/autoconf.h", which just makes
scripts/split-include die in find...

What does the kernel use autoconf for? (When did this get added? I wrote a
kernel output parser and didn't see autoconf, and I'd expect it to run in ake
dep anyway...)

Er... Help?

Rob


2002-07-12 21:25:17

by Thunder from the hill

[permalink] [raw]
Subject: Re: No rule to make autoconf.h in 2.4.19-rc1?

Hi,

On Fri, 12 Jul 2002, Rob Landley wrote:
> What does the kernel use autoconf for? (When did this get added? I wrote a
> kernel output parser and didn't see autoconf, and I'd expect it to run in ake
> dep anyway...)

This is your kernel configuration. Please run make
configure/oldconfig/menuconfig before running make dep.

Regards,
Thunder
--
(Use http://www.ebb.org/ungeek if you can't decode)
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
N--- o? K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
e++++ h* r--- y-
------END GEEK CODE BLOCK------

2002-07-12 23:25:18

by Rob Landley

[permalink] [raw]
Subject: Re: No rule to make autoconf.h in 2.4.19-rc1?

On Friday 12 July 2002 11:13 am, Rob Landley wrote:

> Maybe I'm doing something small and simple wrong (although 2.4.18 built),
> but I can't spot it.

I spotted it.

make oldconfig.

Sigh...

Rob

2002-07-12 23:29:04

by Rob Landley

[permalink] [raw]
Subject: Re: No rule to make autoconf.h in 2.4.19-rc1?

On Friday 12 July 2002 05:27 pm, Thunder from the hill wrote:
> Hi,
>
> On Fri, 12 Jul 2002, Rob Landley wrote:
> > What does the kernel use autoconf for? (When did this get added? I
> > wrote a kernel output parser and didn't see autoconf, and I'd expect it
> > to run in ake dep anyway...)
>
> This is your kernel configuration. Please run make
> configure/oldconfig/menuconfig before running make dep.

Actually, I was. But it was in a script run on a detached terminal with
watched output, and I wasn't going yes "" | make oldconfig. (Error checking.
Good thing. It DID work under 2.4.18, because oldconfig didn't prompt for
anything. :)

> Regards,
> Thunder

Rob