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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[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@xxxxxxxxxx> 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


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux