linux-um archives
 help / color / mirror / Atom feed
From: Steven Pritchard <steve@silug.org>
To: petschge@web.de
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] linux-2.4.23
Date: Fri, 12 Dec 2003 14:48:55 -0600	[thread overview]
Message-ID: <20031212204855.GB632@osiris.silug.org> (raw)
In-Reply-To: <200312121917.05059.petschge@gmx.de>

On Fri, Dec 12, 2003 at 07:17:05PM +0100, Patrick Kilian wrote:
> when trying to compile linux-2.4.23 from kernel.org patched with 
> uml_patch-2.4.22-uml6 I get the following error:
[...]
> binfmt_elf.c:806: macro `ELF_PLAT_INIT' used with too many (2) args

This was answered a week or two ago (by someone else).

--- include/asm-um/archparam-i386.h.orig	2003-12-06 20:36:55.000000000 -0600
+++ include/asm-um/archparam-i386.h	2003-12-06 20:51:59.000000000 -0600
@@ -23,7 +23,7 @@
 #define ELF_DATA        ELFDATA2LSB
 #define ELF_ARCH        EM_386
 
-#define ELF_PLAT_INIT(regs) do { \
+#define ELF_PLAT_INIT(regs, load_addr) do { \
 	PT_REGS_EBX(regs) = 0; \
 	PT_REGS_ECX(regs) = 0; \
 	PT_REGS_EDX(regs) = 0; \

Steve
-- 
Steven Pritchard - K&S Pritchard Enterprises, Inc.
Email: steve@kspei.com             http://www.kspei.com/
Phone: (618)398-7360               Mobile: (618)567-7320


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2003-12-12 20:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-12 18:17 [uml-devel] linux-2.4.23 Patrick Kilian
2003-12-12 20:48 ` Steven Pritchard [this message]
2003-12-12 21:12 ` Henrik Nordstrom
2003-12-12 22:11   ` Patrick "Petschge" Kilian
2003-12-13 20:44     ` 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=20031212204855.GB632@osiris.silug.org \
    --to=steve@silug.org \
    --cc=petschge@web.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