diabla:/usr/src/kernel-source-2.6.8# make-kpkg --append-to-version "-4-686" --revision 2.6.18-4-686 --config oldconfig configure
I note you are using a hyphen in the revision number.
Please ensure that the upstream and debian revision
numbers are policy compliant enough that dpkg and
shall not choke on them at the end of the compile
exec debian/rules DEBIAN_REVISION=2.6.18-4-686 APPEND_TO_VERSION=-4-686 configure
====== making target CONFIG-common [new prereqs: testdir]======
====== making target CONFIG-common [new prereqs: stamp-conf]======
This is kernel package version 10.066.
====== making stamp-arch-conf because of ======
====== making target CONFIG-arch [new prereqs: stamp-arch-conf]======
====== making target CONFIG-arch [new prereqs: .config conf.vars]======
This is kernel package version 10.066.
====== making target CONFIG/linux-headers-2.6.8-4-686 [new prereqs: CONFIG-arch]======
====== making target CONFIG/linux-image-2.6.8-4-686 [new prereqs: CONFIG-arch]======
====== making target CONFIG/linux-uml-2.6.8-4-686 [new prereqs: CONFIG-arch]======
====== making target CONFIG/linux-xen0-2.6.8-4-686 [new prereqs: CONFIG-arch]======
====== making target CONFIG/linux-xenu-2.6.8-4-686 [new prereqs: CONFIG-arch]======
====== making stamp-configure-arch because of ======
====== making target configure-arch [new prereqs: stamp-configure-arch]======
====== making stamp-indep-conf because of ======
====== making target CONFIG-indep [new prereqs: stamp-indep-conf]======
====== making target debian/stamp-kernel-conf [new prereqs: .config Makefile]======
/usr/bin/make EXTRAVERSION=-4-686 ARCH=i386 \
oldconfig
make[1]: Entering directory `/usr/src/kernel-source-2.6.8'
HOSTCC scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:91: error: static declaration of ‘current_menu’ follows non-static declaration
scripts/kconfig/lkc.h:63: error: previous declaration of ‘current_menu’ was here
make[2]: *** [scripts/kconfig/mconf.o] Error 1
make[1]: *** [oldconfig] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.6.8'
make: *** [debian/stamp-kernel-conf] Error 2
diabla:/usr/src/kernel-source-2.6.8#