On Wed, Oct 07, 2009 at 03:00:50PM +0200, Frederik Schüler wrote:
[...]
> and on sparc:
> 
> gcc -DHAVE_CONFIG_H -I. -I.. -Ilinux/sparc -I../linux/sparc -Ilinux 
> -I../linux   
> -Wall -g -O2 -MT syscall.o -MD -MP -MF .deps/syscall.Tpo -c -o syscall.o 
> ../syscall.c
[...]
> ../syscall.c: In function ‘get_scno’:
> ../syscall.c:1192: error: invalid use of undefined type ‘struct regs’
[a lot of complains about "struct regs"]

On sparc, it is defined as "static struct regs regs;"
Nothing has changed in this area since v4.5.18.

On Wed, Oct 07, 2009 at 03:51:57PM -0400, Mike Frysinger wrote:
[...]
> > In file included from ../syscall.c:129:
> > ../linux/sparc/syscallent.h:250: error: ‘sys_nanosleep’ undeclared here
> >  (not in a function)
> 
> looks like linux/sparc/syscall.h needs updating to match linux/syscall.h.  
> sparc seems odd as it's the only one to provide its own syscall.h.  someone 
> should really look at merging sparc with the common one.
> 
> at any rate, once that's fixed, things build & seem to run fine for me.

Just to make things clear: does the "struct regs" problem still persists
on sparc?


-- 
ldv

Attachment: pgpC6iDPfkKHH.pgp
Description: PGP signature

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to