LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Unable to find kernel headers such as kmalloc.h (https://www.linuxquestions.org/questions/linux-kernel-70/unable-to-find-kernel-headers-such-as-kmalloc-h-526254/)

manish.ym 02-06-2007 09:59 PM

Unable to find kernel headers such as kmalloc.h
 
Hi all,
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.
Manish YM

manish.ym 02-07-2007 09:58 PM

Its ok I fixed it, thanks
Manish YM

yousafsajjad 06-16-2010 11:00 AM

Cannot find kmalloc and other kernel library
 
I can not seem to find kmalloc header file and other such kernel header files .. can you please tell me what you did to fix it ?


All times are GMT -5. The time now is 01:33 AM.