From: pebolle@tiscali.nl (Paul Bolle)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Compile external module against linux source and use functionality in linux source
Date: Thu, 25 Sep 2014 08:48:37 +0200 [thread overview]
Message-ID: <1411627717.6613.8.camel@x220> (raw)
In-Reply-To: <CAKpWUYkOA5_Xc7JWC17ON_stfVr3CzTBgLCdwP-2LS79OhErNg@mail.gmail.com>
[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@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
next prev parent reply other threads:[~2014-09-25 6:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-25 5:19 Compile external module against linux source and use functionality in linux source Arjun Pandey
2014-09-25 6:36 ` Paul Bolle
2014-09-25 6:41 ` Arjun Pandey
2014-09-25 6:48 ` Paul Bolle [this message]
[not found] ` <CAKpWUYnUyd4mErC2wRBGqhHXg35PHWeGf2dnNJk=LTsbDx=n7A@mail.gmail.com>
[not found] ` <1411628331.6613.11.camel@x220>
2014-09-25 7:00 ` Arjun Pandey
2014-09-25 7:29 ` Paul Bolle
2014-09-25 7:32 ` Arjun Pandey
2014-09-25 12:27 ` Valdis.Kletnieks at vt.edu
2014-09-26 6:24 ` Arjun Pandey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1411627717.6613.8.camel@x220 \
--to=pebolle@tiscali.nl \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.