You must link in the math library (-lm) -- also support may be platform dependent and/or emulated.
On Tue, Jul 1, 2008 at 7:02 AM, John Paul <[EMAIL PROTECTED]> wrote: > Hi, > I am working on telosb motes. I am using the pow and sqrt functions of > math.h library. I include the math.h header file in the source code. When i > typed the command "make telosb", it gave me the following errors. > app.c:(.text+0x4486): undefined reference to `pow' > app.c:(.text+0x44a8): undefined reference to `pow' > app.c:(.text+0x44b8): undefined reference to `sqrt' > > > While if i compiled of micaz it didn't show any error. > > Could someone help in this regard. Help appreciated. > > > Regards, > john Paul > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
