On Mon, Jul 20, 2009 at 9:40 PM, er krishna<erkrishna@xxxxxxxxx> wrote: > I have exported three functions from fs/dropcaches.c by making their > function declaration in linux/mm.h, compiled the corresponding 2.6.26 > kernel & got their entries in System.map file as follows: > > > c0174d98 T drop_slab > c0174db2 T drop_pagecache > c0174ea7 T drop_caches_sysctl_handler Upper case T, according to "man nm" means it's a global symbol. In other word, other function located in separate object file could reference it. OK, seems you do correctly here in exporting symbol > These entries are quite different from the actual exported functions from > other files, it has only T option. What do you mean by the above paragraph? Other than that, as Peter has suggested, are you sure you have declared drop_slab() etc as "extern" function in your module? And as far as I can see here, they are warning messages so there's a chance the final kernel module can be successfully build. What happen if you do "insmod -f"? Does it work as expected? -- regards, Mulyadi Santosa Freelance Linux trainer blog: the-hydra.blogspot.com -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ