From: Jeff Dike <jdike@addtoit.com>
To: ashwin tanugula <ashwin.tanugula@gmail.com>
Cc: user-mode-linux-devel@lists.sourceforge.net,
user-mode-linux-user@lists.sourceforge.net
Subject: Re: [uml-devel] compile errors for UMLPPC
Date: Wed, 20 Jul 2005 18:53:24 -0400 [thread overview]
Message-ID: <20050720225324.GA24232@ccure.user-mode-linux.org> (raw)
In-Reply-To: <838f7c50050720115954d28b25@mail.gmail.com>
On Wed, Jul 20, 2005 at 02:59:34PM -0400, ashwin tanugula wrote:
> Hi,
> I am working on the UML/PPC port and I got the following errors. Can
> anybody tell me how to solve the ptrace_link and ptrace_unlink errors
> in linux/ptrace.h file?
> CC arch/um/util/mk_task_kern.o
> In file included from include/asm/arch/user.h:7,
> from include/asm/processor-i386.h:20,
> from include/asm/processor-generic.h:17,
> from include/asm/processor.h:11,
> from include/asm/thread_info.h:11,
> from include/linux/thread_info.h:21,
> from include/linux/spinlock.h:12,
> from include/linux/capability.h:45,
> from include/linux/sched.h:7,
> from arch/um/util/mk_task_kern.c:1:
First of all, there's something very wrong when you're trying to build
UML/ppc and you're pulling in include/asm/processor-i386.h. Somehow,
your pool is corrupted by a previous i386 build.
Second, this is caused by a recursive include, where include/asm-ppc
is including linux/ptrace.h, which is trying to include sched.h.
We're in the middle of sched.h, so the that include doesn't happen,
but the task struct hasn't been defined yet in the outer sched.h so
the references to it fail.
The fix is to break this include chain somehow (after fixing the
processor-i386 thing). Find one of those includes which is unecessary
(hopefully in UML code) and remove it.
Jeff
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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
prev parent reply other threads:[~2005-07-20 22:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-20 18:59 [uml-devel] compile errors for UMLPPC ashwin tanugula
2005-07-20 22:37 ` Blaisorblade
2005-07-24 19:31 ` ashwin tanugula
2005-07-25 18:28 ` [uml-devel] NEW " ashwin tanugula
2005-07-27 15:33 ` Blaisorblade
2005-07-20 22:53 ` Jeff Dike [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=20050720225324.GA24232@ccure.user-mode-linux.org \
--to=jdike@addtoit.com \
--cc=ashwin.tanugula@gmail.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
--cc=user-mode-linux-user@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.