LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 02-06-2007, 10:59 PM   #1
manish.ym
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 11:02 PM.
 
Old 02-07-2007, 10:58 PM   #2
manish.ym
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, 12:00 PM   #3
yousafsajjad
Member
 
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 ?
 
  


Reply

Tags
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 05:03 PM
GCC 4.0.2 Chroot Build Unable to Find Headers Kenji Miyamoto Linux From Scratch 5 06-29-2006 04:34 AM
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 10:17 AM
install script can not find kernel-headers abtimoteo Linux - Laptop and Netbook 1 05-01-2005 04:29 AM
Kernel unable to find the modules? shassouneh Linux - Software 20 06-23-2002 07:04 PM


All times are GMT -5. The time now is 03:30 AM.

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