User Mode Linux (uml) kernel compilation
Hello, In the kernel source distributed by Suse there is the user mode architecture available. Unfortunately when I'm trying to compile it does not work. To compile it,I use the commands : make xconfig ARCH=um to make the configuration file make dep ARCH=um make linux ARCH=um to make the user mode kernel There is when I get the following error messages : gcc -D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -g -U__i386__ -Ui386 -DUM_FASTCALL -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -I/usr/src/linux-2.4.19.SuSE/arch/um/include -Derrno=kernel_errno -c mk_thread_kern.c In file included from mk_thread_kern.c:2: /usr/src/linux-2.4.19.SuSE/include/linux/sched.h:846: conflicting types for `kernel_thread' /usr/src/linux-2.4.19.SuSE/include/asm/processor-generic.h:95: previous declaration of `kernel_thread' make[1]: *** [mk_thread_kern.o] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.19.SuSE/arch/um/sys-i386/util' make: *** [arch/um/sys-i386/util/mk_thread] Error 2 Does anyone has tried to compile the user mode kernel, and succeeded in it? How did you did it? Thanks. Benjamin Mampaey System Engineer This email and any attached files are confidential and may be legally privileged. If you are not the intended recipient, any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is strictly prohibited. If you have received this transmission in error please notify the sender immediately and then delete this email. Email transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore is in no way liable for any errors or omissions in the content of this message, which may arise as a result of email transmission. If verification is required, please request a hard copy.
participants (1)
-
b.mampaey@crelan.be