On Fri, Sep 25, 2009 at 6:21 AM, Balaji Ravindran <b@xxxxxxx> wrote: > Hi Everyone, > > Sorry for a very amateur question. Could anyone just help me get started > with compiling the linux kernel from the wireless-testing tree? I just > pulled the local wireless-testing repo, trying to navigate through the code, > and wanted to compile the kernel, and to boot up to it. Could anyone just > help me get started? > > I followed the instructions from > http://www.cyberciti.biz/tips/compiling-linux-kernel-26.html > and ended up with a compile error in 'make', while trying to create the > bzimage. (error is on make: initramfs_data.cpi.o failed) > > Is there any other easy way to compile the kernel/debug. > > > Thanks > > Balaji R > -- > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > As the other replier has already stated, including the last few lines of the message before the error would be nice. Also, if you haven't built your own kernel before, it is probably better to start from a known configuration rather than from scratch. While all the tutorial, etc tells you to do 'make mrproper ; make menuconfig/xconfig; make' , there are occasionally some missing dependencies which aren't explicitly hooked up, so it might be easier to do, instead of make menuconfig/xconfig, in the middle, copy your distro's config (or your current running kernel's config) from either /boot/config-* (packaged from your distro) or /proc/config.gz (for a kernel which remembers its own config - it is a kernel config opton), to .config in your source tree, run make oldconfig (which only ask your questions about *difference* between the tree and the running kernel), before running make menuconfig/xconfig. This way, you are starting from a valid and know-working configuration for your hardware/archecture. Also, compat-wireless (which just replaces the wireless-related kernel modules) is sometimes a quicker/easier alternative to the whole wireless-testing. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html