On Wed, May 12, 2010 at 10:28:16PM -0400, Stephen Wille Padnos wrote:
> You can't use the normal math libraries in kernel modules.  There was a 
> commit a couple of days ago that was meant to silence some compiler 
> warnings, and it mentioned the "ceil" function.  The check-in was on the 
> 2.4 branch, so you may want to try checking out that branch and recompiling.

No, I don't believe that will make any difference in this case.

The kernel build system (kbuild) checks at compile time whether all the
symbols used by modules are present either in the kernel or some other
module and warns if they aren't all known symbols.

emc depends on symbols provided by the kernel as well as symbols
provided by rtai.  However, kbuild is unaware which symbols are in fact
provided by rtai.  In principle this is taken care of by
KBUILD_EXTRA_SYMBOLS but for some reason this just doesn't seem to work.
Instead, we use a gross script which just filters the messages out of
the output of make.  That is the change you saw recently.
Unfortunately, it has hidden a legitimate warning in the Mariano's case.

Jeff

------------------------------------------------------------------------------

_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to