[Tinyos-devel] make mica2 sim (TinyOS-2.x)

Boldoo boldoodd at yahoo.com
Wed Oct 11 03:00:49 PDT 2006


Hello,

I would like to compile the "Blink" application for
TOSSIM, but couldn't succeed. Here is what I had after
compilation:  

[root at GELDRAF Blink]# make mica2 sim
mkdir -p build/mica2
  placing object files in build/mica2
  writing XML schema to app.xml
  compiling BlinkAppC to object file sim.o
ncc -c -shared -fPIC -o build/mica2/sim.o -g -O0
-tossim -fnesc-nido-tosnodes=1000 -fnesc-simulate
-fnesc-nido-motenumber=sim_node\(\)  
-finline-limit=100000 -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=mica2
-fnesc-cfile=build/mica2/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 mica2
Known targets for TinyOS directory /opt/tinyos-2.x/tos
and the specified include directories are:
  intelmote2 null mica2 eyesIFXv1 eyesIFXv2 mica2dot
telosb tinynode micaz
make: *** [sim-exe] Error 2

By the way, generating (graphical) documentation works
fine. (make mica2 docs). Do not know what was wrong.

Regards, Boldoo



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Tinyos-devel mailing list