Function is in but still an "unresolved symbol"


I use

int function_name() { /* some stuff */ } EXPORT_SYMBOL(function_name);

in a .c file and modified the Makefile to include the appropriate .o file in export-objs

Everything compiles fine, function_name appears in like this:

c0020bb0 T function_name c015682c R __kstrab_function_name

However, when I try to insmod a module that uses function_name, it's unresolved.

when I delete the line with EXPORT_SYMBOL in the .c file, the second line in dissapears. (Not surprisingly still unresolved on insmod)

Probably I do something wrong, could somebody give me a hint?

Thank you very much,


Reply to
Friedrich Seuhs
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.