On Wednesday 22 December 2004 02:54, D. Bahi wrote: > so, trying to build 3rd party tools against the UML kernel headers and run > into things like "can't find sysdep/ptrace.h" > > poking around a bit - i wonder why there are headers under the > arch/um/include directory when we have a perfectly good seperate > include/asm-um area to play in? Not the whole of UML can include kernelspace headers (*_user.c files for instance), and include/asm-um ones are kernelspace. Those files need to include things from /usr/include on the host... and they can still include things from arch/um/include.
And this applies to 2.6, too. > things that want to build against a set of kernel headers shouldn't know > about the arch, right? they should be able to follow UML include paths that > are setup during the build stage that does the soft linking of asm and > such. Well, they shouldn't try to do the build themselves... that is the only solution in 2.4, in 2.6 the kernel allows external modules to use Kbuild. Well, there is something about workarounding this in the web-site... > unimportant compared to the scope of 2.6 work i understand, but i thought > i'd bring it up and see if you think i'm way off my rocker or if i have a > point. > thank you all for keeping at it. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
