Results 1 to 4 of 4
While running the module program,
getting error like init.h,efi.h,spinlock.h no such file r directory...
#include <linux/types.h>
#include <linux/spinlock.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/errno.h>
#include <asm/efi.h>
#include <asm/sn/klclock.
can any ...
- 10-08-2011 #1Just Joined!
- Join Date
- Oct 2011
- Posts
- 2
efi.h and spinlock.h headerfiles not found
While running the module program,
getting error like init.h,efi.h,spinlock.h no such file r directory...
#include <linux/types.h>
#include <linux/spinlock.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/errno.h>
#include <asm/efi.h>
#include <asm/sn/klclock.
can any one will solve my error...
- 10-10-2011 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,977
You are trying to build a kernel module? If so, then you need to install the kernel development and headers packages first.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 10-10-2011 #3Just Joined!
- Join Date
- Oct 2011
- Posts
- 2
- 10-10-2011 #4
Hello.
Going from Rubberman's advice, you should be able find kernel-headers and kernel-devel in your package manager (Synaptic or apt-get)can you tell which packages should installJay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.


Reply With Quote
