checking whether client should be built... yes
checking where to find a working nbd.h... configure: error: Could not find an nbd.h from 2.6 or above.
no real info here, nbd works fine with 2.4
I had the same problem - /usr/include/linux/nbd.h needs to #include <asm/types.h> (or we need some other proper equivalent fix) because it uses the __u32 type which isn't otherwise declared.
Installed version of sys-kernel/linux-headers is 2.6.17-r1, sys-block/nbd is version 2.8.6 .
Same problem here.
checking where to find a working nbd.h... configure: error: Could not find an nbd.h from kernel 2.6 or above.
Portage 2.1.2_pre2-r3 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18-gentoo i686)
I used a 2.4 kernel and corresponding headers back then. Shouldn't be an issue with current headers.