On Friday 01 December 2006 22:54, Nix wrote: > On 1 Dec 2006, [EMAIL PROTECTED] uttered the following: > > On 29 Nov 2006, [EMAIL PROTECTED] uttered the following: > >> arch/um/os-Linux/start_up.o is in USER_OBJS, so it is compiled against > >> host headers. > >> You cannot _depend_ on them including the SKAS patch, as I said. And > >> that header is in arch/um/include to be includable by both kernelspace > >> and userspace files... > > > > Oh, hell, true. The problem is that we'll have to cater for people who > > *have* included the skas headers, including the old ones... > > No we won't: kernel building includes things from the Linux source > tree's includes directory, not /usr/include/asm, so what people have in > /usr/include/asm/ptrace.h should be irrelevant. For userspace files there's anyway a problem, since they _do_ use /usr/include/asm/ptrace.h .
> (I have now reproduced this failure both with and without the skas patch > in the headers installed via `make headers_install'.) > > Or is it that userspace stuff includes /usr/include/asm/*, kernelspace > stuff includes include/asm-{whatever} from the kernel tree, but nothing > includes both, so we need *some* things in some third location where > both can see them? Exactly, the third location is arch/um/include for UML (it must be used for things needed only by userspace files, but is also used for some things which would be in include/asm-um). > (If that's so, I don't see how my patch built at all. Hm.) Bad dependency tracking ? I doubt that however... -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel