Re: Compiling the ieee80211 Source Codes
Zhu Yi <[email protected]>
| Newsgroups | gmane.linux.drivers.ipw2100.devel |
|---|---|
| Organization | Intel Corp. |
| Message-ID | <[email protected]> |
On Wed, 2006-11-22 at 11:33 +0000, Siva Sivavakeesar wrote: > After having added some mathematical operations involving simple > division, subtraction and multiplication on float variables in > ieee802_rx.c, when I try to compile the ieee80211 source, I am getting > the follwing compilation warning and as a result it is very difficult > to install the ieee80211.ko module. > > ***Warning: " _addsf3" .[../ieee80211.ko] undefined! > ***Warning: " _mulsf3" .[../ieee80211.ko] undefined! > ***Warning: " _truncdfsf2" .[../ieee80211.ko] undefined! > ***Warning: " _floatsisf" .[../ieee80211.ko] undefined! > ***Warning: " _gtsf2" .[../ieee80211.ko] undefined! > ***Warning: " _adddf3" .[../ieee80211.ko] undefined! > ***Warning: " _extendsfdf2" .[../ieee80211.ko] undefined! > ***Warning: " _floatsidf" .[../ieee80211.ko] undefined! > ***Warning: " _divsf3" .[../ieee80211.ko] undefined! If you want to use floating point in kernel, you need to use it as below: kernel_fpu_begin(); ... kernel_fpu_end(); BTW, it's not recommended to use floating point in kernel unless you have to. Because it will impact the performance of the system. Thanks, -yi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV