Hi again, browsing the Internet I found these links: 1. http://math-geek-rock-chick.blogspot.com/2007/12/user-mode-linux-with-kernel-261713.html 2. http://www.mail-archive.com/[EMAIL PROTECTED]/msg225786.html
In the first link it seems the problem has been solved in some way, described in the second one. There's a patch actually (one or more) that should fix something. The only problem is that I wasn't able to apply it to the kernel sources. These are the errors: patching file arch/um/sys-i386/user-offsets.c Hunk #1 FAILED at 2. Hunk #2 FAILED at 48. 2 out of 2 hunks FAILED -- saving rejects to file arch/um/sys-i386/user-offsets.c.rej patching file arch/um/sys-x86_64/user-offsets.c Hunk #1 FAILED at 3. 1 out of 1 hunk FAILED -- saving rejects to file arch/um/sys-x86_64/user-offsets.c.rej patching file arch/um/Makefile Hunk #1 FAILED at 60. 1 out of 1 hunk FAILED -- saving rejects to file arch/um/Makefile.rej I also tried to remove some suspicious lines from the patch, but nothing goes well. I hope there's something to fix it, because I need to experiment new kernel system calls on such version (2.6.16-r3). Regards, Flavio 2008/6/13 Flavio <[EMAIL PROTECTED]>: > 2006/12/21 Sivakumar Kuppusamy <[EMAIL PROTECTED]>: >> >> #make menuconfig ARCH=um >> >> #make linux modules ARCH=um >> >> >> >> SYMLINK arch/um/include/kern_constants.h >> >> SYMLINK arch/um/include/sysdep >> >> CC arch/um/sys-i386/user-offsets.s >> >> arch/um/sys-i386/user-offsets.c: In function āfooā: >> >> arch/um/sys-i386/user-offsets.c:19: warning: implicit declaration of >> function āoffsetofā >> >> arch/um/sys-i386/user-offsets.c:19: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:20: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:21: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:22: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:23: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:24: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:25: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:26: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:27: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:28: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:29: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:30: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:31: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:32: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:33: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:34: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:35: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:36: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:37: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:38: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:39: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:40: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:41: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:42: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:43: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:44: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:45: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:46: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:47: error: expected expression before >> āstructā >> >> arch/um/sys-i386/user-offsets.c:48: error: expected expression before >> āstructā >> >> make[1]: *** [arch/um/sys-i386/user-offsets.s] Error 1 >> >> make: *** [arch/um/sys-i386/user-offsets.s] Error 2 > > Hi! > > Same problem here. > It seems there's nothing to do, becouse of a compatibility problem > with newest gcc versions. > See this link: http://list.opensaf.org/archives/users/2008-March/000882.html > > Is there a way to solve and compile anyway? > > Regards, > > Flavio > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user