* [uml-devel] linux-2.4.23
@ 2003-12-12 18:17 Patrick Kilian
2003-12-12 20:48 ` Steven Pritchard
2003-12-12 21:12 ` Henrik Nordstrom
0 siblings, 2 replies; 5+ messages in thread
From: Patrick Kilian @ 2003-12-12 18:17 UTC (permalink / raw)
To: user-mode-linux-devel
Hi,
when trying to compile linux-2.4.23 from kernel.org patched with
uml_patch-2.4.22-uml6 I get the following error:
make all_targets
make[2]: Wechsel in das Verzeichnis Verzeichnis
»/usr/src/linux-2.4.23-uml/fs«
gcc -D__KERNEL__ -I/usr/src/linux-2.4.23-uml/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-U__i386__ -Ui386 -DUM_FASTCALL -g -D__arch_um__ -DSUBARCH="i386"
-D_LARGEFILE64_SOURCE -I/usr/src/linux-2.4.23-uml/arch/um/include
-Derrno=kernel_errno
-I/usr/src/linux-2.4.23-uml/arch/um/kernel/tt/include
-I/usr/src/linux-2.4.23-uml/arch/um/kernel/skas/include -nostdinc
-iwithprefix include -DKBUILD_BASENAME=binfmt_elf -c -o binfmt_elf.o
binfmt_elf.c
binfmt_elf.c:806: macro `ELF_PLAT_INIT' used with too many (2) args
make[2]: *** [binfmt_elf.o] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/linux-2.4.23-uml/fs«
make[1]: *** [first_rule] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/linux-2.4.23-uml/fs«
make: *** [_dir_fs] Fehler 2
Is this a know behavourier? Is there a workaround other than to wait for
uml_patch-2.4.23-uml1?
mfg,
Patrick "Petschge" Kilian
-------------------------------------------------------
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\x1278&alloc_id371&opÌk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [uml-devel] linux-2.4.23
2003-12-12 18:17 [uml-devel] linux-2.4.23 Patrick Kilian
@ 2003-12-12 20:48 ` Steven Pritchard
2003-12-12 21:12 ` Henrik Nordstrom
1 sibling, 0 replies; 5+ messages in thread
From: Steven Pritchard @ 2003-12-12 20:48 UTC (permalink / raw)
To: petschge; +Cc: user-mode-linux-devel
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [uml-devel] linux-2.4.23
2003-12-12 18:17 [uml-devel] linux-2.4.23 Patrick Kilian
2003-12-12 20:48 ` Steven Pritchard
@ 2003-12-12 21:12 ` Henrik Nordstrom
2003-12-12 22:11 ` Patrick "Petschge" Kilian
1 sibling, 1 reply; 5+ messages in thread
From: Henrik Nordstrom @ 2003-12-12 21:12 UTC (permalink / raw)
To: petschge; +Cc: user-mode-linux-devel
On Fri, 12 Dec 2003, Patrick Kilian wrote:
> Is this a know behavourier? Is there a workaround other than to wait for
> uml_patch-2.4.23-uml1?
There is a workaround by making a small change in the source. See the mail
archives about one week back I think.
Regards
Henrik
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [uml-devel] linux-2.4.23
2003-12-12 21:12 ` Henrik Nordstrom
@ 2003-12-12 22:11 ` Patrick "Petschge" Kilian
2003-12-13 20:44 ` Jeff Dike
0 siblings, 1 reply; 5+ messages in thread
From: Patrick "Petschge" Kilian @ 2003-12-12 22:11 UTC (permalink / raw)
To: User-mode-linux-devel
Hi,
Henrik Nordstrom wrote:
>> Is this a know behavourier? Is there a workaround other than to wait for
>> uml_patch-2.4.23-uml1?
> There is a workaround by making a small change in the source. See the mail
> archives about one week back I think.
Thanks alot for your and Steves help.
Does anybody know why there isn't a official uml_patch-2.4.23-uml1?
mfg,
Patrick "Petschge" Kilian
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [uml-devel] linux-2.4.23
2003-12-12 22:11 ` Patrick "Petschge" Kilian
@ 2003-12-13 20:44 ` Jeff Dike
0 siblings, 0 replies; 5+ messages in thread
From: Jeff Dike @ 2003-12-13 20:44 UTC (permalink / raw)
To: Patrick "Petschge" Kilian; +Cc: User-mode-linux-devel
petschge@web.de said:
> Does anybody know why there isn't a official uml_patch-2.4.23-uml1?
I do.
It's because I haven't had any time to put it together. Just fix the
ELF_PLAT_INIT thing, and you'll have pretty much what I'd release anyway.
Jeff
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-12-13 20:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-12 18:17 [uml-devel] linux-2.4.23 Patrick Kilian
2003-12-12 20:48 ` Steven Pritchard
2003-12-12 21:12 ` Henrik Nordstrom
2003-12-12 22:11 ` Patrick "Petschge" Kilian
2003-12-13 20:44 ` Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox