[Click] kernel mode - 2.6.24.7

Mythili msmythili at gmail.com
Mon Mar 15 14:24:52 EDT 2010


But how is it that any other file with floating point arithmetic works fine
and can be loaded as a kernel module? I am not sure if I get what you are
saying.

Mythili


On 15 March 2010 11:23, adam.greenhalgh at googlemail.com <
a.greenhalgh at cs.ucl.ac.uk> wrote:

> I didn't think the kernel supported floating point arithmetic. I could be
> wrong , but its difficult to look things up from a commuter train.
>
> Adam
>
> -original message-
> Subject: [Click] kernel mode - 2.6.24.7
> From: "Mythili" <msmythili at gmail.com>
> Date: 15/03/2010 6:15 pm
>
> Hi
>    I am running click on linux 2.6.24.7 (source from kernel.org). The
> kernel has been patched successfully with the latest version of click. I am
> able to run click in the kernel mode. I need to run some floating point
> arithmetic in a new element. I see multiple errors when I run make install.
> And of course insmod fails as there are undefined symbols in the .ko files
> created by the make install command.
>
> WARNING: "__mulsf3" [/home/live/Desktop/click-1.8.0/linuxmodule/click.ko]
> undefined!
> WARNING: "__floatsisf"
> [/home/live/Desktop/click-1.8.0/linuxmodule/click.ko]
> undefined!
> WARNING: "__subsf3" [/home/live/Desktop/click-1.8.0/linuxmodule/click.ko]
> undefined!
> WARNING: "__divsf3" [/home/live/Desktop/click-1.8.0/linuxmodule/click.ko]
> undefined!
>
> I am able to run click in the usermode. I also tried using the same
> arithmetic in a c file and loading it as a kernel module. There are no
> errors.
>
> So my guess is that click needs to be configured with some specific
> flags/options to fix this. I currently tried with no flags as
> /usr/src/linux
> points to the correct source directory. ( I am a little unsure about how
> grid elements don't cause this error as floating point numbers are used
> there). I would really appreciate any help on this.
>
> Regards
> Mythili
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
>


More information about the click mailing list