---
hi every one,
i tried to run RadioCounttoLed program in tinyos 2.1 with MiniSec enabled,
(security protocol) but i am ending up in these errors can any one help me
out..
i am getting syntax errors ... but the syntax in the program is correct .
please help me out!!
r...@wsn3:/opt/tinyos-2.1.0/apps/RadioCountToLeds# make iris
mkdir -p build/iris
use minisec
#mv /opt/tinyos-2.1.0/tos/system /opt/tinyos-2.1.0/tos/system-plain
#cp -Rf /opt/tinyos-2.1.0/tos/system
/opt/tinyos-2.1.0/tos/system/updateKey
Searchstring: key\[\]
is replaced by: key[]={0x05,0x15,0x25,0x35,0x45,0x55,0x65,0x75,0x85,0x95}
Changing /opt/tinyos-2.1.0/tos/system/AMQueueImplp.nc
Can't open1 /opt/tinyos-2.1.0/tos/system/AMQueueImplp.nc
Searchstring: key\[\]
is replaced by: key[]={0x05,0x15,0x25,0x35,0x45,0x55,0x65,0x75,0x85,0x95}
Changing /opt/tinyos-2.1.0/tos/system/AMRecevier.nc
Can't open1 /opt/tinyos-2.1.0/tos/system/AMRecevier.nc
done running updatekey
compiling RadioCountToLedsAppC to a iris binary
ncc -o build/iris/main.exe -Os -Wall -Wshadow -Wnesc-all -target=iris
-fnesc-cfile=build/iris/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 --param
max-inline-insns-single=100000 -DIDENT_APPNAME=\"RadioCountToLed\"
-DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"wsn3\"
-DIDENT_USERHASH=0x6987acfcL -DIDENT_TIMESTAMP=0x49c32cfbL
-DIDENT_UIDHASH=0x75c32140L -fnesc-dump=wiring
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
components)' -fnesc-dumpfile=build/iris/wiring-check.xml
RadioCountToLedsAppC.nc -lm
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:42:24: error: message_t.h: No
such file or directory
In file included from /opt/tinyos-2.1.0/tos/system/AMQueueP.nc:49,
from /opt/tinyos-2.1.0/tos/system/AMSenderC.nc:50,
from RadioCountToLedsAppC.nc:48:
In component `AMQueueImplP':
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc: In function `Control.init':
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:156: syntax error before `error_t'
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc: In function `Boot.booted':
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:175: syntax error before
`ecombine'
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:177: syntax error before `=='
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc: In function `AMSend.send':
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:375: syntax error before `plen'
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:377: `dat' undeclared (first use
in this function)
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:377: (Each undeclared identifier
is reported only once
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:377: for each function it appears
in.)
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:396: subscripted value is neither
array nor pointer
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:398: `data' undeclared (first use
in this function)
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:407: implicit declaration of
function `sendTask'
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:407: only tasks can be posted
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:414: invalid lvalue in assignment
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:415: syntax error before `addr'
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:417: invalid lvalue in assignment
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc: At top level:
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:66: `ActivityTimer.fired' not
implemented
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:66: `activity' not implemented
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:66: `RadioControl.startDone' not
implemented
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:66: `RadioControl.stopDone' not
implemented
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:66: `UARTControl.startDone' not
implemented
/opt/tinyos-2.1.0/tos/system/AMQueueImplP.nc:66: `UARTControl.stopDone' not
implemented
make: *** [exe0] Error 1
r...@wsn3:/opt/tinyos-2.1.0/apps/RadioCountToLeds#
Add more friends to your messenger and enjoy! Invite them now.
Check out the all-new Messenger 9.0! Go to http://in.messenger.yahoo.com/_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help