Hi, I am running ubuntu9.04. TinyOS2.x is installed from TinyOS package repository and TinyOS1.x is installed from CVS. TinyOS2.x works well, but tossim in tinyos1.x have problem. In the Blink dirctory type "make pc", I get the following error:
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=\"tc\" -DIDENT_HOSTNAME=\"tc-ubuntu9\" -DIDENT_USER_HASH=0x74a01716L -DIDENT_UNIX_TIME=0x4a9f6387L -DIDENT_UID_HASH=0x6f2374d2L 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 Any help or experiences you could provide would be great. Thank you very much in advance. 2009-09-03 童超
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help