All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: Peter Teoh <htmldeveloper@gmail.com>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] ?struct thread_struct? has no member named ?mode?
Date: Sun, 18 May 2008 10:01:21 -0400	[thread overview]
Message-ID: <20080518140121.GA5635@c2.user-mode-linux.org> (raw)
In-Reply-To: <804dabb00805180206wc937036x8e50336967f78ee3@mail.gmail.com>

On Sun, May 18, 2008 at 05:06:55PM +0800, Peter Teoh wrote:
> I downloaded 2.6.24.2.tar.bz2 and make:

>   CC      arch/um/kernel/smp.o
> /mnt/hd0/download/linux-2.6.24.2/arch/um/kernel/smp.c: In function 'idle_proc':
> /mnt/hd0/download/linux-2.6.24.2/arch/um/kernel/smp.c:79: error:
> 'struct thread_struct' has no member named 'mode'

This is what I get:

$ wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.2.tar.bz2
--09:48:55--  http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.2.tar.bz2
           => `linux-2.6.24.2.tar.bz2'
Resolving www.kernel.org... 204.152.191.5, 204.152.191.37
Connecting to www.kernel.org|204.152.191.5|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 46,735,221 (45M) [application/x-bzip2]

100%[====================================>] 46,735,221   556.46K/s    ETA 00:00

09:50:11 (602.99 KB/s) - `linux-2.6.24.2.tar.bz2' saved [46735221/46735221]

$ bunzip2 linux-2.6.24.2.tar.bz2
$ tar xf linux-2.6.24.2.tar 
$ cd linux-2.6.24.2
$ mkdir uml
$ make defconfig ARCH=um O=uml
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  	  ...
$ make ARCH=um O=uml
          ...
	  success

				Jeff

-- 
Work email - jdike at linux dot intel dot com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2008-05-18 14:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-18  9:06 [uml-devel] ‘struct thread_struct’ has no member named ‘mode’ Peter Teoh
2008-05-18 14:01 ` Jeff Dike [this message]
2008-05-18 15:30   ` [uml-devel] ?struct thread_struct? has no member named ?mode? Peter Teoh
2008-05-19 16:06     ` Jeff Dike
2008-05-20  2:06       ` Peter Teoh
2008-05-20  3:57         ` 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=20080518140121.GA5635@c2.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=htmldeveloper@gmail.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 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.