[support] Error compiling NEPL Linux 2.6.23 UML for clownix
Devan Rehunathan
dr at cs.st-andrews.ac.uk
Thu May 14 00:37:43 JST 2009
Hello,
I'm trying to set up the virtual tested for NEMO using software from
clownix.net as recommend by http://www.nautilus6.org/doc/nepl-howto/.
However, I'm unable to create a linux kernel 2.6.23 for UML.
my first error:
debian:~/uml/linux-2.6.23# make 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:7:22: error: asm/user.h: No such file or
directory
arch/um/sys-i386/user-offsets.c: In function ‘foo’:
arch/um/sys-i386/user-offsets.c:51: error: invalid application of ‘sizeof’
to incomplete type ‘struct user_i387_struct’
arch/um/sys-i386/user-offsets.c:52: error: invalid application of ‘sizeof’
to incomplete type ‘struct user_fxsr_struct’
arch/um/sys-i386/user-offsets.c:70: error: invalid application of ‘sizeof’
to incomplete type ‘struct user_regs_struct’
make[1]: *** [arch/um/sys-i386/user-offsets.s] Error 1
make: *** [arch/um/sys-i386/user-offsets.s] Error 2
Tried this solution:
http://github.com/icco/rgrrgr/blob/66286e25a0c7fa464a8bfafa84aa2f2942115553/uml-notes.txt
As predicted, my new error is:
debian:~/uml/linux-2.6.23# make ARCH=um
SYMLINK arch/um/include/kern_constants.h
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:51: error: invalid application of ‘sizeof’
to incomplete type ‘struct user_i387_struct’
arch/um/sys-i386/user-offsets.c:52: error: invalid application of ‘sizeof’
to incomplete type ‘struct user_fxsr_struct’
make[1]: *** [arch/um/sys-i386/user-offsets.s] Error 1
make: *** [arch/um/sys-i386/user-offsets.s] Error 2
I have tried compiling with gcc-4.3, gcc-4.2 , gcc-4.1 and gcc-3.4, all of
which return the same error.
I'm compiling the code on a debian lenny vmware image. All sources are those
recommended by the HOWTO.
Is there an alternative method of creating a Home Agent/Mobile Router UML
image?
Also how do you configure clownix to use separate kernel images for separate
hosts?
Thank you for your time.
Regards
Devan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ml.nautilus6.org/pipermail/support/attachments/20090513/fdaa22ce/attachment.htm
More information about the Support
mailing list