* [Xenomai-help] unknown symbol __fixunsdfdi
@ 2009-10-05 2:39 han
2009-10-05 9:09 ` Gilles Chanteperdrix
[not found] ` <2259155.256821254816690185.JavaMail.coremail@domain.hid>
0 siblings, 2 replies; 3+ messages in thread
From: han @ 2009-10-05 2:39 UTC (permalink / raw)
To: xenomai-help
[-- Attachment #1: Type: text/plain, Size: 802 bytes --]
Hello everyone!I'm Porting a rtai/linux application to xenomai/linux. Now I come across a problem:when I compile the kernel module of my program,I find a WARNING,
WARNING:“__fixunsdfdi”[freqmod.ko] undefined!
after compiling,I insmod the module xeno_native.ko,then insmod my kernel module freqmod.ko,then I come across an error:
insmod:error inserting 'freqmod.ko':-1 Unknown symbol in module
dmesg,it tells me:
unknown symbol __fixunsdfdi。
Before being portted to xenomai/linux (linux-2.6.24,xenomai-2.4.3,gcc-4.1.1),it run ok in rtai/linux (linux-2.6.24,rtai-3.7,gcc-4.1.1),and I only transport the RTAI API to Xeno's native API. So what's wrong? I'm looking forward to your answers!
Thank you very much !
[-- Attachment #2: Type: text/html, Size: 1767 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] unknown symbol __fixunsdfdi
2009-10-05 2:39 [Xenomai-help] unknown symbol __fixunsdfdi han
@ 2009-10-05 9:09 ` Gilles Chanteperdrix
[not found] ` <2259155.256821254816690185.JavaMail.coremail@domain.hid>
1 sibling, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2009-10-05 9:09 UTC (permalink / raw)
To: han; +Cc: xenomai-help
han wrote:
> Hello everyone!
> I'm Porting a rtai/linux application to xenomai/linux. Now I come across a problem:
> when I compile the kernel module of my program,I find a WARNING,
> WARNING:“__fixunsdfdi”[freqmod.ko] undefined!
> after compiling,I insmod the module xeno_native.ko,
> then insmod my kernel module freqmod.ko,then I come across an error:
> insmod:error inserting 'freqmod.ko':-1 Unknown symbol in module
> dmesg,it tells me:
> unknown symbol __fixunsdfdi。
>
> Before being portted to xenomai/linux (linux-2.6.24,xenomai-2.4.3,gcc-4.1.1),
> it run ok in rtai/linux (linux-2.6.24,rtai-3.7,gcc-4.1.1),
> and I only transport the RTAI API to Xeno's native API. So what's wrong? I'm looking forward to your answers!
> Thank you very much !
You are using FPU in kernel-space. It is bad. If you really want to do
that, you should import that function from the static libgcc.
--
Gilles
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] unknown symbol __fixunsdfdi
[not found] ` <2259155.256821254816690185.JavaMail.coremail@domain.hid>
@ 2009-10-06 8:55 ` Gilles Chanteperdrix
0 siblings, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2009-10-06 8:55 UTC (permalink / raw)
To: han, Xenomai help
han wrote:
>
> 在2009-10-05,"Gilles Chanteperdrix" <gilles.chanteperdrix@xenomai.org>
> 写道:
>>han wrote:
>>> Hello everyone!
>>> I'm Porting a rtai/linux application to xenomai/linux. Now I come across a problem:
>>> when I compile the kernel module of my program,I find a WARNING,
>>> WARNING:“__fixunsdfdi”[freqmod.ko] undefined!
>>> after compiling,I insmod the module xeno_native.ko,
>>> then insmod my kernel module freqmod.ko,then I come across an error:
>>> insmod:error inserting 'freqmod.ko':-1 Unknown symbol in module
>>> dmesg,it tells me:
>>> unknown symbol __fixunsdfdi。
>>>
>>> Before being portted to xenomai/linux (linux-2.6.24,xenomai-2.4.3,gcc
> -4.1.1),
>>> it run ok in rtai/linux (linux-2.6.24,rtai-3.7,gcc-4.1.1),
>>> and I only transport the RTAI API to Xeno's native API. So what's wrong? I'm looking forward to your answers!
>>> Thank you very much !
>>
>>You are using FPU in kernel-space. It is bad. If you really want to do
>>that, you should import that function from the static libgcc.
>>
>>--
>> Gilles
>>
> Thank you very much for your reply!
> Yes, I'm using some math functions in my kernel module, because my program was based on rtai/linux before. I have tried to port rtai_math.ko to xenomai/linux,
> and I have tested the math.ko from rtai in xenomai/linux,
> it can work well. That is to say : when I compile a test kernel module, there is no WARNING and error;
> but when I compile my program, the WARNING and error arise. Why? Do I need import those functions from the static libgcc? and the math.ko module from rtai can't be used in xenomai/linux?
> Thank you for your concern!
Listen, either you know what you are doing and you should not need my
help. Or you do not know, and in that case you should listen to what we
tell you: stop using FPU in kernel-space.
Please stop sending me private mails.
--
Gilles
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-10-06 8:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-05 2:39 [Xenomai-help] unknown symbol __fixunsdfdi han
2009-10-05 9:09 ` Gilles Chanteperdrix
[not found] ` <2259155.256821254816690185.JavaMail.coremail@domain.hid>
2009-10-06 8:55 ` Gilles Chanteperdrix
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.