[plug] kernel compile problems
Anthony J. Breeds-Taurima
tony at cantech.net.au
Thu Feb 6 15:14:15 WST 2003
On Thu, 6 Feb 2003, sol wrote:
> Hi there,
>
> I was just trying to compile a 2.4.18 kernel on Debian Woody and I've just had
> two consecutive failures. I don't understand the error.
>
> mkdir -p
> /usr/src/linux-2.4.18/debian/tmp-image/lib/modules/2.4.18/kernel/drivers/block/
> cp loop.o
> /usr/src/linux-2.4.18/debian/tmp-image/lib/modules/2.4.18/kernel/drivers/block/
> cp: cannot stat 'loop.o': No such file or directory
> make[4]: ***[_modinst__] Error 1
> make[4]: Leaving directory '/usr/src/linux-2.4.18/drivers/block'
> make[3]: ***[_modinst_block] Error 2
> make[3]: Leaving directory '/usr/src/linux-2.4.18/drivers'
> make[2]: ***[_modinst_drivers] Error 2
> make[2]: Leaving directory '/usr/src/linux-2.4.18'
> make[1]: ***[real_stamp_image] Error 2
> make[1]: Leaving directory '/usr/src/linux-2.4.18'
>
> Then it returns to the prompt.
> The first time I did this I did it from /usr/src/linux which was a symbolic
> link to /usr/src/linux-2.4.18, the second time I tried doing this from
> /usr/src/linux-2.4.18; not that this should have made any difference, I just
> thought I had better explain this.
>
> Any ideas on what may be going wrong here?
Your .config file says that .../drivers/block/loop.o should be there BUT the
build system didn't make it :(
It looks like you're using make-kpkg, you shoudl do whatever the make-kpkg
equivilent of "Make the build tree _really_ clean"
I'd do:
cd /usr/src/linux
cp .config ../config-tmp
make mrproper
mv ../config-tmp .
make oldconfig
make dep bzImage modules modules_install
Yours Tony.
/*
* "The significant problems we face cannot be solved at the
* same level of thinking we were at when we created them."
* --Albert Einstein
*/
More information about the plug
mailing list