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 via email to