Hi,

I am new to tinyos. I have installed tinyos-2.x. When I am trying to compile
Blink application, I got the following error:

Unknown target micaz
Known targets for TinyOS directory /opt/tinyos-2.x/tos
and the specified include directories are:
none.
make: *** [exe0] Error 2


I have checked in cygwin for environment variables :
echo $TOSROOT
/opt/tinyos-2.x

echo $TOSDIR
/opt/tinyos-2.x/tos

echo $MAKERULES
C:/cygwin/opt/tinyos-2.x/support/make/Makerules

I set my class path as follows:

C:\Program
Files\Graphviz2.26\bin;C:\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar;.

But when I run the command tos-check-env, I got the followng error:
tos-check-env completed with errors:

--> WARNING: CLASSPATH may not include '.' (that is,  the symbol for the
current
 working directory). Please add '.' to your CLASSPATH or you may experience
conf
iguration problems.
--> WARNING: The JAVA version found first by tos-check-env may not be
version 1.
4 or version 1.5one of which is required by TOS. Please ensure that the
located
Java version is 1.4 or 1.5
Depending on your PATH environment variable, there is often another  version
of
java.exe in c:\windows\system32 that is "seen" first. Check that this is
version
 1.4 or 1.5 or reconfigure your PATH environment variable if this is the
case.
--> WARNING: No dot in current path.
--> WARNING: tos-check-env could not find the 'dot' executable which is part
of
the AT&T Graphviz package. Please install version 1.1.0 of Graphviz if you'd
lik
e to use the nescdoc documentation generator. If Graphviz is already
installed,
then dot may not be in your PATH...



Can anyone please help how to resolve this issue.
Thanks in advance.
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to