Compile external module against linux source and use functionality in linux source
Paul Bolle
pebolle at tiscali.nl
Thu Sep 25 02:48:37 EDT 2014
[Manually corrected top-posting.]
On Thu, 2014-09-25 at 12:11 +0530, Arjun Pandey wrote:
> On Thu, Sep 25, 2014 at 12:06 PM, Paul Bolle <pebolle at tiscali.nl> wrote:
> > 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)?
> >
> 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.
So, does the linker error disappear when you build your kernel with your
new module built-in (ie, the new module is part of the kernel image)?
> In my case i am trying to use the function directly in udp_rcv
> function of net/ipv4/udp.c
Paul Bolle
More information about the Kernelnewbies
mailing list