Thats one I haven't seen before. Compiling against classes of
a newer version used to give some even more arcane error. You
can make sure that there is a SerialPacket in the jars you are
using with "jar tvf xxx.jar", and perhaps try compiling your
own support tools to see if that helps.

MS

David Li wrote:
> Hi All,
> 
> I am following the tutorial direction to compile the TestSerial 
> application for Iris mote. The following Java error is what I got so 
> far. I am using Ubuntu 9.10 with Tinyos2.1. I think I am using JDK 1.5. 
> My classpath is .:/opt/tinyos-2.1.0/support/sdk/java. Is this a JDK 
> impatibility issue?
> 
> 
> mkdir -p build/iris
> javac -target 1.4 -source 1.4 *.java
> ----------
> 1. ERROR in 
> /opt/tinyos-2.1.0/support/sdk/java/net/tinyos/message/Message.java (at 
> line 84)
>     private SerialPacket serialPacket;
>             ^^^^^^^^^^^^
> SerialPacket cannot be resolved to a type
> ----------
> 2. ERROR in 
> /opt/tinyos-2.1.0/support/sdk/java/net/tinyos/message/Message.java (at 
> line 676)
>     public SerialPacket getSerialPacket() {
>            ^^^^^^^^^^^^
> SerialPacket cannot be resolved to a type
> ----------
> 3. ERROR in 
> /opt/tinyos-2.1.0/support/sdk/java/net/tinyos/message/Message.java (at 
> line 677)
>     return serialPacket;
>            ^^^^^^^^^^^^
> SerialPacket cannot be resolved to a type
> ----------
> 4. ERROR in 
> /opt/tinyos-2.1.0/support/sdk/java/net/tinyos/message/Message.java (at 
> line 684)
>     protected void setSerialPacket(SerialPacket mySerialPacket) {
>                                    ^^^^^^^^^^^^
> SerialPacket cannot be resolved to a type
> ----------
> 5. ERROR in 
> /opt/tinyos-2.1.0/support/sdk/java/net/tinyos/message/Message.java (at 
> line 685)
>     serialPacket = mySerialPacket;
>     ^^^^^^^^^^^^
> SerialPacket cannot be resolved to a type
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to