Hafid,

Please install TinyOS as described here:
http://docs.tinyos.net/tinywiki/index.php/Getting_started

This is the most up-to-date release, which has iris support.

Janos

On Sun, Oct 9, 2011 at 9:50 AM, hafid oussaadi <[email protected]> wrote:
> Dear all,
> I followed the instructions in this tutorial to install tinyos2.0.2 under
> cygwin. I added also the support for IRIS mote as explained in this
> link.However, i got the following errors after trying to compile the Blink
> application on iris mote. Any suggestion or idea is welcomed in advance.
> Thanks very much!
> $ make iris install
> mkdir -p build/iris
>     compiling BlinkAppC to a iris binary
> ncc -o build/iris/main.exe -Os -Wall -Wshadow -Wnesc-all -target=iris
> -fnesc-cfi
> le=build/iris/app.c -board=micasb -DIDENT_PROGRAM_NAME=\"BlinkAppC\"
> -DIDENT_USE
> R_ID=\"hafid_amazigh\" -DIDENT_HOSTNAME=\"hafidamazigh\"
> -DIDENT_USER_HASH=0xe48
> 85304L -DIDENT_UNIX_TIME=0x4e919289L -DIDENT_UID_HASH=0xd7f0e437L
> -fnesc-dump=wi
> ring -fnesc-dump='interfaces(!abstract())'
> -fnesc-dump='referenced(interfacedefs
> , components)' -fnesc-dumpfile=build/iris/wiring-check.xml BlinkAppC.nc -lm
> In file included from /opt/tinyos-2.x/tos/platforms/micaz/hardware.h:50,
>                  from /opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:41,
>                  from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:40:
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:90: unknown attribute
> `safe'
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:90: empty scalar
> initializer
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:90: (near initialization
> for
> `@safe')
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:94: unknown attribute
> `safe'
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:94: empty scalar
> initializer
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:94: (near initialization
> for
> `@safe')
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:111: unknown attribute
> `safe'
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:111: empty scalar
> initializer
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:111: (near initialization
> for
>  `@safe')
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:121: unknown attribute
> `safe'
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:121: empty scalar
> initializer
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:121: (near initialization
> for
>  `@safe')
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:142: unknown attribute
> `safe'
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:142: empty scalar
> initializer
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:142: (near initialization
> for
>  `@safe')
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:184: syntax error before
> `siz
> eof'
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:184: conflicting types
> for `_
> _nesc_ntoh_afloat'
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:182: previous declaration
> of
> `__nesc_ntoh_afloat'
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h: In function
> `__nesc_ntoh_afl
> oat':
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:186: `source' undeclared
> (fir
> st use in this function)
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:186: (Each undeclared
> identif
> ier is reported only once
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:186: for each function it
> app
> ears in.)
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h: At top level:
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:190: syntax error before
> `siz
> eof'
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:190: conflicting types
> for `_
> _nesc_hton_afloat'
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:182: previous declaration
> of
> `__nesc_hton_afloat'
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h: In function
> `__nesc_hton_afl
> oat':
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:191: `target' undeclared
> (fir
> st use in this function)
> /opt/tinyos-2.x/tos/chips/atm1281/atm128hardware.h:191: `value' undeclared
> (firs
> t use in this function)
> In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:41:
> In component `McuSleepC':
> /opt/tinyos-2.x/tos/chips/atm1281/McuSleepC.nc: At top level:
> /opt/tinyos-2.x/tos/chips/atm1281/McuSleepC.nc:82: unknown attribute `safe'
> /opt/tinyos-2.x/tos/chips/atm1281/McuSleepC.nc:82: empty scalar initializer
> /opt/tinyos-2.x/tos/chips/atm1281/McuSleepC.nc:82: (near initialization for
> `@sa
> fe')
> In file included from
> /opt/tinyos-2.x/tos/chips/atm1281/timer/Atm128AlarmAsyncC.
> nc:67,
>                  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 `Atm1281AlarmAsyncP':
> /opt/tinyos-2.x/tos/chips/atm1281/timer/Atm1281AlarmAsyncP.nc:58: unknown
> attrib
> ute `safe'
> /opt/tinyos-2.x/tos/chips/atm1281/timer/Atm1281AlarmAsyncP.nc:58: empty
> scalar i
> nitializer
> /opt/tinyos-2.x/tos/chips/atm1281/timer/Atm1281AlarmAsyncP.nc:58: (near
> initiali
> zation for `@safe')
> In file included from
> /opt/tinyos-2.x/tos/chips/atm1281/timer/HplAtm1281Timer2As
> yncC.nc:89,
>                  from
> /opt/tinyos-2.x/tos/chips/atm1281/timer/Atm128AlarmAsyncC.
> nc:68,
>                  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 `HplAtm1281Timer2AsyncP':
> /opt/tinyos-2.x/tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:78:
> unknown at
> tribute `safe'
> /opt/tinyos-2.x/tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:78: empty
> scal
> ar initializer
> /opt/tinyos-2.x/tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:78: (near
> init
> ialization for `@safe')
> make: *** [exe0] Error 1
>
> _______________________________________________
> 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