Hi, I try to compile the Blink application, but I received this error:
[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink$ make micaz mkdir -p build/micaz compiling BlinkAppC to a micaz binary ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, components)' -fnesc-dumpfile=build/micaz/wiring-check.xml BlinkAppC.nc -lm In file included from /opt/tinyos-2.x/tos/chips/atm128/McuSleepC.nc:46, from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:41: In interface `McuPowerOverride': /opt/tinyos-2.x/tos/interfaces/McuPowerOverride.nc:54: only commands and events can be defined in interfaces /opt/tinyos-2.x/tos/interfaces/McuPowerOverride.nc:54: warning: return-type defaults to `int' /opt/tinyos-2.x/tos/interfaces/McuPowerOverride.nc:54: syntax error before `lowestState' In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:41: In component `McuSleepC': /opt/tinyos-2.x/tos/chips/atm128/McuSleepC.nc:61: syntax error before `atm128PowerBits' /opt/tinyos-2.x/tos/chips/atm128/McuSleepC.nc:69: syntax error before `getPowerState' In component `TinySchedulerC': /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:44: no match make: *** [exe0] Error 1 Could you help me?I'm sure that the interfaces are correctly written, I also reinstall the latest version from cvs I'm using Ubuntu.
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help