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