I have recently installed Tinyos-2.0.2 with the support for IRIS motes, I can
compile the blink application on mica2 but when I try to compile on iris (
make iris) I have got the following problem:
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 

If anyone know the solution, it would be really nice, 

Cheers,
-- 
View this message in context: 
http://old.nabble.com/Blink-Compile-problem-on-iris-motes-tp32875125p32875125.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to