Kartik,

In your local makefile add something similar to this:
CFLAGS+=-lm

CFLAGS is a variable that make stores and passes to ncc when it compiles.

That should do it for you.

Cheers,
-Paul

Kartik Siddhabathula wrote:
> Hi All,
>
> I need help with the maths library.
>
> In the tutorial, it says to pass -lm option to ncc.
>
> How am I supposed to do that?
>
> make telosb -lm doesn't work nor the various combinations.
>
> Please help,
>
> Kartik
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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