[Tinyos-help] can't build cygwin-T2-tossim

Manuel Pessoa mpessoa at dei.uc.pt
Fri Dec 1 10:52:29 PST 2006


Hello,
     I'm trying to setup tinyos 2.x without any mote hardware on a WinXP 
machine.
     I followed the instructions at 
http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html and 
instaleld jdk, cygwin and all the other rpms with no problems.

     I ran tos-check-env and it seems OK. (I get only a warning because I 
installed graphViz 2.8 and should have installed version 1.10)

     When I try to build any app to micaz I get an "unknown target" error. 
I'm sending the "make micaz sim" output bellow.


     I confirmed that "ncc -print-platforms"  gives  me  a blank line 
output.

     Can anyone help me on this?

Thanks.
Manuel Pessoa
___________________________________________________________________________
mpessoa at TOSH /opt/tinyos-2.x/apps/Blink
$ make micaz sim
mkdir -p build/micaz
   placing object files in build/micaz
   writing XML schema to app.xml
   compiling BlinkAppC to object file sim.o
ncc -c -shared -fPIC -o build/micaz/sim.o -g -O0 -tossim 
-fnesc-nido-tosnodes=1000 -fnesc-simulate 
-fnesc-nido-motenumber=sim_node\(\)   -finline-limit=100000 -Wall -Wshadow 
-Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb 
-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
Unknown target micaz
Known targets for TinyOS directory 
/usr/src/rpm/BUILD/tinyos-tools-1.2.3/tools
and the specified include directories are:
none.
make: *** [sim-exe] Error 2



More information about the Tinyos-help mailing list