>> My kernel headers are also missing elf.h, so this doesn't work either...
>>     
>
> elf.h is supposedly exported in 2.6.22, although I guess someone took the
> comment seriously:
>
>       # These probably shouldn't be exported
>       unifdef-y += shmparam.h
>       unifdef-y += elf.h
>       unifdef-y += page.h
>
> So, I have no idea how userspace is supposed to figure out how big a
> buffer to pass to PTRACE_GETFPREGS and PTRACE_GETFPXREGS.  I think the
> headers are broken here.
>
>   
>> It is included in page.h:
>>
>>  CC      arch/um/sys-i386/user-offsets.s
>> In file included from /usr/include/asm/user.h:5,
>>                 from arch/um/sys-i386/user-offsets.c:7:
>> /usr/include/asm/page.h:4:25: error: linux/const.h: No such file or 
>> directory
>>     
>
> This is just broken, then.  The headers should at least have no
> dangling includes.
>   
page.h wasn't there to start with, I added it by hand - so it isn't as 
bad, but building without page.h looks hard...
>   
>> I get the same error as above because user.h includes  asm/page.h
>>     
>
> Hummm, I guess the header tidying people need to fix a bunch of
> things.  I'll make whatever changes needed in UML to not use illicit
> headers, but I do need complete interface definitions, as with the FP
> stuff.
>   
I don't mind bugging people to get to the bottom of this, do you know 
where to knock?
I can't find anything in MAINTAINERS.

Antoine

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to