[maemo-developers] [maemo-developers] Error compiling kernel by following HowTo_KernelCompilation wiki

From: Ed Bartosh Eduard.Bartosh at nokia.com
Date: Wed Feb 1 21:30:46 EET 2006
On Wed, 2006-02-01 at 00:41, ext Benno Senoner wrote:
> Hi all,
> I'm trying to recompile the kernel for the Nokia 770, I followed
> the kernel compilation howto:  
> http://maemo.org/maemowiki/HowTo_KernelCompilation
> 
> but when I issue dpkg-buildpackage -rfakeroot -uc -us -sa -d
Try to use dpkg-buildpackage -rfakeroot -uc -us -sa -D instead.
-d means 'don't check build-dependencies'. It's not needed in this case and
even more it can be dangerous.

> I get the errors below.
> Any idea how to fix it ?
Did you made modifications to debian/rules? I think you did.
Do you have n770_defconfig in arch/arm/configs/ directory in your kernel sources?

> I'm using this toolchain: 
> http://www.scratchbox.org/download/files/sbox-releases/0.9.8/tarball/scratchbox-toolchain-arm-gcc3.4.cs-glibc-0.9.8.5.tar.gz
> 
> thanks in advance for your hints,
> cheers,
> Benno
> 
> 
> [sbox-MAEMO_KERNEL: ~/kernel-build/su-18-kernel-2.6.12.3] > 
> dpkg-buildpackage -rfakeroot -uc -us -sa -d
> dpkg-buildpackage: source package is su-18-kernel
> dpkg-buildpackage: source version is 2.6.12.3-200550osso1
> dpkg-buildpackage: source maintainer is Ed Bartosh 
> <eduard.bartosh at nokia.com>
> dpkg-buildpackage: host architecture is arm
>  fakeroot debian/rules clean
> dh_testdir
> dh_testroot
> rm -f build-stamp configure-stamp
> rm -f kernel-headers*.deb
> rm -rf 
> /home/sbox/kernel-build/su-18-kernel-2.6.12.3/debian/su-18-kernel-headers
> dh_clean
>  dpkg-source -b su-18-kernel-2.6.12.3
> dpkg-source: building su-18-kernel in 
> su-18-kernel_2.6.12.3-200550osso1.tar.gz
> dpkg-source: building su-18-kernel in su-18-kernel_2.6.12.3-200550osso1.dsc
>  debian/rules build
> dh_testdir
> # Unpack kernel sources
> echo "compile su-18 kernel"
> compile su-18 kernel
> cd /home/sbox/kernel-build/su-18-kernel-2.6.12.3/kernel-source-2.6.12.3/ 
> && \
> make HOSTCC=host-gcc n770_defconfig && \
> make HOSTCC=host-gcc zImage
> make[1]: Entering directory 
> `/home/sbox/kernel-build/su-18-kernel-2.6.12.3/kernel-source-2.6.12.3'
> make[1]: *** No rule to make target `n770_defconfig'.  Stop.
> make[1]: Leaving directory 
> `/home/sbox/kernel-build/su-18-kernel-2.6.12.3/kernel-source-2.6.12.3'
> make: *** [build-stamp] Error 2
> 
> 
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
-- 
Best regards,
Ed

More information about the maemo-developers mailing list