Hi,

Sorry, your error messages appear with what looks like Chinese symbols, which I don't understand. Therefore I really have no idea what the error is.

Cheers,
Urs

On 12/13/2010 03:41 AM, hongliping7123 wrote:
Yes, I have change the CLASSPATH as you said, and when I type the
command "*echo $CLASSPATH" in Cygwin*, the answer
is*"C:\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar;."*
Also, When I compile TestSerial application, the errors are less than
before.* But there are still some errors:*
*
*
*administra...@hongliping /opt/tinyos-2.x/apps/tests/TestSerial*
*$ make telosb*
*mkdir -p build/telosb*
*javac -target 1.4 -source 1.4 *.java*
*TestSerial.java:35: ?????? net.tinyos.message ??????*
*import net.tinyos.message.*;*
*^*
*TestSerial.java:39: ??????????*
*?????? ?? MessageListener*
*public class TestSerial implements MessageListener {*
* ^*
*TestSerial.java:41: ??????????*
*?????? ?? MoteIF*
*?????? ?? TestSerial*
* private MoteIF moteIF;*
* ^*
*TestSerial.java:43: ??????????*
*?????? ?? MoteIF*
*?????? ?? TestSerial*
* public TestSerial(MoteIF moteIF) {*
* ^*
*TestSerial.java:68: ??????????*
*?????? ?? Message*
*?????? ?? TestSerial*
* public void messageReceived(int to, Message message) {*
* ^*
*TestSerialMsg.java:7: ?????? net.tinyos.message ??????*
*public class TestSerialMsg extends net.tinyos.message.Message {*
* ^*
*TestSerialMsg.java:67: ?????? net.tinyos.message ??????*
* public TestSerialMsg(net.tinyos.message.Message msg, int base_offset) {*
* ^*
*TestSerialMsg.java:76: ?????? net.tinyos.message ??????*
* public TestSerialMsg(net.tinyos.message.Message msg, int base_offset, int*
*ta_length) {*
* ^*
*TestSerial.java:100: ??????????*
*?????? ?? MoteIF*
*?????? ?? TestSerial*
* MoteIF mif = new MoteIF(phoenix);*
* ^*
*TestSerial.java:100: ??????????*
*?????? ?? MoteIF*
*?????? ?? TestSerial*
* MoteIF mif = new MoteIF(phoenix);*
* ^*
*TestSerialMsg.java:18: ??????????*
*?????? ???? amTypeSet(int)*
*?????? ?? TestSerialMsg*
* amTypeSet(AM_TYPE);*
* ^*
*TestSerialMsg.java:24: ??????????*
*?????? ???? amTypeSet(int)*
*?????? ?? TestSerialMsg*
* amTypeSet(AM_TYPE);*
* ^*
*TestSerialMsg.java:33: ??????????*
*?????? ???? amTypeSet(int)*
*?????? ?? TestSerialMsg*
* amTypeSet(AM_TYPE);*
* ^*
*TestSerialMsg.java:42: ??????????*
*?????? ???? amTypeSet(int)*
*?????? ?? TestSerialMsg*
* amTypeSet(AM_TYPE);*
* ^*
*TestSerialMsg.java:51: ??????????*
*?????? ???? amTypeSet(int)*
*?????? ?? TestSerialMsg*
* amTypeSet(AM_TYPE);*
* ^*
*TestSerialMsg.java:60: ??????????*
*?????? ???? amTypeSet(int)*
*?????? ?? TestSerialMsg*
* amTypeSet(AM_TYPE);*
* ^*
*TestSerialMsg.java:69: ??????????*
*?????? ???? amTypeSet(int)*
*?????? ?? TestSerialMsg*
* amTypeSet(AM_TYPE);*
* ^*
*TestSerialMsg.java:78: ??????????*
*?????? ???? amTypeSet(int)*
*?????? ?? TestSerialMsg*
* amTypeSet(AM_TYPE);*
* ^*
*TestSerialMsg.java:134: ??????????*
*?????? ???? getUIntBEElement(int,int)*
*?????? ?? TestSerialMsg*
* return (int)getUIntBEElement(offsetBits_counter(), 16);*
* ^*
*TestSerialMsg.java:134: ??????????????*
*?????? getUIntBEElement*
*?????? int*
* return (int)getUIntBEElement(offsetBits_counter(), 16);*
* ^*
*TestSerialMsg.java:141: ??????????*
*?????? ???? setUIntBEElement(int,int,int)*
*?????? ?? TestSerialMsg*
* setUIntBEElement(offsetBits_counter(), 16, value);*
* ^*
*21 ????*
*make: *** [TestSerial.class] Error 1*
*I don't know how to correct it ! I hope that you can gave me some
suggestion!*
*Thank you for your **appreciation!*
*with regards*
* hongliping*
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to