All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] [BUG] [xenomai-head] xeno_posix.ko cannot be built
Date: Mon, 22 Jun 2009 14:47:19 +0200	[thread overview]
Message-ID: <4A3F7D57.2060704@domain.hid> (raw)
In-Reply-To: <1245674235.4121.1.camel@domain.hid>

Philippe Gerum wrote:
> On Mon, 2009-06-22 at 14:06 +0200, Gilles Chanteperdrix wrote:
>> Sebastian Smolorz wrote:
>>> Hi Philippe,
>>>
>>> with latest head it is not possible to build the POSIX skin as module. It 
>>> gives:
>>>
>>> ERROR: "xnarch_divrem_billion" [kernel/xenomai/skins/posix/xeno_posix.ko] 
>>> undefined!
>>>
>>> Obviously an
>>>
>>> EXPORT_SYMBOL(xnarch_divrem_billion);
>>>
>>> is missing.
>> Well, no. The definition of xnarh_divrem_billion is in the timeconv.h
>> header, which should be included in places where this function is
>> needed.
> 
> Actually, this is no inline stuff anymore, so we do need an export just
> like tsc_to_ns and converse op.

Well, I still see its definition in timeconv.h, the only way I see to
get an undefined symbol would be to use the function without including
timeconv.h.

And indeed, ksrc/skins/posix/internal.h, which uses
xnarch_divrem_billion does not include timeconv.h

-- 
                                          Gilles



  reply	other threads:[~2009-06-22 12:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-22 10:45 [Xenomai-core] [BUG] [xenomai-head] xeno_posix.ko cannot be built Sebastian Smolorz
2009-06-22 12:06 ` Gilles Chanteperdrix
2009-06-22 12:35   ` Sebastian Smolorz
2009-06-22 12:37   ` Philippe Gerum
2009-06-22 12:47     ` Gilles Chanteperdrix [this message]
2009-06-22 13:01       ` Philippe Gerum
2009-06-22 13:23         ` Gilles Chanteperdrix
2009-06-22 13:42           ` Philippe Gerum
2009-06-22 12:35 ` Philippe Gerum

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=4A3F7D57.2060704@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=rpm@xenomai.org \
    --cc=xenomai@xenomai.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.