No i am just compiling the external module and using this functionality in existing linux source code. I am not adding any additional modules within the tree which use this function.
In my case i am trying to use the function directly in udp_rcv function of net/ipv4/udp.c Regards Arjun On Thu, Sep 25, 2014 at 12:06 PM, Paul Bolle <[email protected]> wrote: > 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 > _______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
