Hey, all


In Tossim of TinyOS2.1.1 with Python2.5,

I can compile ‘../apps/Blink’ successfully.
But when I compile ‘../apps/RadioCountToLeds’, there are some errors as
followed,

/usr/lib/ncc/nesc_nx.h: At top level:

/usr/lib/ncc/nesc_nx.h:327: syntax error before `__nesc_ntohbf_uint32'

/usr/lib/ncc/nesc_nx.h:327: syntax error before `__nesc_ntohbf_int32'

/usr/lib/ncc/nesc_nx.h:327: syntax error before `__nesc_htonbf_uint32'

/usr/lib/ncc/nesc_nx.h:327: syntax error before `__nesc_htonbf_int32'

/usr/lib/ncc/nesc_nx.h:327: syntax error before `__nesc_bfle_decode32'

/usr/lib/ncc/nesc_nx.h:327: redefinition of `byte_offset'

…………

/opt/tinyos-2.1.1/tos/interfaces/McuPowerOverride.nc:54: only commands and
events can be defined in interfaces

/opt/tinyos-2.1.1/tos/interfaces/McuPowerOverride.nc:54: syntax error
before `lowestState'

In component `McuSleepC':

/opt/tinyos-2.1.1/tos/chips/atm128/McuSleepC.nc:58: syntax error before
`atm128PowerBits'

/opt/tinyos-2.1.1/tos/chips/atm128/McuSleepC.nc:66: syntax error before
`getPowerState'

McuSleepC: `McuSleep.sleep' not implemented

McuSleepC: `McuPowerState.update' not implemented

In C file:

<commandline>: Scheduler `TinySchedulerC' has no scheduling interface named
`TaskBasic'

RadioCountToLeds.h:34: syntax error before `nx_uint16_t'

RadioCountToLeds.h:34: warning: no semicolon at end of struct or union

RadioCountToLeds.h:35: warning: data definition has no type or storage class

failed to parse message file RadioCountToLeds.h

make: *** [RadioCountMsg.py] Error 1


I dont know why i am getting this error,plz help


Regards

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

Reply via email to