linux kernel compilation: ERROR: "function" [path/to/module/module.ko] undefined -
i have similar problem this one, me it's error not warning. i'm building linux-4.8.5 patch applied 1 module. get:
error: "intel_soc_pmic_readb" [drivers/gpu/drm/i915/i915.ko] undefined! error: "intel_soc_pmic_writeb" [drivers/gpu/drm/i915/i915.ko] undefined! scripts/makefile.modpost:91: recipe target '__modpost' failed make[1]: *** [__modpost] error 1 makefile:1201: recipe target 'modules' failed make: *** [modules] error 2
in other question kbuild_extra_symbols , documentation supposed in documentation/kbuild/modules.txt. reading file, seems apply modules not included in linux itself?
the functions defined like
int function(){ do_stuff; } export_symbol(function);
then there declaration
int function();
in .h file in include folder , it's called like
#include <the_aforementioned_file.h> //stuff function();
from file in same folder definition of function. there no other occurrences of function name in whole source tree.
and don't see mistake. i'm not looking in right place, guess.
Comments
Post a Comment