Re: Compiling the kernel module

From: Keith Owens (kaos@ocs.com.au)
Date: Mon Jul 10 2000 - 09:22:59 EST


On Mon, 10 Jul 2000 13:19:27 +0530,
gshekar@in.ibm.com wrote:
> While compiling my module as a part of ext2 file system, i got a warning
>"implicit declaration of function kmalloc_R93d4cfe6" and similer errors
>such as xtime_RF31ddf83 undeclared"

Ignore the _Rxxxxxxxx suffix, that is added by genksyms. Find out
where kmalloc, xtime etc. are defined and add #include <linux/...> for
those definitions. kmalloc is defined in include/linux/slab.h so you
need #include <linux/slab.h>.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:11 EST