About EXPORT_SYMBOL

kashish bhatia koolest77 at gmail.com
Thu Feb 10 08:18:47 EST 2011


Hello All,

I want to export a function named ext2_free_data() which is present in
inode.c .
This function is statically defined in this file. I omit the "static"
keyword and exported it
using EXPORT_SYMBOL(ext2_free_data).
ext2_free_data() function declaration is not present in any header file , so
I included its
declaration in my own header file which I kept in fs/ext2 directory.

Now when I insert my module using insmod command ,it shows a error : Unknown
symbol in module.


Kindly help me .

-- 
Regards,
Kashish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110210/34640ca5/attachment.html 


More information about the Kernelnewbies mailing list