From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: han <hshouqian@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] unknown symbol __fixunsdfdi
Date: Mon, 05 Oct 2009 11:09:32 +0200 [thread overview]
Message-ID: <4AC9B7CC.6020503@domain.hid> (raw)
In-Reply-To: <11140985.42301254710355962.JavaMail.coremail@domain.hid>
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
next prev parent reply other threads:[~2009-10-05 9:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-05 2:39 [Xenomai-help] unknown symbol __fixunsdfdi han
2009-10-05 9:09 ` Gilles Chanteperdrix [this message]
[not found] ` <2259155.256821254816690185.JavaMail.coremail@domain.hid>
2009-10-06 8:55 ` Gilles Chanteperdrix
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=4AC9B7CC.6020503@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=hshouqian@domain.hid \
--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.