From: Thorsten Kukuk <kukuk@suse.de>
To: "David S. Miller" <davem@redhat.com>
Cc: Leif Sawyer <lsawyer@gci.com>, linux-kernel@vger.kernel.org
Subject: Re: Sparc-64 kernel build fails on version.h during 'make oldconfig'
Date: Thu, 26 Jul 2001 06:42:37 +0200 [thread overview]
Message-ID: <20010726064237.A26837@suse.de> (raw)
In-Reply-To: <BF9651D8732ED311A61D00105A9CA315053E1265@berkeley.gci.com> <15199.18841.458617.411246@pizda.ninka.net>
In-Reply-To: <15199.18841.458617.411246@pizda.ninka.net>; from davem@redhat.com on Wed, Jul 25, 2001 at 03:35:05PM -0700
On Wed, Jul 25, David S. Miller wrote:
>
> Leif Sawyer writes:
> > 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
>
> Something is terribly wrong with either your system tools or
> this ".config" you are using.
No, I send you and on the sparclinux list already a patch for
this 2 weeks ago. The problem is, that make dep will build at first
sparc specific programs (archdep) which needs linux/version.h, but
make dep does create linux/version.h only after building this tools. The
following patch solved the problem for me:
--- linux/Makefile
+++ linux/Makefile 2001/05/21 12:57:07
@@ -440,7 +440,7 @@
sums:
find . -type f -print | sort | xargs sum > .SUMS
-dep-files: scripts/mkdep archdep include/linux/version.h
+dep-files: include/linux/version.h scripts/mkdep archdep
scripts/mkdep -- init/*.c > .depend
scripts/mkdep -- `find $(FINDHPATH) -name SCCS -prune -o -follow -name \
*.h ! -name modversions.h -print` > .hdepend
$(MAKE) $(patsubst %,_sfdep_%,$(SUBDIRS)) _FASTDEP_ALL_SUB_DIRS="$(SUBDI
RS)"
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de
SuSE GmbH Deutschherrenstr. 15-19 D-90429 Nuernberg
--------------------------------------------------------------------
Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B
next prev parent reply other threads:[~2001-07-26 4:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-25 17:39 Sparc-64 kernel build fails on version.h during 'make oldconfig' Leif Sawyer
2001-07-25 22:35 ` David S. Miller
2001-07-26 4:42 ` Thorsten Kukuk [this message]
2001-07-26 8:58 ` Andreas Schwab
2001-07-26 1:45 ` Keith Owens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010726064237.A26837@suse.de \
--to=kukuk@suse.de \
--cc=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lsawyer@gci.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox