Am Donnerstag 09 Juni 2011, 09.33:04 schrieb nabanjan das:
> Hi,
> 
> [...]
> 
> The error message in a step at end for which I want a solution:
> 
> prototype:~/merchant/linux-2.6.35.9# CONCURRENCY_LEVEL=2 CLEAN_SOURCE=no
> fakeroot make-kpkg --initrd --append-to-version -xenomai-2.5.6 --revision
> 1.0 kernel_image kernel_headers exec debian/rules  DEBIAN_REVISION=1.0
>  APPEND_TO_VERSION=-xenomai-2.5.6  INITRD=YES  kernel_image kernel_headers
> /usr/bin/make -f ./debian/rules        
> debian/stamp/binary/pre-linux-image-2.6.35.9-xenomai-2.5.6 make[1]:
> Entering directory `/root/merchant/linux-2.6.35.9'
> ====== making target
> debian/stamp/install/linux-image-2.6.35.9-xenomai-2.5.6 [new prereqs:
> ]====== This is kernel package version 11.015.
> echo "The UTS Release version in include/linux/version.h"; echo "        
>  \"\" "; echo "does not match current version:"; echo "        
>  \"2.6.35.9-xenomai-2.5.6\" "; echo "Please correct this."; exit 2 The UTS
> Release version in include/linux/version.h
>            "" 
> does not match current version:
>            "2.6.35.9-xenomai-2.5.6" 
> Please correct this.
> make[1]: *** [debian/stamp/install/linux-image-2.6.35.9-xenomai-2.5.6]
> Error 2 make[1]: Leaving directory `/root/merchant/linux-2.6.35.9'
> make: *** [kernel_image] Error 2

Please run "make-kpkg clean" and retry to build the kernel after that.

This looks like debian 5.0 lenny (released February 2009). The last time i 
checked with (old) lenny was in January 2011 with kernel 2.6.32 and it worked. 
Maybe there is a incompatibility between kernel-package 11.015 from lenny and 
newer kernels.

If "make-kpkg clean" doesnt help consider upgrading to debian 6.0 squeeze 
(released February 2011).

Sidenote: don't build packages/kernels as root.

Stefan

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to