Hi All, I am using cygwin and followed the instructions outlined on http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html to upgrade from tinyos-1.x to tinyos-2.x. I first set the environment variables as:
TOSROOT="/opt/tinyos-2.x" export TOSROOT TOSDIR="$TOSROOT/tos" export TOSDIR export CLASSPATH=`cygpath -w $TOSROOT/support/sdk/java/tinyos.jar` export CLASSPATH="$CLASSPATH;." MAKERULES="$TOSROOT/support/make/Makerules" export MAKERULES export PATH=/opt/msp430/bin:$PATH # Extend path for java - type java >/dev/null 2>/dev/null || PATH=`/bin/tos-locate-jre --java`:$PATH type javac >/dev/null 2>/dev/null || PATH=`/bin/tos-locate-jre --javac`:$PATH echo $PATH | grep -q /bin || PATH=/bin:$PATH Then, I compiled java tools: cd tinyos-2.x/support/sdk/java/ make clean make all I got the following warnings/errors: make[1]: Leaving directory `/opt/tinyos-2.x/support/sdk/java/net' Note: TOSSerial.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: Receiver.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: Packetizer.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: PhoenixSource.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: Platform.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: SFListen.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: SFWindow.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: MsgReader.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Can someone help me with the errors? Thanks in advance, Kannan. _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
