Home > 137 arch > 137 arch error i386 linux os registers.c sys um

137 Arch Error I386 Linux Os Registers.c Sys Um

clean. Screenshot instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads) More information about our ad policies X You seem to have CSS turned off. Please don't fill out this field. You seem to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse User-mode Linux kernel port Mailing Lists User-mode Linux kernel port Brought to you by: blaisorblade, derrichard, jdike, rusty Summary Files Reviews Support Wiki Mailing Lists Tickets ▾ Bugs Feature Requests Support Requests Patches News Discussion Donate Git CVS user-mode-linux-devel user-mode-linux-user [uml-devel] doubt regarding UML instlation please help me. [uml-devel] doubt regarding UML instlation please help me. From: battipatisainagendra Bhavaniprasad - 2007-06-06 11:22:30 Hello sir, This is Prasad working on UML.I have tried running UML with latest source from http://www.kernel.org but I could not get. the problem was as followes.... with 2.6.16 kernel i have given the following commands.... 1.make defconfig ARCH=um 2.make ARCH=um but i am getting an error which is as followes... arch/um/os-Linux/sys-i386/registers.c: In function 'get_thread_regs': arch/um/os-Linux/sys-i386/registers.c:137: error: 'JB_PC' undeclared (first use in this function) arch/um/os-Linux/sys-i386/registers.c:137: error: (Each undeclared identifier is reported only once arch/um/os-Linux/sys-i386/registers.c:137: error: for each function it appears in.) arch/um/os-Linux/sys-i386/registers.c:138: error: 'JB_SP' undeclared (first use in this function) arch/um/os-Linux/sys-i386/registers.c:139: error: 'JB_BP' undeclared (first use in this function) make[2]: *** [arch

UML - Don't roll my own random MAC generator" In reply to: Andrew Morton: "Re: [PATCH 2/2] UML - Don't roll my own random MAC generator" Next in thread: Jeff Dike: "Re: [PATCH 2/2] UML - Don't roll my own random MAC generator" Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] On Fri, Sep https://sourceforge.net/p/user-mode-linux/mailman/message/14996116/ 29, 2006 at 04:16:16PM -0700, Andrew Morton wrote: > arch/um/os-Linux/sys-i386/registers.c: In function 'get_thread_regs': > arch/um/os-Linux/sys-i386/registers.c:137: error: 'JB_PC' undeclared (first use in this function) > arch/um/os-Linux/sys-i386/registers.c:137: error: (Each undeclared identifier is reported only once > arch/um/os-Linux/sys-i386/registers.c:137: error: for each function it appears in.) > arch/um/os-Linux/sys-i386/registers.c:138: error: 'JB_SP' undeclared (first use http://lkml.iu.edu/hypermail/linux/kernel/0609.3/2268.html in this function) > arch/um/os-Linux/sys-i386/registers.c:139: error: 'JB_BP' undeclared (first use in this function) Hmmm, I never tried a cross-build before, but I don't even get this far: CC arch/um/sys-i386/user-offsets.s In file included from /usr/include/features.h:352, from /usr/include/stdio.h:28, from /home/jdike/linux/2.6/linux-2.6.17/arch/um/sys-i386/user-\offsets.c:1: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory m I just flew into Ohio and am not in any shape to debug this atm. I'll have another look tomorrow. Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ Next message: Vadim Lobanov: "Re: GPLv3 Position Statement" Previous message: Andrew Morton: "Re: [PATCH 2/2] UML - Don't roll my own random MAC generator" In reply to: Andrew Morton: "Re: [PATCH 2/2] UML - Don't roll my own random MAC generator" Next in thread: Jeff Dike: "Re: [PATCH 2

2.6.16 UPT_SET __jmpbuf undeclared Newsgroups: gmane.linux.uml.user Date: Tuesday 4th April 2006 20:33:41 UTC (over 10 years ago) On Tue, Apr 04, 2006 http://permalink.gmane.org/gmane.linux.uml.user/9692 at 04:48:20PM -0400, D. Bahi wrote: > arch/um/os-Linux/sys-i386/registers.c: In function 'get_thread_regs': > arch/um/os-Linux/sys-i386/registers.c:137: error: 'JB_PC' undeclared > (first use in this function) > arch/um/os-Linux/sys-i386/registers.c:137: error: (Each undeclared > identifier is reported only once > arch/um/os-Linux/sys-i386/registers.c:137: error: for each function it > appears in.) > arch/um/os-Linux/sys-i386/registers.c:138: error: 'JB_SP' undeclared > (first use in this function) 137 arch > arch/um/os-Linux/sys-i386/registers.c:139: error: 'JB_BP' undeclared > (first use in this function) > make[4]: *** [arch/um/os-Linux/sys-i386/registers.o] Error 1 > make[3]: *** [arch/um/os-Linux/sys-i386] Error 2 > make[2]: *** [arch/um/os-Linux] Error 2 > make[1]: *** [build] Error 2 You need this patch: # Newer libcs don't define the JB_* jmp_buf access macros. If this is # the case, 137 arch error we provide values ourselves. Index: linux-2.6.15/arch/um/os-Linux/sys-i386/registers.c =================================================================== --- linux-2.6.15.orig/arch/um/os-Linux/sys-i386/registers.c 2006-02-13 13:00:06.000000000 -0500 +++ linux-2.6.15/arch/um/os-Linux/sys-i386/registers.c 2006-02-13 13:04:07.000000000 -0500 @@ -130,6 +130,12 @@ void get_safe_registers(unsigned long *r HOST_FP_SIZE * sizeof(unsigned long)); } +#ifndef JB_PC +#define JB_PC 5 +#define JB_SP 4 +#define JB_BP 3 +#endif + void get_thread_regs(union uml_pt_regs *uml_regs, void *buffer) { struct __jmp_buf_tag *jmpbuf = buffer; Index: linux-2.6.15/arch/um/os-Linux/sys-x86_64/registers.c =================================================================== --- linux-2.6.15.orig/arch/um/os-Linux/sys-x86_64/registers.c 2006-02-13 13:00:06.000000000 -0500 +++ linux-2.6.15/arch/um/os-Linux/sys-x86_64/registers.c 2006-02-13 13:04:07.000000000 -0500 @@ -78,6 +78,12 @@ void get_safe_registers(unsigned long *r HOST_FP_SIZE * sizeof(unsigned long)); } +#ifndef JB_PC +#define JB_PC 7 +#define JB_RSP 6 +#define JB_RBP 1 +#endif + void get_thread_regs(union uml_pt_regs *uml_regs, void *buffer) { struct __jmp_buf_tag *jmpbuf = buffer; This is a temporary fix (which I am using as well) - a real fix will involve writing a private UML version of setjmp and longjmp. Jeff ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the

 

Related content

No related pages.