|
在源码目录下
cp include/linux/vermagic.h include/linux/version.h
复制vermagic.h成version.h则解决。google是个好东西,懂得变通更好。
出现的问题是:
make[1]: Leaving directory `/home/billy/linux/linux-2.6.34.6'
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.34.6-xx
make[1]: Entering directory `/home/billy/linux/linux-2.6.34.6'
====== making target debian/stamp/install/linux-image-2.6.34.6-xx [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.34.6-xx\" "; echo " lease correct this."; exit 2
The UTS Release version in include/linux/version.h
""
does not match current version:
"2.6.34.6-xx"
Please correct this.
make[1]: *** [debian/stamp/install/linux-image-2.6.34.6-xx] 错误 2
make[1]: Leaving directory `/home/billy/linux/linux-2.6.34.6'
make: *** [kernel_image] 错误 2 |
|