Hi I’m trying to compile a PV kernel with debug info
so I can use it with utilities like crash. I do a “make menuconfig”
and enable the “compile kernel with debug info” within “kernel
hacking”, within the “xen-3.3.0/linux-2.6.18-xen.hg”
directory. Then a make within the same directory which builds the kernel
successfully.
Next I do a make in xen-3.3.0/ directory but this fails with
the following error each time I try so can someone tell me how to build a debug
kernel for xen?
Regards,
Bhaskar.
====================================================================================
make -C /home/user/xen-3.3.0/linux-2.6.18-xen.hg
O=/home/user/xen-3.3.0/build-linux-2.6.18-xen_x86_64 modules
Using /home/user/xen-3.3.0/linux-2.6.18-xen.hg as source
for kernel
/home/user/xen-3.3.0/linux-2.6.18-xen.hg is not clean,
please run 'make mrproper'
in the '/home/user/xen-3.3.0/linux-2.6.18-xen.hg'
directory.
make[5]: *** [prepare3] Error 1
make[4]: *** [modules] Error 2
make[3]: *** [modules] Error 2
make[3]: Leaving directory
`/home/user/xen-3.3.0/build-linux-2.6.18-xen_x86_64'
make[2]: *** [build] Error 1
make[2]: Leaving directory `/home/user/xen-3.3.0'
make[1]: *** [linux-2.6-xen-install] Error 2
make[1]: Leaving directory `/home/user/xen-3.3.0'
make: *** [install-kernels] Error 1