Hi,
I've been playing around with my A780 and trying to get a kernel module compiled on there. When I try to use kmalloc()/kfree() and include <linux/slab.h>, I get the following error at compilation:
Code:
In file included from /home/tom/a780/e680-a780/e680-linux/include/linux/slab.h:14,
from myModule.c:24:
/home/tom/a780/e680-a780/e680-linux/include/linux/mm.h:485: error: syntax error before "phys_addr_t"
make: *** [myModule.o] Error 1
I'm using lsb's cross-comiplation toolkit and include the kernel headers with -isystem /home/tom/a780/e680-a780/e680-linux/include
where e680-a780 is the tarball downloaded from opensource.motorola.com .
kprintf()'s and such work fine.
Any help is appreciated. Thanks!