Some applications could be erroneous.
You should type make only in the folder of your applications

apple8.8- wrote:

> When I type make in the directory "c:/tinyos-1.x/apps",why it reports
> error.
>
> Hope your reply,any help will be preciated!
>
> Below is the info(I have omitted some info such as "redefinition of.."):
> $ make
> Blink....
> compiling Blink to a mica binary
> compiled Blink to build/mica/main.exe
> 1430 bytes in ROM
> 44 bytes in RAM
> compiling Blink to a mica2 binary
> compiled Blink to build/mica2/main.exe
> 1428 bytes in ROM
> 44 bytes in RAM
> compiling Blink to a mica2dot binary
> compiled Blink to build/mica2dot/main.exe
> 1446 bytes in ROM
> 44 bytes in RAM
> compiling Blink to a pc binary
> gcc: unrecognized option `-pthread'
> compiled Blink to build/pc/main.exe
> 38400 bytes in ROM
> 621600 bytes in RAM
> BlinkTask....
> compiling BlinkTask to a mica binary
> compiled BlinkTask to build/mica/main.exe
> 1456 bytes in ROM
> 45 bytes in RAM
> compiling BlinkTask to a mica2 binary
> compiled BlinkTask to build/mica2/main.exe
> 1452 bytes in ROM
> 45 bytes in RAM
> compiling BlinkTask to a mica2dot binary
> compiled BlinkTask to build/mica2dot/main.exe
> 1470 bytes in ROM
> 45 bytes in RAM
> compiling BlinkTask to a pc binary
> gcc: unrecognized option `-pthread'
> compiled BlinkTask to build/pc/main.exe
> 38400 bytes in ROM
> 622608 bytes in RAM
> Bombilla....
> compiling AbstractMate to a mica binary
> In file included from AbstractMate.nc:36:
> AbstractConstants.h:181: redefinition of `BOMB_CALLDEPTH'
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/VM/types/Bombilla.h:79:
> previous declaration of `BOMB_CALLDEPTH'
> AbstractConstants.h:191: redefinition of `BOMB_BUF_NUM'
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/VM/types/Bombilla.h:89:
> previous declaration of `BOMB_BUF_NUM'
> AbstractConstants.h:192: conflicting types for `BombillaSizeConstants'
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/VM/types/Bombilla.h:90:
> previous declaration of `BombillaSizeConstants'
> AbstractConstants.h:195: redefinition of `BOMB_DATA_NONE'
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/VM/types/Bombilla.h:93:
> previous declaration of `BOMB_DATA_NONE'
> AbstractConstants.h:204: redefinition of `BOMB_DATA_END'
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/VM/types/Bombilla.h:102:
> previous declaration of `BOMB_DATA_END'
> AbstractConstants.h:205: conflicting types for `BombillaSensorType'
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/VM/types/Bombilla.h:103:
> previous declaration of `BombillaSensorType'
> AbstractConstants.h:208: redefinition of `BOMB_TYPE_INVALID'
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/VM/types/Bombilla.h:106:
> previous declaration of `BOMB_TYPE_INVALID'
> AbstractConstants.h:212: conflicting types for `BombillaDataType'
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/VM/types/Bombilla.h:110:
> previous declaration of `BombillaDataType'
> AbstractConstants.h:215: redefinition of `BOMB_VAR_V'
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/VM/types/Bombilla.h:113:
> previous declaration of `BOMB_VAR_V'
> AbstractConstants.h:216: redefinition of `BOMB_VAR_B'
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/VM/types/Bombilla.h:114:
> previous declaration of `BOMB_VAR_B'
> AbstractConstants.h:217: redefinition of `BOMB_VAR_S'
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/VM/types/Bombilla.h:115:
> previous declaration of `BOMB_VAR_S'
> AbstractConstants.h:223: conflicting types for `BombillaDataCondensed'
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/VM/types/Bombilla.h:121:
> previous declaration of `BombillaDataCondensed'
> AbstractConstants.h:226: redefinition of `BOMB_STATE_HALT'
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/VM/types/Bombilla.h:124:
> previous declaration of `BOMB_STATE_HALT'
> make[2]: *** [build/mica/main.exe] Error 1
> make[1]: *** [all] Error 1
> make: *** [all] Error 1
>
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> /cygdrive/c/tinyos-1.x/apps
> $
>
>
>
>
>
>
>
>
> 想 要 一 个 快 n 倍 的 免 费 邮箱 吗 ?
> 126 专 业 电 子 邮局 ―― 全 球 领 先 的 中 文 邮 箱 服 商 带 你 进 入
> 极 速 之 旅 <http://www.126.com/help/126fab.htm>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Tinyos-help mailing list
>[email protected]
>https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>  
>

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

Reply via email to