> I am trying to compiling the 2.4.0-test2 kernel for supporting solaris
> binary, I am not sure which option I should select? Is a.out 32 binary, or
> solaris binary emulation? I select both, but there is a error during the
> compiling process, it says,
> 
> binfmt_aout32.c:328 'PF_TRACED' undeclared.

Try the patch below.

Anton

Index: binfmt_aout32.c
===================================================================
RCS file: /cvs/linux/arch/sparc64/kernel/binfmt_aout32.c,v
retrieving revision 1.29
diff -u -r1.29 binfmt_aout32.c
--- binfmt_aout32.c     2000/06/22 17:05:29     1.29
+++ binfmt_aout32.c     2000/07/08 02:06:44
@@ -325,7 +325,7 @@
                current->thread.flags |= SPARC_FLAG_32BIT;
        }
        start_thread32(regs, ex.a_entry, current->mm->start_stack);
-       if (current->flags & PF_PTRACED)
+       if (current->ptrace & PT_PTRACED)
                send_sig(SIGTRAP, current, 0);
        return 0;
 }
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of the message to [EMAIL PROTECTED]

Reply via email to