I tried several times to compile the testing vanilia Linux kernel 
2.6.33-rc8  under Debian, but every time I had an error (see attached file).
But it was possible for me to do that with the stable kernel 2.6.32.
What was the mistake I did?
$ make-kpkg --initrd kernel-image

make[1]: Leaving directory `/home/igor/local_src/linux-2.6.33-rc8'
test ! -e scripts/package/builddeb || mv -f scripts/package/builddeb 
scripts/package/builddeb.kpkg-dist
test ! -e scripts/package/Makefile || test -f 
scripts/package/Makefile.kpkg-dist || (mv -f scripts/package/Makefile 
scripts/package/Makefile.kpkg-dist && (echo "# Dummy file "; echo "help:") >  
scripts/package/Makefile)
COLUMNS=150 dpkg -l 'gcc*' perl dpkg 'libc6*' binutils make dpkg-dev |\
         awk '$1 ~ /[hi]i/ { printf("%s-%s\n", $2, $3) }'> debian/buildinfo
uname -a >> debian/buildinfo
echo using the compiler: >> debian/buildinfo
grep LINUX_COMPILER include/linux/compile.h | \
           sed -e 's/.*LINUX_COMPILER "//' -e 's/"$//' >> debian/buildinfo
grep: include/linux/compile.h: Нет такого файла или 
каталога
echo applied kernel patches: >> debian/buildinfo
echo done > debian/stamp/build/kernel
/usr/bin/make -f ./debian/rules         
debian/stamp/binary/pre-linux-image-2.6.33-rc8
make[1]: Entering directory `/home/igor/local_src/linux-2.6.33-rc8'
====== making target debian/stamp/install/linux-image-2.6.33-rc8 [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.33-rc8\" "; 
echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
           "" 
does not match current version:
           "2.6.33-rc8" 
Please correct this.
make[1]: *** [debian/stamp/install/linux-image-2.6.33-rc8] Ошибка 2
make[1]: Leaving directory `/home/igor/local_src/linux-2.6.33-rc8'
make: *** [kernel-image] Ошибка 2

-$ fakeroot make-kpkg --initrd --revision=og.100215.00 kernel_image

make[1]: Leaving directory `/home/user/local_src/linux-2.6.33-rc8'
test ! -e scripts/package/builddeb || mv -f scripts/package/builddeb 
scripts/package/builddeb.kpkg-dist
test ! -e scripts/package/Makefile || test -f 
scripts/package/Makefile.kpkg-dist || (mv -f scripts/package/Makefile 
scripts/package/Makefile.kpkg-dist && (echo "# Dummy file "; echo "help:") >  
scripts/package/Makefile)
COLUMNS=150 dpkg -l 'gcc*' perl dpkg 'libc6*' binutils make dpkg-dev |\
         awk '$1 ~ /[hi]i/ { printf("%s-%s\n", $2, $3) }'> debian/buildinfo
uname -a >> debian/buildinfo
echo using the compiler: >> debian/buildinfo
grep LINUX_COMPILER include/linux/compile.h | \
           sed -e 's/.*LINUX_COMPILER "//' -e 's/"$//' >> debian/buildinfo
grep: include/linux/compile.h: Нет такого файла или 
каталога
echo applied kernel patches: >> debian/buildinfo
echo done > debian/stamp/build/kernel
/usr/bin/make -f ./debian/rules         
debian/stamp/binary/pre-linux-image-2.6.33-rc8
make[1]: Entering directory `/home/user/local_src/linux-2.6.33-rc8'
====== making target debian/stamp/install/linux-image-2.6.33-rc8 [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.33-rc8\" "; 
echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
           "" 
does not match current version:
           "2.6.33-rc8" 
Please correct this.
make[1]: *** [debian/stamp/install/linux-image-2.6.33-rc8] Ошибка 2
make[1]: Leaving directory `/home/user/local_src/linux-2.6.33-rc8'
make: *** [kernel_image] Ошибка 2

Reply via email to