i found ncc folder in 'opt/tinyos-2.x/tools/tinyos/ncc ' and when i type 'which 
ncc' command , it returns  nothing and it dosnt errror,too.

From: [email protected]
To: [email protected]
Subject: RE: [Tinyos-help] Micaz Sim
Date: Mon, 13 Apr 2015 12:50:51 +0300







Hi,
İ think  you are right in that it cant find any folder in 'usr/bin/ncc'. But 
How can install ncc and solve this problem ?

From: [email protected]
To: [email protected]; [email protected]
Subject: Re:[Tinyos-help] Micaz Sim
Date: Sun, 12 Apr 2015 03:01:16 +0800

What returns when you type  'which ncc' ? 
It seems that the ncc cannot be found.Typically the ncc script is located in 
'/usr/bin/ncc'. 



------------------Best regards
 Jie Yu

   ------------------ Original ------------------From: "sercan vançin"; Date: 
2015年4月11日(星期六) 晚上8:21To: "[email protected]"; Subject: 
[Tinyos-help] Micaz Sim 
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
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to