hi,
i am new to tinyos. I have using xubuntos image in Vmware. When i tried to
compile the Blink application for pc in Tinyos-1.x, i got the following message.
xubun...@xubuntos-tinyos:/opt/tinyos-1.x/apps/Blink$ make pc
mkdir -p build/pc
compiling Blink to a pc binary
ncc -o build/pc/main.exe -g -O0 -pthread -fnesc-nido-tosnodes=1000
-fnesc-simulate -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=pc
-fnesc-cfile=build/pc/app.c -board=micasb -DIDENT_PROGRAM_NAME=\"Blink\"
-DIDENT_USER_ID=\"xubuntos\" -DIDENT_HOSTNAME=\"xubuntos-tinyos\"
-DIDENT_USER_HASH=0x00f95284L -DIDENT_UNIX_TIME=0x4c0e1bebL
-DIDENT_UID_HASH=0x9a910dbfL Blink.nc -lm
In file included from /opt/tinyos-1.x/tos/platform/pc/hardware.h:43,
from /opt/tinyos-1.x/tos/system/tos.h:144:
/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
make: *** [exe0] Error 1
kindly, help me to solve the problem.
Amit Singh
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help