Hello,

Hi Fabien,


Me too I cannot compile HEAD, I have the same errors.


Dalibor was on the track for this bug but I don't know what he is doing now about it. But here is the right fix I think...


Cheers,

Guilhem.
Index: config/arm/linux/md.h
===================================================================
RCS file: /cvs/kaffe/kaffe/config/arm/linux/md.h,v
retrieving revision 1.10
diff -u -r1.10 md.h
--- config/arm/linux/md.h       7 Jun 2004 19:14:15 -0000       1.10
+++ config/arm/linux/md.h       17 Jun 2004 16:59:46 -0000
@@ -33,19 +33,10 @@
 #endif
 
 /* Function prototype for signal handlers */
-#if defined(HAVE_STRUCT_SIGCONTEXT_STRUCT) && !defined(__GLIBC__)
-/* Linux < 2.1.1 */
-#define        SIGNAL_ARGS(sig, ctx) \
-       int sig, int arm_r1, int arm_r2, int arm_r3, struct sigcontext_struct ctx
-#elif defined(HAVE_STRUCT_SIGCONTEXT) || defined(__GLIBC__)
-/* Linux >= 2.1.1  or Linux 2.0.x with glibc2 */
-#define        SIGNAL_ARGS(sig, ctx) \
-       int sig, int arm_r1, int arm_r2, int arm_r3, struct sigcontext ctx
-#else
-#error Do not know how to define SIGNAL_ARGS
-#endif
-
 #include "sigcontextinfo.h"
+
+#define        SIGNAL_ARGS(sig, ctx) \
+       int sig, SIGCONTEXT ctx
 
 #define GET_SIGNAL_CONTEXT_POINTER(ctx) (&ctx)
 

Reply via email to