Compile external module against linux source and use functionality in linux source

Paul Bolle pebolle at tiscali.nl
Thu Sep 25 02:36:48 EDT 2014


On Thu, 2014-09-25 at 10:49 +0530, Arjun Pandey wrote:
> However now when i try to compile the kernel i get linker error of
> undefined reference to the function exported from the kernel module.

I'm guessing you're compiling that module as, well, a module (ie,
CONFIG_EXAMPLE=m). What happens when you make it built-in
(CONFIG_EXAMPLE=y)?


Paul Bolle




More information about the Kernelnewbies mailing list