you don't have the toolchains installed right. On Sat, Jun 18, 2011 at 6:29 PM, adel zalok <[email protected]> wrote:
> Dear Sir, > > I have been trying to install TinyOS on ubuntu 11.04 as well as Ubunut > 10.10 and I keep getting a very long error, the error ends with these lines: > > > In component `AlarmToTimerC': > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:38: syntax error before > `uint32_t' > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:44: syntax error before > `m_dt' > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:45: syntax error before > `m_oneshot' > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:47: syntax error before > `t0' > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: In function `start': > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:49: `m_dt' undeclared > (first use in this function) > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:49: `dt' undeclared (first > use in this function) > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:50: `m_oneshot' undeclared > (first use in this function) > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:50: `oneshot' undeclared > (first use in this function) > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:51: `Alarm' undeclared > (first use in this function) > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:51: `t0' undeclared (first > use in this function) > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: At top level: > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:54: syntax error before > `dt' > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: In function > `Timer.startPeriodic': > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:55: `Alarm' undeclared > (first use in this function) > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:55: `dt' undeclared (first > use in this function) > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: At top level: > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:57: syntax error before > `dt' > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: In function > `Timer.startOneShot': > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:58: `Alarm' undeclared > (first use in this function) > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:58: `dt' undeclared (first > use in this function) > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: In function `Timer.stop': > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:61: `Alarm' undeclared > (first use in this function) > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: In function > `fired.runTask': > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:65: `m_oneshot' undeclared > (first use in this function) > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:66: `Alarm' undeclared > (first use in this function) > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:66: `m_dt' undeclared > (first use in this function) > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: At top level: > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:71: unknown interface > `Alarm' > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: In function > `Alarm.fired': > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:71: task interface > `TaskBasic' has no command named `postTask' > /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: At top level: > /opt/tinyos-2.1.1/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.1/tos/platforms/mica/HilTimerMilliC.nc:45, > 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 `VirtualizeTimerC': > /opt/tinyos-2.1.1/tos/lib/timer/VirtualizeTimerC.nc:37: syntax error before > `uint8_t' > /opt/tinyos-2.1.1/tos/lib/timer/VirtualizeTimerC.nc:50: syntax error before > `uint32_t' > /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 > > Thank you in advance, > Best regards, > Adel Zalok . > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
