Unable to find kernel headers such as kmalloc.h
I am Manish from Bangalore, I was trying to cross compile openswan as module for kernel 2.6.18 on x86 host for mips target using buildroot and uclibc toolchain and library. It will compile when it is statically built ie., into the kernel itself, if I try to build it as module, it is giving error such as cannot find header file kmalloc.h and similar ones. I have given correct path for the headers, still am unable to compile it. Can anybody please help me, thanks a lot.
PS: Kernel is for mips and am crosscompiling the kernel also.
Last edited by manish.ym; 02-06-2007 at 10:02 PM.