Hi. I face a problem related to compiling the Blink application using tossim in 
tinyos-2.1.2 .İ typed the "make micaz sim " command but i got errors like below.

sercan@sercan:/opt/tinyos-2.1.2/apps/Blink$ make micaz sim
mkdir -p simbuild/micaz
  placing object files in simbuild/micaz
  writing XML schema to app.xml
  compiling BlinkAppC to object file sim.o
ncc -c -shared -fPIC -o simbuild/micaz/sim.o -g -O0 -tossim 
-fnesc-nido-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\) 
-fnesc-gcc=gcc -Wall -Wshadow -Wnesc-all -target=micaz 
-fnesc-cfile=simbuild/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 
--param max-inline-insns-single=100000 -DIDENT_APPNAME=\"BlinkAppC\" 
-DIDENT_USERNAME=\"sercan\" -DIDENT_HOSTNAME=\"sercan\" 
-DIDENT_USERHASH=0x63bad89cL -DIDENT_TIMESTAMP=0x55290c0bL 
-DIDENT_UIDHASH=0xa83c008bL -Wno-nesc-data-race BlinkAppC.nc   
-fnesc-dump=components -fnesc-dump=variables -fnesc-dump=constants 
-fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags 
-fnesc-dumpfile=app.xml
make: ncc: command not found
make: *** [sim-exe] Error 127

i predict this error results of wrong nesc compiler version. In this way, when 
i type "tos-check-env" command , i take warnings regarding graphviz ,and it 
says it must be 1.10 version .So i didnt understand what i will do.

Could you help me about this matter .

Best Regards.

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

Reply via email to