Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 02-06-2007, 09:59 PM   #1
LQ Newbie
Registered: Feb 2007
Distribution: Fedora Core 6
Posts: 6

Rep: Reputation: 0
Question 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

Last edited by manish.ym; 02-06-2007 at 10:02 PM.
Old 02-07-2007, 09:58 PM   #2
LQ Newbie
Registered: Feb 2007
Distribution: Fedora Core 6
Posts: 6

Original Poster
Rep: Reputation: 0
Its ok I fixed it, thanks
Manish YM
Old 06-16-2010, 11:00 AM   #3
Registered: Jun 2010
Posts: 50

Rep: Reputation: 15
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 ?


kernel, module

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Glibc Unable to Find Kernel Headers Kenji Miyamoto Linux From Scratch 6 12-30-2008 04:03 PM
GCC 4.0.2 Chroot Build Unable to Find Headers Kenji Miyamoto Linux From Scratch 5 06-29-2006 03:34 AM
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
install script can not find kernel-headers abtimoteo Linux - Laptop and Netbook 1 05-01-2005 03:29 AM
Kernel unable to find the modules? shassouneh Linux - Software 20 06-23-2002 06:04 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 08:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration