Philippe Gerum wrote:
> On Mon, 2009-06-22 at 14:47 +0200, Gilles Chanteperdrix wrote:
>> 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
>>
> 
> timeconv.h is not for direct inclusion, this is merely an instantiation
> file that works both for kernel space and userland. Callers should
> include asm/xenomai/system.h instead.

posix skin is also borken in user-space then, since it includes timeconv.h.

-- 
                                          Gilles


_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to