I installed the tinyos-2_0_devel-BRANCH code on Linux and followed the instructions from "Upgrading from TinyOS 1.x to TinyOS 2.x". But I got an error when I compiled the Blink application.
$ make micaz
mkdir -p build/micaz
compiling BlinkAppC to a micaz binary
ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, components)' -fnesc-dumpfile=build/micaz/wiring- check.xml BlinkAppC.nc -lm
Unknown target micaz
Known targets for TinyOS directory /home/liuhb/tinyos-2.x/tos
and the specified include directories are:
none.
make: *** [exe0] Error 2
I tried "make telsob" and I got the same error. I set the environment variables accordingly
$ set | grep "TOSROOT\|TOSDIR\|CLASSPATH\|MAKERULES"
CLASSPATH=/home/liuhb/tinyos-2.x/support/sdk/java/tinyos.jar:.
MAKERULES=/home/liuhb/tinyos-2.x/support/make/Makerules
TOSDIR=/home/liuhb/tinyos- 2.x/tos
TOSROOT=/home/liuhb/tinyos-2.x
Could someone give some idea what went wrong? Thanks.
Regards,
Haibin
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
