From mboxrd@z Thu Jan 1 00:00:00 1970 From: pebolle@tiscali.nl (Paul Bolle) Date: Thu, 25 Sep 2014 08:36:48 +0200 Subject: Compile external module against linux source and use functionality in linux source In-Reply-To: References: Message-ID: <1411627008.6613.4.camel@x220> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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