Error encountered compiling kernel 2.6.35-25.44
Posted
by
Matt
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Matt
Published on 2011-02-24T21:34:14Z
Indexed on
2011/02/24
23:33 UTC
Read the original article
Hit count: 280
I downloaded the linux-source-2.6.35 package and tried to compile it using the command "fakeroot make-kpkg --append-to-version=.dbg kernel_image kernel_source kernel_headers --initrd" after "make menuconfig".
The image .deb file is produced and installs fine, but an error stops the build process while trying to make the source package:
scripts/Makefile.clean:17: /home/ade/linux-source-2.6.35/debian/linux-source-2.6.35.10.dbg/usr/src/linux-source-2.6.35.10.dbg/crypto/Makefile: No such file or directory
make[1]: *** No rule to make target `/home/ade/linux-source-2.6.35/debian/linux-source-2.6.35.10.dbg/usr/src/linux-source-2.6.35.10.dbg/crypto/Makefile'. Stop.
make: *** [_clean_crypto] Error 2
Sure enough, the folder linux-source-2.6.35/debian/linux-source-2.6.35.10.dbg/usr/src/linux-source-2.6.35.10.dbg/crypto does not exist (although all of the other kernel source folders appear to be there).
I haven't even been able to determine where the folder is supposed to be copied over, or what's supposed to invoke clean. Am I doing something wrong here? It should be noted that I am running 10.04.
© Ask Ubuntu or respective owner