linux-um archives
 help / color / mirror / Atom feed
From: "Peter Teoh" <htmldeveloper@gmail.com>
To: Al Viro <viro@zeniv.linux.org.uk>,
	Steven Rostedt <srostedt@redhat.com>,
	uml-devel <user-mode-linux-devel@lists.sourceforge.net>
Subject: [uml-devel] UML: multiple error in compilation
Date: Wed, 5 Nov 2008 12:39:36 +0800	[thread overview]
Message-ID: <804dabb00811042039s2dd4d9dv940059deea522dd8@mail.gmail.com> (raw)

I am on linus git tree:

45beca08dd8b6d6a65c5ffd730af2eac7a2c7a03		branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6

after attempting to compile for UML, I got "undefined reference to
`save_stack_trace'", and so I applied the following:

http://groups.google.com/group/linux.kernel/browse_thread/thread/84e3655b604ecc40/1b16192ff6b216b9?lnk=raot

and then make again:

/root/download/linux-2.6_latest>make linux ARCH=um O=uml
make[1]: Nothing to be done for `/mnt/sda2/download/linux-2.6_latest/uml'.
make[2]: `arch/um/sys-i386/user-offsets.s' is up to date.
  Using /mnt/sda2/download/linux-2.6_latest as source for kernel
  GEN     /mnt/sda2/download/linux-2.6_latest/uml/Makefile
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-um
  CALL    /mnt/sda2/download/linux-2.6_latest/scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  CC      kernel/trace/trace.o
/mnt/sda2/download/linux-2.6_latest/kernel/trace/trace.c: In function
'ftrace_trace_stack':
/mnt/sda2/download/linux-2.6_latest/kernel/trace/trace.c:710: error:
storage size of 'trace' isn't known
/mnt/sda2/download/linux-2.6_latest/kernel/trace/trace.c:710: warning:
unused variable 'trace'
make[3]: *** [kernel/trace/trace.o] Error 1
make[2]: *** [kernel/trace] Error 2
make[1]: *** [kernel] Error 2
make: *** [sub-make] Error 2

Hm...possibly some header got error.....any hints?

-- 
Regards,
Peter Teoh

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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-11-05  4:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=804dabb00811042039s2dd4d9dv940059deea522dd8@mail.gmail.com \
    --to=htmldeveloper@gmail.com \
    --cc=srostedt@redhat.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=viro@zeniv.linux.org.uk \
    /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