I'm trying tu use Tinyos in Ubuntu 10.10,when I try to compile Blink for micaz it goes ok. But when I try to compile for telosb I get the following error:
/opt/tinyos-2.1.0/tos/system/ RealMainP.nc: In function `main': /opt/tinyos-2.1.0/tos/system/RealMainP.nc:68: interface has no command or event named `init' /opt/tinyos-2.1.0/tos/system/RealMainP.nc:69: interface has no command or event named `runNextTask' /opt/tinyos-2.1.0/tos/system/RealMainP.nc:75: interface has no command or event named `init' /opt/tinyos-2.1.0/tos/system/RealMainP.nc:76: interface has no command or event named `runNextTask' /opt/tinyos-2.1.0/tos/system/RealMainP.nc: At top level: /opt/tinyos-2.1.0/tos/system/RealMainP.nc:93: syntax error before `PlatformInit' In file included from BlinkC.nc:41, from BlinkAppC.nc:45: In interface `Timer': /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:53: syntax error before `dt' /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:62: syntax error before `dt' /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:81: only commands and events can be defined in interfaces /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:81: warning: return-type defaults to `int' /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:81: syntax error before `isRunning' /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:87: only commands and events can be defined in interfaces /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:87: warning: return-type defaults to `int' /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:87: redefinition of `bool' /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:87: syntax error before `isOneShot' /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:103: syntax error before `t0' /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:118: syntax error before `t0' /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:125: only commands and events can be defined in interfaces /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:125: warning: return-type defaults to `int' /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:125: syntax error before `getNow' /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:133: only commands and events can be defined in interfaces /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:133: warning: return-type defaults to `int' /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:133: redefinition of `uint32_t' /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:133: syntax error before `gett0' /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:140: only commands and events can be defined in interfaces /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:140: warning: return-type defaults to `int' /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:140: redefinition of `uint32_t' /opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:140: syntax error before `getdt' In file included from BlinkC.nc:44, from BlinkAppC.nc:45: In interface `Leds': /opt/tinyos-2.1.0/tos/interfaces/Leds.nc:106: only commands and events can be defined in interfaces /opt/tinyos-2.1.0/tos/interfaces/Leds.nc:106: warning: return-type defaults to `int' /opt/tinyos-2.1.0/tos/interfaces/Leds.nc:106: syntax error before `get' /opt/tinyos-2.1.0/tos/interfaces/Leds.nc:123: warning: declaration of `uint8_t' shadows global declaration /opt/tinyos-2.1.0/tos/interfaces/Leds.nc:106: warning: location of shadowed declaration /opt/tinyos-2.1.0/tos/interfaces/Leds.nc:123: syntax error before `val' In file included from /opt/tinyos-2.1.0/tos/system/LedsP.nc:39, from /opt/tinyos-2.1.0/tos/system/LedsC.nc:38, from BlinkAppC.nc:45: In interface `GeneralIO': /opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:32: only commands and events can be defined in interfaces /opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:32: warning: return-type defaults to `int' /opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:32: syntax error before `get' /opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:34: only commands and events can be defined in interfaces /opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:34: warning: return-type defaults to `int' /opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:34: redefinition of `bool' /opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:34: syntax error before `isInput' /opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:36: only commands and events can be defined in interfaces /opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:36: warning: return-type defaults to `int' /opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:36: redefinition of `bool' /opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:36: syntax error before `isOutput' In component `LedsP': /opt/tinyos-2.1.0/tos/system/LedsP.nc:45: syntax error before `Init' LedsP: `Init.error_t' not implemented LedsP: `Leds.led0Off' not implemented LedsP: `Leds.led0Toggle' not implemented LedsP: `Leds.led1On' not implemented LedsP: `Leds.led1Toggle' not implemented LedsP: `Leds.led2Toggle' not implemented LedsP: `Leds.led2Off' not implemented LedsP: `Leds.led1Off' not implemented LedsP: `Leds.uint8_t' not implemented LedsP: `Leds.set' not implemented LedsP: `Leds.led0On' not implemented LedsP: `Leds.led2On' not implemented In file included from /opt/tinyos-2.1.0/tos/platforms/telosa/PlatformLedsC.nc:38, from /opt/tinyos-2.1.0/tos/system/LedsC.nc:38, from BlinkAppC.nc:45: In component `HplMsp430GeneralIOC': /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:227: syntax error before `;' In file included from /opt/tinyos-2.1.0/tos/chips/msp430/pins/Msp430GpioC.nc:33, from /opt/tinyos-2.1.0/tos/platforms/telosa/PlatformLedsC.nc:39, from /opt/tinyos-2.1.0/tos/system/LedsC.nc:38, from BlinkAppC.nc:45: In interface `HplMsp430GeneralIO': /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:52: only commands and events can be defined in interfaces /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:52: warning: return-type defaults to `int' /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:52: syntax error before `getRaw' /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:59: only commands and events can be defined in interfaces /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:59: warning: return-type defaults to `int' /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:59: syntax error before `get' /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:66: only commands and events can be defined in interfaces /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:66: warning: return-type defaults to `int' /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:66: redefinition of `bool' /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:66: syntax error before `isInput' /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:73: only commands and events can be defined in interfaces /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:73: warning: return-type defaults to `int' /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:73: redefinition of `bool' /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:73: syntax error before `isOutput' /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:80: only commands and events can be defined in interfaces /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:80: warning: return-type defaults to `int' /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:80: redefinition of `bool' /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:80: syntax error before `isModuleFunc' /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:87: only commands and events can be defined in interfaces /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:87: warning: return-type defaults to `int' /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:87: redefinition of `bool' /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIO.nc:87: syntax error before `isIOFunc' In component `Msp430GpioC': /opt/tinyos-2.1.0/tos/chips/msp430/pins/Msp430GpioC.nc:40: syntax error before `GeneralIO' Msp430GpioC: `GeneralIO.makeInput' not implemented Msp430GpioC: `GeneralIO.bool' not implemented Msp430GpioC: `GeneralIO.makeOutput' not implemented Msp430GpioC: `GeneralIO.bool' not implemented Msp430GpioC: `GeneralIO.bool' not implemented In component `PlatformLedsC': /opt/tinyos-2.1.0/tos/platforms/telosa/PlatformLedsC.nc:47: no match /opt/tinyos-2.1.0/tos/platforms/telosa/PlatformLedsC.nc:48: cannot find `Port54' /opt/tinyos-2.1.0/tos/platforms/telosa/PlatformLedsC.nc:50: no match /opt/tinyos-2.1.0/tos/platforms/telosa/PlatformLedsC.nc:51: cannot find `Port55' /opt/tinyos-2.1.0/tos/platforms/telosa/PlatformLedsC.nc:53: no match /opt/tinyos-2.1.0/tos/platforms/telosa/PlatformLedsC.nc:54: cannot find `Port56' In file included from /opt/tinyos-2.1.0/tos/system/TimerMilliC.nc:40, from BlinkAppC.nc:46: In component `TimerMilliP': /opt/tinyos-2.1.0/tos/system/TimerMilliP.nc:38: syntax error before `uint8_t' In file included from /opt/tinyos-2.1.0/tos/system/TimerMilliP.nc:41, from /opt/tinyos-2.1.0/tos/system/TimerMilliC.nc:40, from BlinkAppC.nc:46: In component `HilTimerMilliC': /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:35: syntax error before `uint8_t' In file included from /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:36, from /opt/tinyos-2.1.0/tos/system/TimerMilliP.nc:41, from /opt/tinyos-2.1.0/tos/system/TimerMilliC.nc:40, from BlinkAppC.nc:46: In interface `LocalTime': /opt/tinyos-2.1.0/tos/lib/timer/LocalTime.nc:50: only commands and events can be defined in interfaces /opt/tinyos-2.1.0/tos/lib/timer/LocalTime.nc:50: warning: return-type defaults to `int' /opt/tinyos-2.1.0/tos/lib/timer/LocalTime.nc:50: syntax error before `get' In file included from /opt/tinyos-2.1.0/tos/chips/msp430/timer/AlarmMilli32C.nc:33, from /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:40, from /opt/tinyos-2.1.0/tos/system/TimerMilliP.nc:41, from /opt/tinyos-2.1.0/tos/system/TimerMilliC.nc:40, from BlinkAppC.nc:46: In interface `Alarm': /opt/tinyos-2.1.0/tos/lib/timer/Alarm.nc:77: only commands and events can be defined in interfaces /opt/tinyos-2.1.0/tos/lib/timer/Alarm.nc:77: warning: return-type defaults to `int' /opt/tinyos-2.1.0/tos/lib/timer/Alarm.nc:77: syntax error before `isRunning' In component `AlarmMilli32C': /opt/tinyos-2.1.0/tos/chips/msp430/timer/AlarmMilli32C.nc:33: syntax error before `uint32_t' In file included from /opt/tinyos-2.1.0/tos/chips/msp430/timer/AlarmMilli32C.nc:37, from /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:40, from /opt/tinyos-2.1.0/tos/system/TimerMilliP.nc:41, from /opt/tinyos-2.1.0/tos/system/TimerMilliC.nc:40, from BlinkAppC.nc:46: In component `Alarm32khz16C': /opt/tinyos-2.1.0/tos/chips/msp430/timer/Alarm32khz16C.nc:33: syntax error before `uint16_t' In file included from /opt/tinyos-2.1.0/tos/chips/msp430/timer/Msp430Timer32khzC.nc:34, from /opt/tinyos-2.1.0/tos/chips/msp430/timer/Alarm32khz16C.nc:37, from /opt/tinyos-2.1.0/tos/chips/msp430/timer/AlarmMilli32C.nc:37, from /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:40, from /opt/tinyos-2.1.0/tos/system/TimerMilliP.nc:41, from /opt/tinyos-2.1.0/tos/system/TimerMilliC.nc:40, from BlinkAppC.nc:46: In component `Msp430Timer32khzMapC': /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:39: syntax error before `uint8_t' /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:40: syntax error before `uint8_t' /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:41: syntax error before `uint8_t' /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:47: too many arguments /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:48: too many arguments /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:49: too many arguments /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:55: too many arguments /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:56: too many arguments /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:57: too many arguments /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:59: too many arguments /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:60: too many arguments /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:61: too many arguments /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:63: too many arguments /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:64: too many arguments /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:65: too many arguments /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:67: too many arguments /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:68: too many arguments /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:69: too many arguments /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:71: too many arguments /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:72: too many arguments /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:73: too many arguments In component `Msp430Timer32khzC': /opt/tinyos-2.1.0/tos/chips/msp430/timer/Msp430Timer32khzC.nc:38: too many arguments /opt/tinyos-2.1.0/tos/chips/msp430/timer/Msp430Timer32khzC.nc:39: too many arguments /opt/tinyos-2.1.0/tos/chips/msp430/timer/Msp430Timer32khzC.nc:40: too many arguments In file included from /opt/tinyos-2.1.0/tos/chips/msp430/timer/Alarm32khz16C.nc:38, from /opt/tinyos-2.1.0/tos/chips/msp430/timer/AlarmMilli32C.nc:37, from /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:40, from /opt/tinyos-2.1.0/tos/system/TimerMilliP.nc:41, from /opt/tinyos-2.1.0/tos/system/TimerMilliC.nc:40, from BlinkAppC.nc:46: In component `Msp430AlarmC': /opt/tinyos-2.1.0/tos/chips/msp430/timer/Msp430AlarmC.nc:35: syntax error before `uint16_t' /opt/tinyos-2.1.0/tos/chips/msp430/timer/Msp430AlarmC.nc:42: syntax error before `Init' Msp430AlarmC: `Msp430Compare.fired' not implemented Msp430AlarmC: `Msp430Timer.overflow' not implemented Msp430AlarmC: `Init.error_t' not implemented In component `Alarm32khz16C': /opt/tinyos-2.1.0/tos/chips/msp430/timer/Alarm32khz16C.nc:40: no match /opt/tinyos-2.1.0/tos/chips/msp430/timer/Alarm32khz16C.nc:41: cannot find `Alarm' /opt/tinyos-2.1.0/tos/chips/msp430/timer/Alarm32khz16C.nc:43: cannot find `Msp430Timer' /opt/tinyos-2.1.0/tos/chips/msp430/timer/Alarm32khz16C.nc:44: cannot find `Msp430TimerControl' /opt/tinyos-2.1.0/tos/chips/msp430/timer/Alarm32khz16C.nc:45: cannot find `Msp430Compare' In file included from /opt/tinyos-2.1.0/tos/chips/msp430/timer/CounterMilli32C.nc:32, from /opt/tinyos-2.1.0/tos/chips/msp430/timer/AlarmMilli32C.nc:38, from /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:40, from /opt/tinyos-2.1.0/tos/system/TimerMilliP.nc:41, from /opt/tinyos-2.1.0/tos/system/TimerMilliC.nc:40, from BlinkAppC.nc:46: In interface `Counter': /opt/tinyos-2.1.0/tos/lib/timer/Counter.nc:60: only commands and events can be defined in interfaces /opt/tinyos-2.1.0/tos/lib/timer/Counter.nc:60: warning: return-type defaults to `int' /opt/tinyos-2.1.0/tos/lib/timer/Counter.nc:60: syntax error before `isOverflowPending' In component `CounterMilli32C': /opt/tinyos-2.1.0/tos/chips/msp430/timer/CounterMilli32C.nc:32: syntax error before `uint32_t' In file included from /opt/tinyos-2.1.0/tos/chips/msp430/timer/CounterMilli32C.nc:36, from /opt/tinyos-2.1.0/tos/chips/msp430/timer/AlarmMilli32C.nc:38, from /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:40, from /opt/tinyos-2.1.0/tos/system/TimerMilliP.nc:41, from /opt/tinyos-2.1.0/tos/system/TimerMilliC.nc:40, from BlinkAppC.nc:46: In component `Msp430Counter32khzC': /opt/tinyos-2.1.0/tos/chips/msp430/timer/Msp430Counter32khzC.nc:32: syntax error before `uint16_t' In file included from /opt/tinyos-2.1.0/tos/chips/msp430/timer/Msp430Counter32khzC.nc:37, from /opt/tinyos-2.1.0/tos/chips/msp430/timer/CounterMilli32C.nc:36, from /opt/tinyos-2.1.0/tos/chips/msp430/timer/AlarmMilli32C.nc:38, from /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:40, from /opt/tinyos-2.1.0/tos/system/TimerMilliP.nc:41, from /opt/tinyos-2.1.0/tos/system/TimerMilliC.nc:40, from BlinkAppC.nc:46: In component `Msp430CounterC': /opt/tinyos-2.1.0/tos/chips/msp430/timer/Msp430CounterC.nc:33: syntax error before `uint16_t' /opt/tinyos-2.1.0/tos/chips/msp430/timer/Msp430CounterC.nc:38: syntax error before `Counter' Msp430CounterC: `Msp430Timer.overflow' not implemented In component `Msp430Counter32khzC': /opt/tinyos-2.1.0/tos/chips/msp430/timer/Msp430Counter32khzC.nc:39: cannot find `Msp430Counter32khz' /opt/tinyos-2.1.0/tos/chips/msp430/timer/Msp430Counter32khzC.nc:40: cannot find `Msp430Timer' In component `CounterMilli32C': /opt/tinyos-2.1.0/tos/chips/msp430/timer/CounterMilli32C.nc:37: `uint32_t' undeclared here (not in a function) /opt/tinyos-2.1.0/tos/chips/msp430/timer/CounterMilli32C.nc:37: `uint16_t' undeclared here (not in a function) /opt/tinyos-2.1.0/tos/chips/msp430/timer/CounterMilli32C.nc:37: `uint32_t' undeclared here (not in a function) In file included from /opt/tinyos-2.1.0/tos/chips/msp430/timer/CounterMilli32C.nc:37, from /opt/tinyos-2.1.0/tos/chips/msp430/timer/AlarmMilli32C.nc:38, from /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:40, from /opt/tinyos-2.1.0/tos/system/TimerMilliP.nc:41, from /opt/tinyos-2.1.0/tos/system/TimerMilliC.nc:40, from BlinkAppC.nc:46: In component `TransformCounterC': /opt/tinyos-2.1.0/tos/lib/timer/TransformCounterC.nc:48: syntax error before `uint8_t' In component `CounterMilli32C': /opt/tinyos-2.1.0/tos/chips/msp430/timer/CounterMilli32C.nc:37: too many arguments to component `Transform' /opt/tinyos-2.1.0/tos/chips/msp430/timer/CounterMilli32C.nc:39: cannot find `Counter' /opt/tinyos-2.1.0/tos/chips/msp430/timer/CounterMilli32C.nc:41: cannot find `CounterFrom' In component `AlarmMilli32C': /opt/tinyos-2.1.0/tos/chips/msp430/timer/AlarmMilli32C.nc:39: `uint32_t' undeclared here (not in a function) /opt/tinyos-2.1.0/tos/chips/msp430/timer/AlarmMilli32C.nc:39: `uint16_t' undeclared here (not in a function) In file included from /opt/tinyos-2.1.0/tos/chips/msp430/timer/AlarmMilli32C.nc:39, from /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:40, from /opt/tinyos-2.1.0/tos/system/TimerMilliP.nc:41, from /opt/tinyos-2.1.0/tos/system/TimerMilliC.nc:40, from BlinkAppC.nc:46: In component `TransformAlarmC': /opt/tinyos-2.1.0/tos/lib/timer/TransformAlarmC.nc:45: syntax error before `uint8_t' In component `AlarmMilli32C': /opt/tinyos-2.1.0/tos/chips/msp430/timer/AlarmMilli32C.nc:39: too many arguments to component `Transform' /opt/tinyos-2.1.0/tos/chips/msp430/timer/AlarmMilli32C.nc:42: cannot find `Alarm' /opt/tinyos-2.1.0/tos/chips/msp430/timer/AlarmMilli32C.nc:44: cannot find `AlarmFrom' /opt/tinyos-2.1.0/tos/chips/msp430/timer/AlarmMilli32C.nc:45: cannot find `Counter' In file included from /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:41, from /opt/tinyos-2.1.0/tos/system/TimerMilliP.nc:41, from /opt/tinyos-2.1.0/tos/system/TimerMilliC.nc:40, from BlinkAppC.nc:46: In component `AlarmToTimerC': /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:38: syntax error before `uint32_t' /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:44: syntax error before `m_dt' /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:45: syntax error before `m_oneshot' /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:47: syntax error before `t0' /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc: In function `start': /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:49: `m_dt' undeclared (first use in this function) /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:49: `dt' undeclared (first use in this function) /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:50: `m_oneshot' undeclared (first use in this function) /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:50: `oneshot' undeclared (first use in this function) /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:51: `Alarm' undeclared (first use in this function) /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:51: `t0' undeclared (first use in this function) /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc: At top level: /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:54: syntax error before `dt' /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc: In function `Timer.startPeriodic': /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:55: `Alarm' undeclared (first use in this function) /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:55: `dt' undeclared (first use in this function) /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc: At top level: /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:57: syntax error before `dt' /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc: In function `Timer.startOneShot': /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:58: `Alarm' undeclared (first use in this function) /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:58: `dt' undeclared (first use in this function) /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc: In function `Timer.stop': /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:61: `Alarm' undeclared (first use in this function) /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc: In function `fired.runTask': /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:65: `m_oneshot' undeclared (first use in this function) /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:66: `Alarm' undeclared (first use in this function) /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:66: `m_dt' undeclared (first use in this function) /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc: At top level: /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:71: unknown interface `Alarm' /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc: In function `Alarm.fired': /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:71: task interface `TaskBasic' has no command named `postTask' /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc: At top level: /opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:73: syntax error before `Timer' AlarmToTimerC: `Timer.startPeriodicAt' not implemented AlarmToTimerC: `Timer.startOneShotAt' not implemented In file included from /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:42, from /opt/tinyos-2.1.0/tos/system/TimerMilliP.nc:41, from /opt/tinyos-2.1.0/tos/system/TimerMilliC.nc:40, from BlinkAppC.nc:46: In component `VirtualizeTimerC': /opt/tinyos-2.1.0/tos/lib/timer/VirtualizeTimerC.nc:37: syntax error before `uint8_t' /opt/tinyos-2.1.0/tos/lib/timer/VirtualizeTimerC.nc:50: syntax error before `uint32_t' /opt/tinyos-2.1.0/tos/lib/timer/VirtualizeTimerC.nc:50: warning: no semicolon at end of struct or union /opt/tinyos-2.1.0/tos/lib/timer/VirtualizeTimerC.nc:51: syntax error before `dt' /opt/tinyos-2.1.0/tos/lib/timer/VirtualizeTimerC.nc:52: syntax error before `isoneshot' /opt/tinyos-2.1.0/tos/lib/timer/VirtualizeTimerC.nc:53: syntax error before `isrunning' /opt/tinyos-2.1.0/tos/lib/timer/VirtualizeTimerC.nc:54: syntax error before `_reserved' VirtualizeTimerC: `TimerFrom.fired' not implemented VirtualizeTimerC: `Timer.startPeriodicAt' not implemented VirtualizeTimerC: `Timer.startOneShotAt' not implemented VirtualizeTimerC: `Timer.startPeriodic' not implemented VirtualizeTimerC: `Timer.startOneShot' not implemented VirtualizeTimerC: `Timer.stop' not implemented In file included from /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:43, from /opt/tinyos-2.1.0/tos/system/TimerMilliP.nc:41, from /opt/tinyos-2.1.0/tos/system/TimerMilliC.nc:40, from BlinkAppC.nc:46: In component `CounterToLocalTimeC': /opt/tinyos-2.1.0/tos/lib/timer/CounterToLocalTimeC.nc:38: syntax error before `uint32_t' /opt/tinyos-2.1.0/tos/lib/timer/CounterToLocalTimeC.nc:42: syntax error before `LocalTime' In component `HilTimerMilliC': /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:47: no match /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:48: no match /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:50: cannot find `TimerFrom' /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:51: cannot find `Alarm' /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:52: cannot find `Counter' In component `TimerMilliC': /opt/tinyos-2.1.0/tos/system/TimerMilliC.nc:44: too many arguments make: ** [exe0] Erro 1 -- Marianna Araújo
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help