When I use make pc for compiling an application in tinyos-1.x I get
the following error. Please help
root@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=\"root\"
-DIDENT_HOSTNAME=\"xubuntos-tinyos\" -DIDENT_USER_HASH=0x79e6532eL
-DIDENT_UNIX_TIME=0x4f4a20c3L -DIDENT_UID_HASH=0x988c76bfL 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
Thank you
--
Devanathan
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help