[Tinyos-help] TOSSIM for cricket_compile errors
prashw at gmail.com
Wed Feb 27 21:11:09 PST 2008
I am trying to use TOSSIM(on tinyos-1.x) for the cricket platform. In this
forum Sarfraz send me some links where I could download TOSSIM support for
cricket. The links are
I installed it and tried to compile. Actually for Blink.nc the code
compiles. But when I run "make cricket_pc "(which is supposed to make the
TOSSIM file) I encounter these errors.
prashan at lappro:/opt/tinyos-1.x/apps/Blink$ make cricket_pc
compiling Blink to a cricket_pc binary
ncc -o build/cricket_pc/main.exe -Os -board=micasb -target=cricket_pc -Wall
-Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -finline-limit=100000
-fnesc-cfile=build/cricket_pc/app.c Blink.nc -lm
In file included from /opt/tinyos-1.x/tos/platform/cricket_pc/hardware.h:43,
/opt/tinyos-1.x/tos/platform/pc/nido.h:63: `TOSH_NUM_NODES' undeclared here
(not in a function)
/opt/tinyos-1.x/tos/platform/pc/nido.h:63: enumerator value for `TOSNODES'
not integer constant
In component `Main':
/opt/tinyos-1.x/tos/platform/pc/Main.nc:55: cannot find `PowerState'
make: *** [build/cricket_pc/main.exe] Error 1
prashan at lappro:/opt/tinyos-1.x/apps/Blink$
It seems to me that the nido.h line 63 and Main.nc line 55 are common
erros. Can anybody shed some light or provide some links of how to solve
these? I would greatly appreciate your help.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tinyos-help