Hi,

I installed TinyOS-2.1.1 on Ubuntu. I've tried to compile the TinyOS
applications with telosb and tmote, I got the following errors. I've tried
reinstall TinyOS-2.1.1 and install TinyOS-2.0.2 and TinyOS-2.0.1, but the
errors continue. Beside I've tried all suggested repositories and solutions
either found on tinyos.net tutorials or in mailing list archive (
http://tinyprod.net/debian-dev/, deb
http://tinyos.stanford.edu/tinyos/dists/ubuntu.old hardy main and others),
but I have never been able to compile the applications for both telosb and
tmoteSky.
The problem experienced with telosb is the same as described here:
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2011-August/052187.html
.

I need too much install tinyOS and compile the TinyOS applications with
telosb and tmote.

.....

/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
/opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:63: scheduler depends on a
task
/opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:63: The -fnesc_scheduler
flag should specify a module
/opt/tinyos-2.1.0/tos/lib/timer/AlarmToTimerC.nc:63: (the module with the
scheduling code, even if the scheduler is a configuration)
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


Thanks,

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

Reply via email to