Make sure that when you compile for "make telosb", the "-lm" compiler
switch is used. It tells the compiler to link against math library.

On Tue, Jul 1, 2008 at 6:53 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+0x328a): undefined reference to `pow'
> app.c:(.text+0x32ac): undefined reference to `pow'
>
> 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

Reply via email to