I have problem with dpkg-buildpackage and linux-headers. I used sheevalplug installer with standard kernel 126.96.36.199 (also tried 188.8.131.52) with both ubuntu and debian. Everything works fine until I try to install ndas (code.ximeta.com). After untar the package I call
dpkg-checkbuilddeps: Unmet build dependencies: linux-headers
because there are no linux-headers in repos for these kernels I downloaded sources from kernel.org, created symlinks in /lib/modules/`uname -r`/build and source,
also added symlink in /usr/src/linux, but error remains the same. I also configured, and even compiled these kernels, but there's no change. It seems that dpk-buildpackage doesn't see linux-headers :/ Any ideas? Thanks in advance!
I found solution to make my own deb package from source I compiled kernel using make-kpkg linux-headers. Now I have some problems with module-assistant though.