Hello,
I was trying to implemnt the TPSN on mica2 motes but I am repeatedly getting
the same error as given below:
$ make mica2
mkdir -p build/mica2
compiling TestTPSN to a mica2 binary
ncc -o build/mica2/main.exe -Os -finline-limit=100000 -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c
-board=micasb -DIDENT_PROGRAM_NAME="TestTPSN"
-DIDENT_PROGRAM_NAME_BYTES="84,101,115,116,84,80,83,78,
0" -DIDENT_USER_ID="Dheeraj"
-DIDENT_USER_ID_BYTES="68,104,101,101,114,97,106,0" -DIDENT_HOSTNAME="nanni"
-DIDENT_HOSTNAME_BYTES="110,97,110,110,105,0" -DIDENT_USER_HASH=0xd71005fcL
-DIDENT_UNIX_TIME=0x46d494cdL TestTPSN.nc -lm
CC1000RadioIntM.nc: In function `StdControl.init':
CC1000RadioIntM.nc:216: `CC1K_LPL_SquelchInit' undeclared (first use in this
function)
CC1000RadioIntM.nc:216: (Each undeclared identifier is reported only once
CC1000RadioIntM.nc:216: for each function it appears in.)
CC1000RadioIntM.nc:216: subscripted value is neither array nor pointer
CC1000RadioIntM.nc: In function `SpiByteFifo.dataReady':
CC1000RadioIntM.nc:517: too few arguments to function
`RadioSendCoordinator.startSymbol'
CC1000RadioIntM.nc:566: `CC1K_LPL_ValidPrecursor' undeclared (first use in this
function)
CC1000RadioIntM.nc:566: subscripted value is neither array nor pointer
CC1000RadioIntM.nc:601: `CC1K_LPL_SquelchInit' undeclared (first use in this
function)
CC1000RadioIntM.nc:601: subscripted value is neither array nor pointer
CC1000RadioIntM.nc:669: too few arguments to function
`RadioReceiveCoordinator.startSymbol'
CC1000RadioIntM.nc: At top level:
CC1000RadioIntM.nc:807: conflicting types for `RadioSendCoordinator.startSymbol'
C:/cygwin/cygwin/opt/tinyos-1.x/tos/interfaces/RadioCoordinator.nc:31: previous
declaration of `RadioSendCoordinator.startSymbol'
CC1000RadioIntM.nc:809: conflicting types for
`RadioReceiveCoordinator.startSymbol'
C:/cygwin/cygwin/opt/tinyos-1.x/tos/interfaces/RadioCoordinator.nc:31: previous
declaration of `RadioReceiveCoordinator.startSymbol'
make: *** [exe0] Error 1
Does any one has code for TPSN which can be implemented on mica2 motes. Can any
any body tell me is there anything I have to do go remove these errors.I have
downloaded the code from
http://www.ee.ucla.edu/~saurabh/time_synchronization/software.html.
Thanks
Dheeraj Reddy Bheemidi
Electrical and Computer Engineering,
Cleveland State University,
216-501-1762
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545433_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help