Hi I''m trying to compile a xen0 kernel with a custom configuration. I have downloaded the "testing" tarball which uses 2.6.16.13. I''ve generated a kernel patch with "make mkpatches", applied the patch to a pristine tree, dropped in my .config, done a make oldconfig and then try to compile. I''m getting this compilation error, though: CC arch/i386/kernel/vm86.o CC arch/i386/kernel/early_printk.o SYSCALL arch/i386/kernel/vsyscall-syms.o arch/i386/kernel/vsyscall-sysenter.o: In function `__kernel_vsyscall'': arch/i386/kernel/vsyscall-sysenter.S:(.text+0x0): multiple definition of `__kernel_vsyscall'' arch/i386/kernel/vsyscall-int80.o:arch/i386/kernel/vsyscall-int80.S:(.text+0x0): first defined here /usr/bin/ld: Warning: size of symbol `__kernel_vsyscall'' changed from 3 in arch/i386/kernel/vsyscall-int80.o to 20 in arch/i386/kernel/vsyscall-sysenter.o arch/i386/kernel/vsyscall-sysenter.o: In function `__kernel_sigreturn'': arch/i386/kernel/vsyscall-sysenter.S:(.text+0x20): multiple definition of `__kernel_sigreturn'' arch/i386/kernel/vsyscall-int80.o:arch/i386/kernel/vsyscall-int80.S:(.text+0x20): first defined here arch/i386/kernel/vsyscall-sysenter.o: In function `__kernel_rt_sigreturn'': arch/i386/kernel/vsyscall-sysenter.S:(.text+0x40): multiple definition of `__kernel_rt_sigreturn'' arch/i386/kernel/vsyscall-int80.o:arch/i386/kernel/vsyscall-int80.S:(.text+0x40): first defined here collect2: ld returned 1 exit status make[1]: *** [arch/i386/kernel/vsyscall-syms.o] Error 1 make: *** [arch/i386/kernel] Error 2 Regards Mart. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi I''m trying to compile a xen0 kernel with a custom configuration. I have downloaded the "testing" tarball which uses 2.6.16.13. I''ve generated a kernel patch with "make mkpatches", applied the patch to a pristine tree, dropped in my .config, done a make oldconfig and then try to compile. I''m getting this compilation error, though: CC arch/i386/kernel/vm86.o CC arch/i386/kernel/early_printk.o SYSCALL arch/i386/kernel/vsyscall-syms.o arch/i386/kernel/vsyscall-sysenter.o: In function `__kernel_vsyscall'': arch/i386/kernel/vsyscall-sysenter.S:(.text+0x0): multiple definition of `__kernel_vsyscall'' arch/i386/kernel/vsyscall-int80.o:arch/i386/kernel/vsyscall-int80.S:(.text+0x0): first defined here /usr/bin/ld: Warning: size of symbol `__kernel_vsyscall'' changed from 3 in arch/i386/kernel/vsyscall-int80.o to 20 in arch/i386/kernel/vsyscall-sysenter.o arch/i386/kernel/vsyscall-sysenter.o: In function `__kernel_sigreturn'': arch/i386/kernel/vsyscall-sysenter.S:(.text+0x20): multiple definition of `__kernel_sigreturn'' arch/i386/kernel/vsyscall-int80.o:arch/i386/kernel/vsyscall-int80.S:(.text+0x20): first defined here arch/i386/kernel/vsyscall-sysenter.o: In function `__kernel_rt_sigreturn'': arch/i386/kernel/vsyscall-sysenter.S:(.text+0x40): multiple definition of `__kernel_rt_sigreturn'' arch/i386/kernel/vsyscall-int80.o:arch/i386/kernel/vsyscall-int80.S:(.text+0x40): first defined here collect2: ld returned 1 exit status make[1]: *** [arch/i386/kernel/vsyscall-syms.o] Error 1 make: *** [arch/i386/kernel] Error 2 I''ve also tried this with xen 3.0.2 and the 2.6.16 kernel, with exactly the same results. Regards Mart. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi I''m trying to compile a xen0 kernel with a custom configuration. I have downloaded the "testing" tarball which uses 2.6.16.13. I''ve generated a kernel patch with "make mkpatches", applied the patch to a pristine tree, dropped in my .config, done a make oldconfig and then try to compile. I''m getting this compilation error, though: CC arch/i386/kernel/vm86.o CC arch/i386/kernel/early_printk.o SYSCALL arch/i386/kernel/vsyscall-syms.o arch/i386/kernel/vsyscall-sysenter.o: In function `__kernel_vsyscall'': arch/i386/kernel/vsyscall-sysenter.S:(.text+0x0): multiple definition of `__kernel_vsyscall'' arch/i386/kernel/vsyscall-int80.o:arch/i386/kernel/vsyscall-int80.S:(.text+0x0): first defined here /usr/bin/ld: Warning: size of symbol `__kernel_vsyscall'' changed from 3 in arch/i386/kernel/vsyscall-int80.o to 20 in arch/i386/kernel/vsyscall-sysenter.o arch/i386/kernel/vsyscall-sysenter.o: In function `__kernel_sigreturn'': arch/i386/kernel/vsyscall-sysenter.S:(.text+0x20): multiple definition of `__kernel_sigreturn'' arch/i386/kernel/vsyscall-int80.o:arch/i386/kernel/vsyscall-int80.S:(.text+0x20): first defined here arch/i386/kernel/vsyscall-sysenter.o: In function `__kernel_rt_sigreturn'': arch/i386/kernel/vsyscall-sysenter.S:(.text+0x40): multiple definition of `__kernel_rt_sigreturn'' arch/i386/kernel/vsyscall-int80.o:arch/i386/kernel/vsyscall-int80.S:(.text+0x40): first defined here collect2: ld returned 1 exit status make[1]: *** [arch/i386/kernel/vsyscall-syms.o] Error 1 make: *** [arch/i386/kernel] Error 2 I''ve also tried this with xen 3.0.2 and the 2.6.16 kernel, with exactly the same results. Regards Mart. -- Martin A. Brooks | http://www.antibodymx.net/ | Anti-spam & anti-virus Consultant | martin@antibodymx.net | filtering. Inoculate antibodymx.net | m: +4745888254 | your mail system. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Martin,> /usr/bin/ld: Warning: size of symbol `__kernel_vsyscall'' changed from > 3 in arch/i386/kernel/vsyscall-int80.o to 20 in > arch/i386/kernel/vsyscall-sysenter.o > arch/i386/kernel/vsyscall-sysenter.o: In function > `__kernel_sigreturn'': > arch/i386/kernel/vsyscall-sysenter.S:(.text+0x20): multiple > definition of `__kernel_sigreturn'' > arch/i386/kernel/vsyscall-int80.o:arch/i386/kernel/vsyscall-int80.S:(.text > +0x20):I was getting these errors when I was incorrectly compiling the kernel. I can''t recall what precisely the problem was, but I think it was something along the lines of I attempted to compile a 2.6.16.16 kernel, but I did it with the 2.6.16.16 source. I had to download the 2.6.16 source, apply the Xen patch (I think this is all done by ''make world''), then apply the 2.6.16 -> 2.6.16.16 patch, in that order. Also the correct commands to compile the kernel are listed at the end of the README, the first time you compile it''s probably best to do it that way, and then once that works go in and fiddle with the kernel configuration. My problem was I tried to skip a few steps to save time, but it breaks the kernel compile. So you''ll probably need to start a fresh, and make sure it works with all the defaults before beginning to fiddle. Sorry I couldn''t be any more helpful. Cheers, Adam. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users