Below is a patch which fixes compilation errors on distros which have stopped providing asm/user.h.
This was a known problem, which I fixed. Then I forgot, and as part of a later fix, added back an include of asm/user.h. This is headed for mainline, but this is causing trouble now, so I'm publicizing it for anyone who's hitting this problem. Jeff -- Work email - jdike at linux dot intel dot com Index: linux-2.6.22/arch/um/os-Linux/sys-i386/registers.c =================================================================== --- linux-2.6.22.orig/arch/um/os-Linux/sys-i386/registers.c 2008-06-10 11:42:06.000000000 -0400 +++ linux-2.6.22/arch/um/os-Linux/sys-i386/registers.c 2008-06-10 11:55:54.000000000 -0400 @@ -6,7 +6,7 @@ #include <errno.h> #include <sys/ptrace.h> -#include <asm/user.h> +#include <sys/user.h> #include "kern_constants.h" #include "longjmp.h" #include "user.h" @@ -76,7 +76,7 @@ int put_fp_registers(int pid, unsigned l void arch_init_registers(int pid) { - struct user_fxsr_struct fpx_regs; + struct user_fpxregs_struct fpx_regs; int err; err = ptrace(PTRACE_GETFPXREGS, pid, 0, &fpx_regs); ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user