From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] UML build system: patch ready
Date: Fri, 26 Dec 2003 19:56:24 +0100 [thread overview]
Message-ID: <200312261956.24711.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <Pine.LNX.4.58.0312261606480.18690@boston.corp.fedex.com>
> arch/um/sys-i386/bugs.c ...
[...]
> It looks that modify_ldt_ldt_s is not defined anywhere and modify_ldt()
> cannot be found.
It's true, but they should be defined by /usr/include/asm/ldt.h. So it's not
my fault(unless you succeed in compiling a 2.6 with the -test9 patch).
Have you got a Debian? This problem has appeared on Debian unstable also for
2.4, since that file is from the 2.6 headers.
The quick fix is to make /usr/include/asm and /usr/include/linux be symlinks
into a 2.4 kernel tree, but only for compiling UML(for the other programs, in
fact, they must stay as they are).
> arch/um/sys-i386/bugs.c: In function `disable_lcall':
> arch/um/sys-i386/bugs.c:110: storage size of `ldt' isn't known
> arch/um/sys-i386/bugs.c:117: warning: implicit declaration of function
> `modify_ldt'
> arch/um/sys-i386/bugs.c:110: warning: unused variable `ldt'
> I did these ...
> cd uml
> patch -p1 </tar/uml/uml-combo-2.6.0-A5
> patch -p1 </tar/uml/A-01-Fix_clean_mrproper.patch
> patch -p1 </tar/uml/A-02-Apply_altern-constants.patch
> patch -p1 </tar/uml/A-03-Module_support.patch
That's ok(apart for the uml-combo, I didn't test it), but I wasn't clear about
A-04.
You can apply A-04-User_obj_makefiles-v2.patch(note the -v2), while you must
not apply A-04-User_obj_makefiles.patch (now I've seen this wasn't uploaded).
However that is unrelated to the above problem. Also, if you want some more
to test, see my new message "UML patches against vanilla 2.6.0", which
describes a more complete group of patches.
--
cat <<EOSIGN
Paolo Giarrusso, aka Blaisorblade
Linux Kernel 2.4.21/2.6.0-test on an i686; Linux registered user n. 292729
EOSIGN
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2003-12-26 19:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-24 18:43 [uml-devel] UML build system: patch ready BlaisorBlade
2003-12-26 8:12 ` Jeff Chua
2003-12-26 18:56 ` BlaisorBlade [this message]
2003-12-26 19:51 ` Nigel Cunningham
2003-12-27 18:33 ` BlaisorBlade
2003-12-28 0:50 ` Jeff Chua
2004-01-06 2:59 ` Jeff Dike
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=200312261956.24711.blaisorblade_spam@yahoo.it \
--to=blaisorblade_spam@yahoo.it \
--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