On Thursday 20 October 2005 22:54, Phill Wombat wrote:
> Hi List,
>
> Start the process of compiling 2.6.13.4-bs4.
>
> x86_64 host, i386 UML.
>
> Using same config as successful 2.6.12.5-bb12-skas0.
>
> Some compile errors encountered:
Can't reproduce that on my i386 host, and probably can't reproduce it on my 
x86_64 compile environment (but I'm too lazy to reboot there).

I would bet your glibc headers have a bug somewhere (this seems a "double 
inclusion of the same header" problem). However, try the attached patch.

> ================ SNIP ======================

>   AS      arch/um/sys-i386/stub.o
>   CC      arch/um/sys-i386/stub_segv.o
> In file included from /usr/include/asm/sigcontext.h:7,
>                  from arch/um/sys-i386/stub_segv.c:7:
> /usr/include/asm-i386/sigcontext.h:18: error: redefinition of ‘struct
> _fpreg’ /usr/include/asm-i386/sigcontext.h:23: error: redefinition of
> ‘struct _fpxreg’ /usr/include/asm-i386/sigcontext.h:29: error: redefinition
> of ‘struct _xmmreg’ /usr/include/asm-i386/sigcontext.h:33: error:
> redefinition of ‘struct _fpstate’ /usr/include/asm-i386/sigcontext.h:57:
> error: redefinition of ‘struct sigcontext’ make[1]: ***
> [arch/um/sys-i386/stub_segv.o] Error 1

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
Index: linux-2.6.13/arch/um/sys-i386/stub_segv.c
===================================================================
--- linux-2.6.13.orig/arch/um/sys-i386/stub_segv.c
+++ linux-2.6.13/arch/um/sys-i386/stub_segv.c
@@ -4,7 +4,6 @@
  */
 
 #include <signal.h>
-#include <asm/sigcontext.h>
 #include <asm/unistd.h>
 #include "uml-config.h"
 #include "sysdep/sigcontext.h"

Reply via email to