Hello,
Also, I tried the simplest TinyOS program (from http://docs.tinyos.net/index.php/The_simplest_TinyOS_program)
, when I execute "mica micaz" I get the following error:
make: *** No rule to make target `micaz'. Stop.
I installed it yesterday to ubuntu using this tutorial - make worked
fine: http://docs.tinyos.net/index.php/Installing_TinyOS_2.1#Two-step_install_on_your_host_OS_with_Debian_packages
Do you added "source /opt/tinyos.sh" to /home/<user>/.bashrc? If not
then "tinyos.sh" is never executed.
/opt/tinyos-2.1.0/tinyos.sh
#! /usr/bin/env bash
# Here we setup the environment
# variables needed by the tinyos
# make system
echo "Setting up for TinyOS 2.1.0"
export TOSROOT=
export TOSDIR=
export MAKERULES=
TOSROOT="/opt/tinyos-2.1.0"
TOSDIR="$TOSROOT/tos"
CLASSPATH=$CLASSPATH:$TOSROOT/support/sdk/java
MAKERULES="$TOSROOT/support/make/Makerules"
export TOSROOT
export TOSDIR
export CLASSPATH
export MAKERULES
I had also problems with classpath. So I added these dirs to classpath:
CLASSPATH=$TOSROOT/support/sdk/java/:$TOSROOT/support/sdk/java/
tinyos.jar:.:$CLASSPATH
Andres Vahter
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help