|
Hey all,
I am kind of newbie in tinyos, nesC and sensor
networks and i am trying to build my very first app in TOSSIM using the make pc
command.... but i get the following error...
[EMAIL PROTECTED]@spoon
/opt/tinyos-1.x/apps/Blink
$ make pc mkdir -p build/pc compiling Blink to a pc binary ncc -o build/pc/main.exe -g -O0 -pthread -fnesc-nido-tosnodes=1000 -Wall -Wsha dow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=pc -fnesc-cfile=build/pc/app.c -b oard=micasb -DIDENT_PROGRAM_NAME="Blink" -DIDENT_PROGRAM_NAME_BYTES="66,108,105, 110,107,0" -DIDENT_USER_ID="[EMAIL PROTECTED]" -DIDENT_USER_ID_BYTES="80,64,110,111,115,0" - DIDENT_HOSTNAME="spoon" -DIDENT_HOSTNAME_BYTES="115,112,111,111,110,0" -DIDENT_U SER_HASH=0x4ca96e68L -DIDENT_UNIX_TIME=0x438207c3L Blink.nc -lm gcc: unrecognized option `-pthread' C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/pc/PowerStateM.nc: In function `__n esc_nido_initialise': C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/pc/PowerStateM.nc:360: warning: pas sing arg 1 of `memset' discards qualifiers from pointer target type compiled Blink to build/pc/main.exe What do you think is the problem? How can i fix that? i ve tried to build
the Blink app for the mica2 platform using the make mica2 and i didn't have a
problem. (allthough i dont have any platform a all..;-p). I also tried to
compile a different app (CntToLedsAndRfm) but i still have the same problem..
anyone here willing to help me?
Thanks a lot
ps.i am using tinyos 1.1.11
____________________________________________________________________ http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου. http://www.freemail.gr - free email service for the Greek-speaking. |
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
