linux-mips
[Top] [All Lists]

Re: unresolved symbol litodp,dptoli,dpmul - floating point operations in

To: durai <durai@isofttech.com>
Subject: Re: unresolved symbol litodp,dptoli,dpmul - floating point operations in kernel
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Fri, 10 Oct 2003 16:28:27 +0200 (MEST)
Cc: mips <linux-mips@linux-mips.org>
In-reply-to: <02d001c38f36$ba4a8e00$6b00a8c0@DURAI>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
On Fri, 10 Oct 2003, durai wrote:
> I am using a mips cross compiler (mips-linux-gcc, version 2.95.3) to build my 
> driver
> I am using some floating point operations in a wireless lan driver for a mips 
> platform in ucLinux, When i load the driver I am getting unresolved symbols
> 
> > 
> > insmod: unresolved symbol dptoli
> > insmod: unresolved symbol dpmul
> > insmod: unresolved symbol litodp
> 
> And somebody told me that we cannot use floating point operations in kernel 
> code, but i desperately need to use floating point operations. 
> please tell me how to use floating point operations in kernel code.

Do not use floating point operations in kernel code.
Re-implement using fixed point or something like that.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds


<Prev in Thread] Current Thread [Next in Thread>