I'm trying to compile my own module on a Ubuntu system for the Raspberry pi. I followed this guide -> http://mitchtech.net/raspberry-pi-kernel-compile/
I succeeded to compile the testprogram "Hello world" on my ubuntu and import this with insmod in the kernel from my Raspberry Pi. The problem is when I include <stdint.h> in my more complex module I receive the following error: "stdio.h: No such file or directory". I search for hours how to import this into my kernel folder from the Rpi but I didn't found it. Does anybody know how to import this header file?
obj-m := test.o
make -C $(KERN_SRC) ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- M=`pwd` modules
make -C $(KERN_SRC) ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- M=`pwd` clean
Thanks in advance