From: Kronos <kronos@kronoz.cjb.net>
To: linux-kernel@vger.kernel.org
Cc: Rahul Jain <rbj2@oak.njit.edu>
Subject: Re: How to add source files in kernel
Date: Fri, 4 Feb 2005 21:26:28 +0100 [thread overview]
Message-ID: <20050204202628.GA14973@dreamland.darkstar.lan> (raw)
In-Reply-To: <Pine.GSO.4.58.0502041408540.12006@chrome.njit.edu>
Rahul Jain <rbj2@oak.njit.edu> ha scritto:
> The kernel recompilation went without any problems. I wrote loadable
> module programs that can access the functions defined in .c. When I try to
> install these modules, they came back with the following error
>
> /sbin/insmod x.o
> x.o: unresolved symbol enqueue_sfi
> x.o: unresolved symbol init_skbuff_list
> x.o: unresolved symbol get_head_sfi
> x.o: unresolved symbol search_sfi
> x.o: unresolved symbol enqueue_skbuff_list
> x.o: unresolved symbol init_head_sfi
> x.o:
> Hint: You are trying to load a module without a GPL compatible license
> and it has unresolved symbols. Contact the module supplier for
> assistance, only they can help you.
>
> make: *** [install] Error 1
You forgot the EXPORT for those symbols, add:
EXPORT_SYMBOL(symbol_name);
to .c file. Or you may have exported the symbols as GPL only
(EXPORT_SYMBOL_GPL) and the module which is not licensed under GPL
cannot see them.
Luca
--
Home: http://kronoz.cjb.net
La somma dell'intelligenza sulla terra e` una costante.
La popolazione e` in aumento.
next prev parent reply other threads:[~2005-02-04 20:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-04 19:17 Rahul Jain
2005-02-04 20:22 ` linux-os
2005-02-04 20:26 ` Kronos [this message]
2005-02-07 17:53 ` Rahul Jain
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=20050204202628.GA14973@dreamland.darkstar.lan \
--to=kronos@kronoz.cjb.net \
--cc=linux-kernel@vger.kernel.org \
--cc=rbj2@oak.njit.edu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®