Hi, Antonio
Thanks for the reply.
I searched the older messages, but can't solve the problem.
and the error message is like this :(It's too long, I can't copy the full
error messages)

/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerCtrl8.nc:36: warning:
locat
ion of shadowed declaration
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerCtrl8.nc:37: syntax
error b
efore `control'
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerCtrl8.nc:40: only
commands
and events can be defined in interfaces
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerCtrl8.nc:40: warning:
retur
n-type defaults to `int'
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerCtrl8.nc:40: syntax
error b
efore `getInterruptMask'
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerCtrl8.nc:41: warning:
decla
ration of `Atm128_TIMSK_t' shadows global declaration
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerCtrl8.nc:40: warning:
locat
ion of shadowed declaration
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerCtrl8.nc:41: syntax
error b
efore `mask'
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerCtrl8.nc:44: only
commands
and events can be defined in interfaces
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerCtrl8.nc:44: warning:
retur
n-type defaults to `int'
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerCtrl8.nc:44: syntax
error b
efore `getInterruptFlag'
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerCtrl8.nc:45: warning:
decla
ration of `Atm128_TIFR_t' shadows global declaration
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerCtrl8.nc:44: warning:
locat
ion of shadowed declaration
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerCtrl8.nc:45: syntax
error b
efore `flags'
In file included from /opt/tinyos-2.x
/tos/chips/atm128/timer/Atm128AlarmAsyncP.n
c:32,
                 from /opt/tinyos-2.x
/tos/chips/atm128/timer/Atm128AlarmAsyncC.n
c:32,
                 from /opt/tinyos-2.x/tos/platforms/mica/AlarmCounterMilliP.nc:3
3,
                 from /opt/tinyos-2.x
/tos/platforms/mica/HilTimerMilliC.nc:44,
                 from /opt/tinyos-2.x/tos/system/TimerMilliP.nc:41,
                 from /opt/tinyos- 2.x/tos/system/TimerMilliC.nc:40,
                 from BlinkAppC.nc:46:
In interface `HplAtm128Compare':
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Compare.nc:65: only commands
and
 events can be defined in interfaces
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Compare.nc:65: warning:
return-t
ype defaults to `int'
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Compare.nc:65: syntax error
befo
re `test'
/opt/tinyos- 2.x/tos/chips/atm128/timer/HplAtm128Compare.nc:71: only
commands and
 events can be defined in interfaces
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Compare.nc:71: warning:
return-t
ype defaults to `int'
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Compare.nc:71: redefinition
of `
bool'
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Compare.nc:71: syntax error
befo
re `isOn'
In file included from /opt/tinyos- 2.x
/tos/chips/atm128/timer/Atm128AlarmAsyncC.n
c:32,
                 from /opt/tinyos-2.x
/tos/platforms/mica/AlarmCounterMilliP.nc:3
3,
                 from /opt/tinyos-2.x/tos/platforms/mica/HilTimerMilliC.nc:44,

                 from /opt/tinyos-2.x/tos/system/TimerMilliP.nc:41,
                 from /opt/tinyos-2.x/tos/system/TimerMilliC.nc:40,
                 from BlinkAppC.nc:46:
In component `Atm128AlarmAsyncP':
/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:32: syntax error
bef
ore `uint8_t'
In file included from /opt/tinyos-2.x
/tos/chips/atm128/timer/Atm128AlarmAsyncP.n
c:33,
                 from /opt/tinyos- 2.x
/tos/chips/atm128/timer/Atm128AlarmAsyncC.n
c:32,
                 from /opt/tinyos-2.x
/tos/platforms/mica/AlarmCounterMilliP.nc:3
3,
                 from /opt/tinyos-2.x/tos/platforms/mica/HilTimerMilliC.nc:44,

                 from /opt/tinyos-2.x/tos/system/TimerMilliP.nc:41,
                 from /opt/tinyos-2.x/tos/system/TimerMilliC.nc:40,
                 from BlinkAppC.nc:46:
In interface `HplAtm128TimerAsync':
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerAsync.nc:21: only
commands
and events can be defined in interfaces
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerAsync.nc:21: warning:
retur
n-type defaults to `int'
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerAsync.nc:21: syntax
error b
efore `getAssr'
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerAsync.nc:27: warning:
decla
ration of `Atm128Assr_t' shadows global declaration
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerAsync.nc:21: warning:
locat
ion of shadowed declaration
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerAsync.nc:27: syntax
error b
efore `x'
In file included from /opt/tinyos- 2.x
/tos/chips/atm128/timer/Atm128AlarmAsyncC.n
c:32,
                 from /opt/tinyos-2.x
/tos/platforms/mica/AlarmCounterMilliP.nc:3
3,
                 from /opt/tinyos-2.x/tos/platforms/mica/HilTimerMilliC.nc:44,

                 from /opt/tinyos-2.x/tos/system/TimerMilliP.nc:41,
                 from /opt/tinyos-2.x/tos/system/TimerMilliC.nc:40,
                 from BlinkAppC.nc:46:
In component `Atm128AlarmAsyncP':
/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:38: syntax error
bef
ore `set'
/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:39: syntax error
bef
ore `t0'
/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:40: syntax error
bef
ore `base'
/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:54: syntax error
bef
ore `Init'
/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:60: unexpected
inter
face reference in declaration of `x.flat'
/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:60: warning:
type de
faults to `int' in declaration of `flat'
/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:60: warning:
data de
finition has no type or storage class
/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:61: syntax error
bef
ore `.'
/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:62: syntax error
bef
ore `.'
Atm128AlarmAsyncP: `Init.error_t' not implemented
In file included from /opt/tinyos-2.x
/tos/chips/atm128/timer/Atm128AlarmAsyncC.n
c:33,
                 from
/opt/tinyos-2.x/tos/platforms/mica/AlarmCounterMilliP.nc:3

3,
                 from /opt/tinyos-2.x
/tos/platforms/mica/HilTimerMilliC.nc:44,
                 from /opt/tinyos-2.x/tos/system/TimerMilliP.nc:41,
                 from /opt/tinyos-2.x/tos/system/TimerMilliC.nc:40,
                 from BlinkAppC.nc:46:
In component `HplAtm128Timer0AsyncC':
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Timer0AsyncC.nc:47: syntax
error
 before `uint8_t'
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Timer0AsyncC.nc:49: syntax
error
 before `uint8_t'
In file included from /opt/tinyos-2.x
/tos/chips/atm128/timer/HplAtm128Timer0Asyn
cC.nc:55,
                 from /opt/tinyos-2.x
/tos/chips/atm128/timer/Atm128AlarmAsyncC.n
c:33,
                 from /opt/tinyos- 2.x
/tos/platforms/mica/AlarmCounterMilliP.nc:3
3,
                 from /opt/tinyos-2.x
/tos/platforms/mica/HilTimerMilliC.nc:44,
                 from /opt/tinyos-2.x/tos/system/TimerMilliP.nc:41,
                 from /opt/tinyos- 2.x/tos/system/TimerMilliC.nc:40,
                 from BlinkAppC.nc:46:
In component `HplAtm128Timer0AsyncP':
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Timer0AsyncP.nc:40: syntax
error
 before `uint8_t'
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Timer0AsyncP.nc:42: syntax
error
 before `uint8_t'
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Timer0AsyncP.nc:50: syntax
error
 before `Timer'
HplAtm128Timer0AsyncP: `TimerCtrl.setInterruptMask' not implemented
HplAtm128Timer0AsyncP: `TimerCtrl.setInterruptFlag' not implemented
HplAtm128Timer0AsyncP: `TimerCtrl.Atm128TimerControl_t' not implemented
HplAtm128Timer0AsyncP: `TimerCtrl.Atm128_TIFR_t' not implemented
HplAtm128Timer0AsyncP: `TimerCtrl.setControl' not implemented
HplAtm128Timer0AsyncP: `TimerCtrl.Atm128_TIMSK_t' not implemented
HplAtm128Timer0AsyncP: `TimerAsync.controlBusy' not implemented
HplAtm128Timer0AsyncP: `TimerAsync.compareBusy' not implemented
HplAtm128Timer0AsyncP: `TimerAsync.setTimer0Asynchronous' not implemented
HplAtm128Timer0AsyncP: `TimerAsync.Atm128Assr_t' not implemented
HplAtm128Timer0AsyncP: `TimerAsync.countBusy' not implemented
HplAtm128Timer0AsyncP: `TimerAsync.setAssr' not implemented
In component `HplAtm128Timer0AsyncC':
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Timer0AsyncC.nc:60: cannot
find
`Timer'
/opt/tinyos- 2.x/tos/chips/atm128/timer/HplAtm128Timer0AsyncC.nc:62: cannot
find
`Compare'
In component `Atm128AlarmAsyncC':
/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128AlarmAsyncC.nc:35: no match
/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128AlarmAsyncC.nc:36: cannot find
`Ala
rm'
/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128AlarmAsyncC.nc:37: cannot find
`Cou
nter'
/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128AlarmAsyncC.nc:39: cannot find
`Tim
er'
/opt/tinyos-2.x /tos/chips/atm128/timer/Atm128AlarmAsyncC.nc:40: cannot find
`Tim
erCtrl'
/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128AlarmAsyncC.nc:41: cannot find
`Com
pare'
/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128AlarmAsyncC.nc:42: cannot find
`Tim
erAsync'
In component `AlarmCounterMilliP':
/opt/tinyos-2.x/tos/platforms/mica/AlarmCounterMilliP.nc:36: cannot find
`AlarmM
illi32'
/opt/tinyos-2.x/tos/platforms/mica/AlarmCounterMilliP.nc:37: cannot find
`Counte
rMilli32'
In file included from /opt/tinyos-2.x
/tos/platforms/mica/HilTimerMilliC.nc:44,
                 from /opt/tinyos-2.x/tos/system/TimerMilliP.nc:41,
                 from /opt/tinyos-2.x/tos/system/TimerMilliC.nc:40,
                 from BlinkAppC.nc:46:
In component `AlarmToTimerC':
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:38: syntax error before
`uint32_t
'
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:44: syntax error before
`m_dt'
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:45: syntax error before
`m_onesho
t'
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:47: syntax error before `t0'
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc: In function `start':
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:49: `m_dt' undeclared (first
use
in this function)
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:49: (Each undeclared
identifier i
s reported only once
/opt/tinyos- 2.x/tos/lib/timer/AlarmToTimerC.nc:49: for each function it
appears
in.)
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:49: `dt' undeclared (first
use in
 this function)
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:50: `m_oneshot' undeclared
(first
 use in this function)
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:50: `oneshot' undeclared
(first u
se in this function)
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:51: `Alarm' undeclared (first
use
 in this function)
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:51: `t0' undeclared (first
use in
 this function)
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc: At top level:
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:54: syntax error before `dt'
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc: In function
`Timer.startPeriodic
':
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:55: `Alarm' undeclared (first
use
 in this function)
/opt/tinyos-2.x /tos/lib/timer/AlarmToTimerC.nc:55: `dt' undeclared (first
use in
 this function)
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:55: `FALSE' undeclared (first
use
 in this function)
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc: At top level:
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:57: syntax error before `dt'
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc: In function
`Timer.startOneShot'
:
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:58: `Alarm' undeclared (first
use
 in this function)
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:58: `dt' undeclared (first
use in
 this function)
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:58: `TRUE' undeclared (first
use
in this function)
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc: In function `Timer.stop':
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:61: `Alarm' undeclared (first
use
 in this function)
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc: In function `fired.runTask':

/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:65: `m_oneshot' undeclared
(first
 use in this function)
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:65: `FALSE' undeclared (first
use
 in this function)
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:66: `Alarm' undeclared (first
use
 in this function)
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:66: `m_dt' undeclared (first
use
in this function)
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc: At top level:
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:71: unknown interface `Alarm'
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc: In function `Alarm.fired':
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc:71: task interface
`TaskBasic' ha
s no command named `postTask'
/opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc: At top level:
/opt/tinyos-2.x/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.x
/tos/platforms/mica/HilTimerMilliC.nc:45,
                 from /opt/tinyos- 2.x/tos/system/TimerMilliP.nc:41,
                 from /opt/tinyos-2.x/tos/system/TimerMilliC.nc:40,
                 from BlinkAppC.nc:46:
In component `VirtualizeTimerC':
/opt/tinyos-2.x/tos/lib/timer/VirtualizeTimerC.nc:37: syntax error before
`uint8
_t'
/opt/tinyos-2.x/tos/lib/timer/VirtualizeTimerC.nc:50: syntax error before
`uint3
2_t'
/opt/tinyos-2.x/tos/lib/timer/VirtualizeTimerC.nc:50: warning: no semicolon
at e
nd of struct or union
/opt/tinyos- 2.x/tos/lib/timer/VirtualizeTimerC.nc:51: syntax error before
`dt'
/opt/tinyos-2.x/tos/lib/timer/VirtualizeTimerC.nc:52: syntax error before
`isone
shot'
/opt/tinyos-2.x/tos/lib/timer/VirtualizeTimerC.nc:53: syntax error before
`isrun
ning'
/opt/tinyos-2.x/tos/lib/timer/VirtualizeTimerC.nc:54: syntax error before
`_rese
rved'
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.x
/tos/platforms/mica/HilTimerMilliC.nc:46,
                 from /opt/tinyos-2.x/tos/system/TimerMilliP.nc:41,
                 from /opt/tinyos-2.x/tos/system/TimerMilliC.nc:40,
                 from BlinkAppC.nc:46:
In component `CounterToLocalTimeC':
/opt/tinyos-2.x/tos/lib/timer/CounterToLocalTimeC.nc:38: syntax error before
`ui
nt32_t'
/opt/tinyos-2.x/tos/lib/timer/CounterToLocalTimeC.nc:42: syntax error before
`Lo
calTime'
In component `HilTimerMilliC':
/opt/tinyos-2.x/tos/platforms/mica/HilTimerMilliC.nc:50: no match
/opt/tinyos-2.x/tos/platforms/mica/HilTimerMilliC.nc:51: cannot find
`TimerFrom'

/opt/tinyos-2.x/tos/platforms/mica/HilTimerMilliC.nc:52: cannot find `Alarm'
/opt/tinyos-2.x/tos/platforms/mica/HilTimerMilliC.nc:54: no match
/opt/tinyos-2.x/tos/platforms/mica/HilTimerMilliC.nc:55: cannot find
`Counter'
In component `TimerMilliP':
/opt/tinyos-2.x/tos/system/TimerMilliP.nc:42: cannot find `SoftwareInit'
In component `TimerMilliC':
/opt/tinyos-2.x/tos/system/TimerMilliC.nc:44: too many arguments
In component `BlinkAppC':
BlinkAppC.nc:51: cannot find `Boot'
make: *** [exe0] Error 1



On 12/27/07, Juan Antonio López Riquelme <[EMAIL PROTECTED]> wrote:
>
>  Hello Howard.
>
> You can try to search in older messages with the errors that you got
> http://www.mail-archive.com/[EMAIL PROTECTED]&q
> =
>
> Also it is better that you write a new message with the errors that you
> got if you do not solve them with old messages. You can copy text in Cygwin
> (hit in the icon at the upper left corner and popup menu appears).
>
> I hope that help you.
>
> A greeting,
> Juan Antonio.
>
>  ----- Original Message -----
> *From:* Howard Chen <[EMAIL PROTECTED]>
> *To:* [email protected]
> *Sent:* Friday, December 28, 2007 6:47 AM
> *Subject:* [Tinyos-help] Error when compile Blink app
>
>
> Hi,
> I'm trying to upgrade form tinyos1.1.15 to tinyos2.0.2. I followed the
> step in
>
> http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html
> <http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html+>
>
> and choose to maintain tinyos-1.x tree.
>
> First, I use    nesc-1.2.8a-1.cygwin.i386.rpm
> <http://www.tinyos.net/dist-1.2.0/tinyos/windows/nesc-1.2.8a-1.cygwin.i386.rpm>
>  ,
> but when I compile Blink app, got the error message "the procedure entry
> point basename could not be located in the dynamic link library
> cygwin1.dll". Then I tried
> <http://www.tinyos.net/dist-1.2.0/tinyos/windows/nesc-1.2.8a-1.cygwin.i386.rpm>
> nesc-1.2.8b-1.cygwin.i386.rpm<http://www.tinyos.net/dist-1.2.0/tinyos/windows/nesc-1.2.8b-1.cygwin.i386.rpm>,
> the message didn't show. But when I compile Blink app, I got many
> syntax errors and undeclared function.
>
>
>
> ncc: 1.2.4
>
> nescc:1.2.8a
>
> gcc:3.3.3(cygwin special)
>
> cygwin:1.5.12-1
>
>
>
> How to fix it? Thanks for help!
>
> ------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to