>
>Hello
>I install Tinyos 2.1.1 in Debian squeeze!
>when I use make micaz sim it work fine and show me
>*** Successfully built micaz TOSSIM library.
>but when i use make micaz it show me a long text:
>
>
>....
> /opt/tinyos-2.1.1/tos/platforms/mica/MeasureClockC.nc:69: syntax error before
>`now'
>MeasureClockC: `Init.error_t' not implemented
>MeasureClockC: `Atm128Calibrate.uint32_t' not implemented
>MeasureClockC: `Atm128Calibrate.uint32_t' not implemented
>
>In component `RealMainP':
>/o
>
>/opt/tinyos-2.1.1/tos/system/RealMainP.nc:75: interface has no command or
>event named `init'
>/opt/tinyos-2.1.1/tos/system/RealMainP.nc:76: interface has no command or
>event named `runNextTask'
>/opt/tinyos-2.1.1/tos/system/RealMainP.nc: At top level:
>/opt/tinyos-2.1.1/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.1/tos/lib/timer/Timer.nc:53: syntax error before `dt'
>/opt/tinyos-2.1.1/tos/lib/timer/Timer.nc:62: syntax error before `dt'
>/opt/tinyos-2.1.1/tos/lib/timer/Timer.nc:81: warning: return-type defaults to
>`int':
>:/opt/tinyos-2.1.1/tos/lib/timer/Timer.nc:133: syntax error before
`gett0'
>/opt/tinyos-2.1.1/tos/lib/timer/Timer.nc:140: only commands and events can be
>defined in interfaces
>/opt/tinyos-2.1.1/tos/lib/timer/Timer.nc:140: warning: return-type defaults to
>`int'
>/opt/tinyos-2.1.1/tos/lib/timer/Timer.nc:140: redefinition of `uint32_t'
>/opt/tinyos-2.1.1/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.1/tos/interfaces/Leds.nc:106: only commands and events can be
>defined in interfaces
>/opt/tinyos-2.1.1/tos/interfaces/Leds.nc:106: warning: return-type defaults to
>`int'
>/ from BlinkAppC.nc:45:
>ILedsP: `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'.......
>
> from /opt/tinyos-2.1.1/tos/system/TimerMilliC.nc:40,
> from BlinkAppC.nc:46:.......
>
>/opt/tinyos-2.1.1/tos/lib/timer/Counter.nc:60: only commands and events can be
>defined in interfaces
>/opt/tinyos-2.1.1/tos/lib/timer/Counter.nc:60: warning: return-type defaults
>to `int' from
>/opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:44,
> from /opt/tinyos-2.1.1/tos/system/TimerMilliP.nc:41,
> from /opt/tinyos-2.1.1/tos/system/TimerMilliC.nc:40,
> from BlinkAppC.nc:46:
>In component `Atm128AlarmAsyncC':
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncC.nc:26: syntax error
>before `uint32_t'
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncC.nc:27: syntax error
>before `uint32_t'
>In file included from
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncC.nc:32,
> from
>/opt/tinyos-2.1.1/tos/platforms/mica/AlarmCounterMilliP.nc:33,
> from
>/opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:44,
> from /opt/tinyos-2.1.1/tos/system/TimerMilliP.nc:41,
> from /opt/tinyos-2.1.1/tos/system/TimerMilliC.nc:40,
> from BlinkAppC.nc:46:
>In component `Atm128AlarmAsyncP':
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:26: syntax error
>before `uint32_t'
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:27: syntax error
>before `uint32_t'
>In file included from
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:30,
> from
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncC.nc:32,
> from
>/opt/tinyos-2.1.1/tos/platforms/mica/AlarmCounterMilliP.nc:33,
> from
>/opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:44,
> from /opt/tinyos-2.1.1/tos/system/TimerMilliP.nc:41,
> from /opt/tinyos-2.1.1/tos/system/TimerMilliC.nc:40,
> from BlinkAppC.nc:46:
>In interface `HplAtm128Timer':
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/HplAtm128Timer.nc:78: only commands
>and events can be defined in interfaces
>opt/tinyos-2.1.1/tos/chips/atm128/timer/HplAtm128Timer.nc:78: warning:
>return-type defaults to `int' from
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncC.nc:32,
> from
>/opt/tinyos-2.1.1/tos/platforms/mica/AlarmCounterMilliP.nc:33,
>
>
>
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/HplAtm128TimerAsync.nc:21: only
>commands and events can be defined in interfaces
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/HplAtm128TimerAsync.nc:21: warning:
>return-type defaults to `int'
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/HplAtm128TimerAsync.nc:21: syntax
>error before `getAssr'
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/HplAtm128TimerAsync.nc:27: warning:
>declaration of `Atm128Assr_t' shadows global declaration
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/HplAtm128TimerAsync.nc:21: warning:
>location of shadowed declaration
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/HplAtm128TimerAsync.nc:27: syntax
>error before `x'
>In component `Atm128AlarmAsyncP':
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:38: syntax error
>before `set'
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:39: syntax error
>before `t0'
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:40: syntax error
>before `base'
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:54: syntax error
>before `Init'
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:60: unexpected
>interface reference in declaration of `x.flat'
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:60: warning:
>type defaults to `int' in declaration of `flat'
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:60: warning:
>data definition has no type or storage class
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:61: syntax error
>before `.'
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:62: syntax error
>before `.'
>Atm128AlarmAsyncP: `Init.error_t' not implemented
>In file included from
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncC.nc:33,
> from
>/opt/tinyos-2.1.1/tos/platforms/mica/AlarmCounterMilliP.nc:33,
> from
>/opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:44,
> from /opt/tinyos-2.1.1/tos/system/TimerMilliP.nc:41,
> from /opt/tinyos-2.1.1/tos/system/TimerMilliC.nc:40,
> from BlinkAppC.nc:46:
>In component `HplAtm128Timer0AsyncC':
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/HplAtm128Timer0AsyncC.nc:47: syntax
>error before `uint8_t'
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/HplAtm128Timer0AsyncC.nc:49: syntax
>error before `uint8_t'
>In file included from
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/HplAtm128Timer0AsyncC.nc:55,
> from
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncC.nc:33,
> from
>/opt/tinyos-2.1.1/tos/platforms/mica/AlarmCounterMilliP.nc:33,
> from
>/opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:44,
> from /opt/tinyos-2.1.1/tos/system/TimerMilliP.nc:41,
> from /opt/tinyos-2.1.1/tos/system/TimerMilliC.nc:40,
> from BlinkAppC.nc:46:
>In component `HplAtm128Timer0AsyncP':
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/HplAtm128Timer0AsyncP.nc:40: syntax
>error before `uint8_t'
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/HplAtm128Timer0AsyncP.nc:42: syntax
>error before `uint8_t'
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/HplAtm128Timer0AsyncP.nc:50: syntax
>error before `Timer
>pt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncC.nc:37: cannot find
>`Counter'
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncC.nc:39: cannot find
>`Timer'
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncC.nc:40: cannot find
>`TimerCtrl'
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncC.nc:41: cannot find
>`Compare'
>/opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncC.nc:42: cannot find
>`TimerAsync'
>In component `AlarmCounterMilliP':
>/opt/tinyos-2.1.1/tos/platforms/mica/AlarmCounterMilliP.nc:36: cannot find
>`AlarmMilli32'
>/opt/tinyos-2.1.1/tos/platforms/mica/AlarmCounterMilliP.nc:37: cannot find
>`CounterMilli32'
>In file included from
>/opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:44,
> from /opt/tinyos-2.1.1/tos/system/TimerMilliP.nc:41,
> from /opt/tinyos-2.1.1/tos/system/TimerMilliC.nc:40,
> f
>
>/opt/tinyos-2.1.1/tos/lib/timer/VirtualizeTimerC.nc:50: warning: no semicolon
>at end of struct or union
>/opt/tinyos-2.1.1/tos/lib/timer/VirtualizeTimerC.nc:51: syntax error before
>`dt'
>/opt/tinyos-2.1.1/tos/lib/timer/VirtualizeTimerC.nc:52: syntax error before
>`isoneshot'
>/opt/tinyos-2.1.1/tos/lib/timer/VirtualizeTimerC.nc:53: syntax error before
>`isrunning'
>/opt/tinyos-2.1.1/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.1/tos/platforms/mica/HilTimerMilliC.nc:46,
> from /opt/tinyos-2.1.1/tos/system/TimerMilliP.nc:41,
> from /opt/tinyos-2.1.1/tos/system/TimerMilliC.nc:40,
> from BlinkAppC.nc:46:
>In component `CounterToLocalTimeC':
>/opt/tinyos-2.1.1/tos/lib/timer/CounterToLocalTimeC.nc:38: syntax error before
>`uint32_t'
>/opt/tinyos-2.1.1/tos/lib/timer/CounterToLocalTimeC.nc:42: syntax error before
>`LocalTime'
>In component `HilTimerMilliC':
>/opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:50: no match
>/opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:51: cannot find
>`TimerFrom'
>/opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:52: cannot find `Alarm'
>/opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:54: no match
>/opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:55: cannot find
>`Counter'
>In component `TimerMilliC':
>/opt/tinyos-2.1.1/tos/system/TimerMilliC.nc:44: too many arguments
>make: *** [exe0] Error 1
>
>
>
>
>g++ ang gcc and python-dev are installed!
>help me please??
>so thanks
>
>
>Mollaie
>
>
>
>
>
>
>
>
>
>
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help