Title: Message
Sorry I don' t know but somebody on this mailing list could answer your question

Le, Tony T. wrote:
The warning I'm used to, but the math errors is what I'm trying to get at. I guess a better question should be whether telos B supports math functions or not. Which I assume does because its predecessors do, but of course I could be wrong. So could someone please confirm whether or not telosb supports math.h or not?  
 
 -----Original Message-----
From: Andrea Pacini [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 23, 2005 10:46 AM
To: Le, Tony T.
Cc: [email protected]
Subject: Re: [Tinyos-help] Math.h on Telos

The warning:

" C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/lib/CC2420Radio/CC2420RadioM.nc:115: w
arning: `Send.sendDone' called asynchronously from `sendFailed'  "

is a known warning and it should not cause you any problem.
For other errors check if Math functions are supported on Telos B (maybe not ...)

Le, Tony T. wrote:

I am using a tmote sky, telosb platform mote and I am trying to use math functions in the nesC code. The problem though that I compile without errors in any other form other then telosb. But when I "make telosb", I get the following errors. Did I not do something right? How do I fix this problem? Any responses would be greatly appreciated. Thanks.

$ make telosb
mkdir -p build/telosb
    compiling MathRadioC to a telosb binary
ncc -o build/telosb/main.exe -Os -mdisable-hwmul -I/opt/tinyos-1.x/tos/lib/CC242
0Radio -I/opt/tinyos-1.x/tos/../beta/STM25P -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x
7C -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= -DIDENT_PRO
GRAM_NAME="MathRadioC" -DIDENT_PROGRAM_NAME_BYTES="77,97,116,104,82,97,100,105,1
11,67,0" -DIDENT_USER_ID="lett1" -DIDENT_USER_ID_BYTES="108,101,116,116,49,0" -D
IDENT_HOSTNAME="LETT1-WD1" -DIDENT_HOSTNAME_BYTES="76,69,84,84,49,45,87,68,49,0"
 -DIDENT_USER_HASH=0xd97d18c0L -DIDENT_UNIX_TIME=0x438485e3L MathRadioC.nc -lm
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/lib/CC2420Radio/CC2420RadioM.nc:115: w
arning: `Send.sendDone' called asynchronously from `sendFailed'
/cygdrive/c/DOCUME~1/lett1/LOCALS~1/Temp/ccYmLfuX.o(.text+0x2524): In function `MathRadioM$sendValue': app.c: undefined reference to `sqrt'

/cygdrive/c/DOCUME~1/lett1/LOCALS~1/Temp/ccYmLfuX.o(.text+0x253c):app.c: undefined reference to `log'
/cygdrive/c/DOCUME~1/lett1/LOCALS~1/Temp/ccYmLfuX.o(.text+0x2554):app.c: undefined reference to `exp'
make: *** [exe0] Error 1

Tony Le
JHU-APL


_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to