From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: "D. Bahi" <dbahi@enterasys.com>
Subject: Re: [uml-devel] 2.4 series include path confusion
Date: Wed, 29 Dec 2004 18:49:49 +0100 [thread overview]
Message-ID: <200412291849.49156.blaisorblade@yahoo.it> (raw)
In-Reply-To: <41C8D3BF.6070609@enterasys.com>
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
prev parent reply other threads:[~2004-12-29 17:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-22 1:54 [uml-devel] 2.4 series include path confusion D. Bahi
2004-12-29 17:49 ` Blaisorblade [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200412291849.49156.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=dbahi@enterasys.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox