Ubuntu proc_root_driver missing from <linux/proc_fs.h>

I am trying to compile a kernel module in Ubuntu 10.04 with kernel 2.6.35-22 and it is complaining about proc_root_driver missing. I did some searching and I found that <linux/proc_fs.h> is...

Using List.h in C files, Ubuntu10.10

I am running Ubuntu 10.10 on an IBM R51 machine. When I access list.h to read it(manually/humanly) I open /usr/src/linux-headers-2.6.35-22/include/linux . But when coding a C program in terminal,...

Raw Socket Help: Why UDP packets created by raw sockets are not being received by kernel UDP?

I am studying raw sockets. I used the IP_HDRINCL option to build my own IP headers. After the IP header, I am building a UDP header. Then I am sending the packet to my system's loopback address. I...

How do I compile drivers / kernel modules for use in Linux Ubuntu?

Just to expand with some examples, here is the problem: Given the following source: /* hello.c */ #include <linux/module.h> #include <linux/kernel.h> int init_module(void) { printk(KERN_INFO...

How do I compile a linux kernel module

I am unable to compile a linux kernel module, Given the following source: /* hello.c */ #include <linux/module.h> #include <linux/kernel.h> int init_module(void) { printk(KERN_INFO "Hello...

Installing a new library in Linux, and accessing it from my C code

I am working on a project which requires me to download and use this. Inside the downloaded folder, when extracted I am presented with three things: A folder called "include" A folder called...