I have this issue of version mismatch during xenomai installation in debian linux.
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