public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Oleg Drokin <green@namesys.com>
To: Kai Germaschewski <kai-germaschewski@uiowa.edu>
Cc: Olaf Dietsche <olaf.dietsche#list.linux-kernel@t-online.de>,
	linux-kernel@vger.kernel.org,
	user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [PATCH] 2.5.42: UML build error
Date: Mon, 14 Oct 2002 10:53:23 +0400	[thread overview]
Message-ID: <20021014105323.A5883@namesys.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0210121145510.17947-100000@chaos.physics.uiowa.edu>

Hello!

On Sat, Oct 12, 2002 at 11:49:35AM -0500, Kai Germaschewski wrote:

> > When building 2.5.42 UML it fails with:
> > [...]
> Okay, so here's a patch which fixes the UML build for me (i386) -
> generally, UML could use some more kbuild work, but I'll leave that for
> post-freeze ;)

Actually this patch does not work for make ARCH=um distclean (at least it does
not work for me) because there is no Makefile in arch/um/include/sysdep/
(something like a fix attached).
Also after "distclean", you cannot build UML anymore.
It fails to execute "prepare" target and therefore include/asm/arch
symlink (and others ) is not made and build fails.

  gcc -Wp,-MD,arch/um/sys-i386/util/.mk_thread_kern.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2  -fno-strict-aliasing -fno-common -g  -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -I/home/green/bk/linux-2.5/arch/um/include -Derrno=kernel_errno -nostdinc -iwithprefix include    -DKBUILD_BASENAME=mk_thread_kern   -c -o arch/um/sys-i386/util/mk_thread_kern.o arch/um/sys-i386/util/mk_thread_kern.c
In file included from include/linux/posix_types.h:46,
                 from include/linux/types.h:11,
                 from include/linux/capability.h:16,
                 from include/linux/sched.h:9,
                 from arch/um/sys-i386/util/mk_thread_kern.c:2:
include/asm/posix_types.h:4: asm/arch/posix_types.h: No such file or directory


===== arch/um/Makefile-i386 1.2 vs edited =====
--- 1.2/arch/um/Makefile-i386	Sat Oct 12 20:47:35 2002
+++ edited/arch/um/Makefile-i386	Mon Oct 14 09:54:09 2002
@@ -28,4 +28,4 @@
 
 sysclean :
 	rm -f $(SYS_HEADERS)
-	@$(call descend,$(SYS_DIR),clean)
+	@$(call descend,$(SYS_UTIL_DIR),clean)


Bye,
    Oleg

  parent reply	other threads:[~2002-10-14  6:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-12 15:16 [PATCH] 2.5.42: UML build error Olaf Dietsche
2002-10-12 16:01 ` Kai Germaschewski
2002-10-12 16:37 ` Linus Torvalds
2002-10-12 16:49 ` Kai Germaschewski
2002-10-12 18:23   ` Olaf Dietsche
2002-10-12 18:31     ` Kai Germaschewski
2002-10-12 19:07       ` Olaf Dietsche
2002-10-14  6:53   ` Oleg Drokin [this message]
2002-10-14 22:08     ` [uml-devel] " Jeff Dike

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=20021014105323.A5883@namesys.com \
    --to=green@namesys.com \
    --cc=kai-germaschewski@uiowa.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olaf.dietsche#list.linux-kernel@t-online.de \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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