On Tue, Aug 19, 2008 at 08:47:04PM +0900, Mattia Dongili wrote:
> In short statically linking the uml kernel fails with the error below.
> Any idea what may be wrong?

A symbol clash between libc and the kernel.   Try this:

Index: linux-2.6.22/arch/um/Makefile
===================================================================
--- linux-2.6.22.orig/arch/um/Makefile  2008-07-07 12:54:13.000000000 -0400
+++ linux-2.6.22/arch/um/Makefile       2008-08-26 11:56:33.000000000 -0400
@@ -75,7 +75,8 @@ include $(srctree)/$(ARCH_DIR)/Makefile-
 # defines more robust
 
 KERNEL_DEFINES = $(strip -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask 
\
-                        -Dmktime=kernel_mktime $(ARCH_KERNEL_DEFINES))
+                        -Dmktime=kernel_mktime -Dstrrchr=kernel_strrchr \
+                        $(ARCH_KERNEL_DEFINES))
 KBUILD_CFLAGS += $(KERNEL_DEFINES)
 
 PHONY += linux

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

-------------------------------------------------------------------------
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