Hugo R. Hernandez-Mora
2006-Mar-24 18:09 UTC
[Xen-users] Problems compiling linux-2.6.12-xen0 kernel
Hi there, I''m newby using xen. I''m trying to configure the xen0 kernel ( linux-2.6.12-xen0) and I''m having a problem that I don''t know how to fix. I configured the basic xen kernel and everything was cool. The new xen kernel booted well but some devices were not recognized and them, I boot to the native kernel of my distro ( 2.6.13-15.8-default with SuSE 10.0) to try to configure the xen kernel. It was what I did: prompt > cd /usr/local/xen-3.0.1/linux-2.6.12-xen0 prompt > make ARCH=xen menuconfig Here I did the changes to my kernel. I tried to use the same configuration than with my native kernel... prompt > make and I had the following error: CHK include/linux/version.h SPLIT include/linux/autoconf.h -> include/config/* make[1]: `arch/i386/kernel/asm-offsets.s'' is up to date. CHK include/asm-i386/asm_offsets.h CHK include/linux/compile.h CHK usr/initramfs_list CC arch/i386/kernel/process.o arch/i386/kernel/process.c: In function ''cpu_idle'': arch/i386/kernel/process.c:195: error: ''cpu'' undeclared (first use in this function) arch/i386/kernel/process.c:195: error: (Each undeclared identifier is reported only once arch/i386/kernel/process.c:195: error: for each function it appears in.) make[1]: *** [arch/i386/kernel/process.o] Error 1 make: *** [arch/i386/kernel] Error 2 I don''t know how to fix this issue. Could you help me? I''ll appreciate for that. Best regards, - Hugo "Si seus esforços, foram vistos com indefrença, não desanime, que o sol faze un espectacolo maravilhoso todas as manhãs cuando a maior parte das pessoas, ainda estam durmindo" - Anónimo brasileiro _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Joost Roeleveld
2006-Mar-24 18:19 UTC
Re: [Xen-users] Problems compiling linux-2.6.12-xen0 kernel
Hi Hugo, On Friday 24 March 2006 18:09, Hugo R. Hernandez-Mora wrote: <snipped>> > prompt > cd /usr/local/xen-3.0.1/linux-2.6.12-xen0 > prompt > make ARCH=xen menuconfig > > Here I did the changes to my kernel. I tried to use the same configuration > than with my native kernel... > > prompt > makeWhat happens when you try: make ARCH=xen ? -- Joost _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users