[Click] ]use of log() funtcion in click?
Atanu Ghosh
atanu at icsi.berkeley.edu
Wed Nov 24 05:06:17 EST 2004
No maths library in the Kernel - perhaps?
Atanu.
>>>>> "Philippe" == Philippe De Neve <Philippe.deneve at intec.ugent.be> writes:
Philippe> Hi all, I have a question concerning the use of
Philippe> mathematical functions inside click elements. Concider
Philippe> next function:
Philippe> void GausJitter::JitterCalculate(uint32_t& _gap)
Philippe> {
Philippe> float w;
Philippe> w= sqrt ((-2.0 * log(w))/w);
Philippe> }
Philippe> When I compile this no errors are returned. But if I want
Philippe> to insmod the package it returns with "unresolved symbol
Philippe> log".
Philippe> Now when I remove the log function the compiling and
Philippe> insmod works just fine. It doesnt have any problem with
Philippe> the sqrt function!
Philippe> These headers are included:
Philippe> #include <click/config.h>
Philippe> #include <math.h>
Philippe> #include <click/confparse.hh>
Philippe> What am I missing here?
Philippe> Tnx for all help!
Philippe> Philippe.
Philippe> _______________________________________________ click
Philippe> mailing list click at amsterdam.lcs.mit.edu
Philippe> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list