[Fwd: Pre-2.1.111-1 Alpha Compile Problem (ptrace.c)]

Matthew R. Briggs (mbriggs@switchboard.net)
Wed, 22 Jul 1998 17:25:14 -0400


This is a multi-part message in MIME format.
--------------AC5B64E347C789482547921F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,
Sorry to follow up on my own post, but my amateurish kernel debugging
turned up a little more information. "debugreg" is a member of a the
"task_struct" structure defined in <linux/sched.h>, and was dropped in
2.1.110. Reversing that hunk of the 2.1.110 patch breaks a bunch of
other things, and I don't know how to fix it. :-( Thanks for any help!

Matthew R. Briggs
mbriggs@switchboard.net

Matthew R. Briggs wrote:
>
> Hi,
> I've been inching toward getting a devel kernel with TGA framebuffer
> support to compile on my Alphastation 200. When I try it on a
> 2.1.111pre1 with the 2.1.110 vmalloc.c changes backed out, here is what
> I get:
>
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -c -o ptrace.o
> ptrace.c
> ptrace.c: In function `ptrace_set_bpt':
> ptrace.c:426: structure has no member named `debugreg'
> ptrace.c:428: structure has no member named `debugreg'
> ptrace.c:432: structure has no member named `debugreg'
> ptrace.c:435: structure has no member named `debugreg'
> ptrace.c:441: structure has no member named `debugreg'
> ptrace.c:444: structure has no member named `debugreg'
> ptrace.c:446: structure has no member named `debugreg'
> ptrace.c:450: structure has no member named `debugreg'
> ptrace.c: In function `ptrace_cancel_bpt':
> ptrace.c:460: structure has no member named `debugreg'
> ptrace.c:462: structure has no member named `debugreg'
> ptrace.c:470: structure has no member named `debugreg'
> ptrace.c:470: structure has no member named `debugreg'
> ptrace.c: In function `sys_ptrace':
> ptrace.c:611: structure has no member named `debugreg'
> make[1]: *** [ptrace.o] Error 1
> make[1]: Leaving directory `/usr/src/linux/arch/alpha/kernel'
> make: *** [linuxsubdirs] Error 2
>
> What's going on? Any help would be appreciated.
>
> Matthew R. Briggs
> mbriggs@switchboard.net
--------------AC5B64E347C789482547921F
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Message-ID: <35B65629.80284F20@switchboard.net>
Date: Wed, 22 Jul 1998 17:14:17 -0400
From: "Matthew R. Briggs" <mbriggs@switchboard.net>
X-Mailer: Mozilla 4.04 [en] (Win95; I)
MIME-Version: 1.0
To: linux-kernel@vger.rutgers.edu
Subject: Pre-2.1.111-1 Alpha Compile Problem (ptrace.c)
References: <19980721142036Z971929-32154+340@vger.rutgers.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,
I've been inching toward getting a devel kernel with TGA framebuffer
support to compile on my Alphastation 200. When I try it on a
2.1.111pre1 with the 2.1.110 vmalloc.c changes backed out, here is what
I get:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -c -o ptrace.o
ptrace.c
ptrace.c: In function `ptrace_set_bpt':
ptrace.c:426: structure has no member named `debugreg'
ptrace.c:428: structure has no member named `debugreg'
ptrace.c:432: structure has no member named `debugreg'
ptrace.c:435: structure has no member named `debugreg'
ptrace.c:441: structure has no member named `debugreg'
ptrace.c:444: structure has no member named `debugreg'
ptrace.c:446: structure has no member named `debugreg'
ptrace.c:450: structure has no member named `debugreg'
ptrace.c: In function `ptrace_cancel_bpt':
ptrace.c:460: structure has no member named `debugreg'
ptrace.c:462: structure has no member named `debugreg'
ptrace.c:470: structure has no member named `debugreg'
ptrace.c:470: structure has no member named `debugreg'
ptrace.c: In function `sys_ptrace':
ptrace.c:611: structure has no member named `debugreg'
make[1]: *** [ptrace.o] Error 1
make[1]: Leaving directory `/usr/src/linux/arch/alpha/kernel'
make: *** [linuxsubdirs] Error 2

What's going on? Any help would be appreciated.

Matthew R. Briggs
mbriggs@switchboard.net

--------------AC5B64E347C789482547921F--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html