This is a misuse of the linux-headers-2.6.17-10 package.
You can't expect this command to work in that directory.
** Changed in: kernel-package (Ubuntu)
Status: Needs Info => Rejected
--
make-kpkg modules_image version conflict
https://launchpad.net/bugs/67611