All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: "Sébastien Frémal" <sebastien.fremal@gmail.com>
Cc: xen-devel@lists.xen.org
Subject: Re: In which library can I find these functions ?
Date: Thu, 31 Jan 2013 14:41:01 +0100	[thread overview]
Message-ID: <20130131134101.GA3726@aepfle.de> (raw)
In-Reply-To: <CAOV6k-AKbGPgx0m0yWj6ZKL0YBGn1j_nJZrMYGDnWUJ=YZ452w@mail.gmail.com>

On Tue, Jan 29, Sébastien Frémal wrote:

> The code is compiling, but when I try to launch the insert the module, I get
> error messages :
> 
> [95265.790842] shmxen: Unknown symbol gnttab_grant_foreign_access (err 0)
> [95265.790855] shmxen: Unknown symbol xen_features (err 0)
> [95265.790865] shmxen: Unknown symbol get_phys_to_machine (err 0)
>                                             
> I'm searching for libraries to link with the module so it can use these

drivers/xen/grant-table.c:EXPORT_SYMBOL_GPL(gnttab_grant_foreign_access);
drivers/xen/features.c:EXPORT_SYMBOL_GPL(xen_features);
arch/x86/xen/p2m.c:EXPORT_SYMBOL_GPL(get_phys_to_machine);

The posted code is not marked as GPL, so the module linking code will
not consider the required functions.

Olaf

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  parent reply	other threads:[~2013-01-31 13:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-29 15:59 In which library can I find these functions ? Sébastien Frémal
2013-01-30 21:30 ` Konrad Rzeszutek Wilk
2013-01-31 12:53   ` Sébastien Frémal
2013-01-31 13:41 ` Olaf Hering [this message]
2013-01-31 14:13   ` Sébastien Frémal

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=20130131134101.GA3726@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=sebastien.fremal@gmail.com \
    --cc=xen-devel@lists.xen.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.