Orlando Delgadillo wrote:
im running tinyos-2.x and trying to do Tutorial lesson 4 but i have problems compiling TestSerial. Im able to compile Listen in java directory but not in the apps directory

For example in /opt/tinyos-2.x/apps/tests/TestSerial

i write

javac TestSerial.java

and it gives a buch of errors... I dont understand why.. my environmental values are set in /etc/profile.d/tinyos.s

TOSROOT="/opt/tinyos-2.x"
export TOSROOT
TOSDIR="$TOSROOT/tos"
export TOSDIR
export CLASSPATH=`cygpath –w cygwin/$TOSROOT/support/sdk/java/tinyos.jar`
export CLASSPATH="$CLASSPATH;."
MAKERULES="$TOSROOT/support/make/Makerules"
export MAKERULES
PATH="/opt/msp430/bin:$PATH"
export PATH

# Extend path for java
type java >/dev/null 2>/dev/null || PATH=`/usr/local/bin/locate-jre --java`:$PATH type javac >/dev/null 2>/dev/null || PATH=`/usr/local/bin/locate-jre --javac`:$PATH
echo $PATH | grep -q /usr/local/bin ||  PATH=/usr/local/bin:$PATH

Can someone please help me!.. thanks

orlando


Hello Orlando,

I noticed when you export your CLASSPATH that you have a semicolon. Try changing it to a colon.

HTH,

Greg Maki

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to