Am Sonntag, 19. August 2007 schrieb Jeff Dike:
> On Sun, Aug 19, 2007 at 11:42:55AM +0200, Toralf Förster wrote:
> > arch/um/sys-i386/user-offsets.c:7:22: error: asm/user.h: No such file or 
> > directory
> > arch/um/sys-i386/user-offsets.c: In function 'foo':
> > arch/um/sys-i386/user-offsets.c:51: error: invalid application of 'sizeof' 
> > to incomplete type 'struct user_i387_struct'
> 
> What's the host distro?

Im using Gentoo Linux with sys-kernel/linux-headers-2.6.21 and
the kernel sys-kernel/gentoo-sources-2.6.22-r4 (== 2.6.22.3 + Gentoo specific
patches)

> Do you have either user_i387_struct or elf_fpregset_t anywhere in your
> /usr/include?   If not, then your headers are broken, as there is no
> way to use PTRACE_GETFPREG since you can't tell how big a buffer to
> pass in.
I found a definition of elf_fpregset_t within incluce files from the glibc
package:

[EMAIL PROTECTED] /usr/include $ grep -Hir user_i387_struct *

[EMAIL PROTECTED] /usr/include $ grep -Hir elf_fpregset_t *
sys/procfs.h:typedef struct user_fpregs_struct elf_fpregset_t;
sys/procfs.h:typedef elf_fpregset_t prfpregset_t;

[EMAIL PROTECTED] /usr/include $ equery b sys/procfs.h
[ Searching for file(s) sys/procfs.h in *... ]
sys-libs/glibc-2.5-r4 (/usr/include/sys/procfs.h)


-- 
MfG/Sincerely

Toralf Förster

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to