Hi everyone,

I installed Tinyos 2.1 in my windows XP 32 bit, i followed all the
installation steps.
My Path is
: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program
Files\Java\jdk1.6.0_10\bin;C:\PROGRA~1\ATT\Graphviz\bin;C:\PROGRA~1\ATT\Graphviz\bin\tools;C:\cygwin\opt\tinyos-2.x\support\sdk\java
CLASSPATH:
.;C:/cygwin/opt/tinyos-2.x/support/sdk/java;C:/cygwin/opt/tinyos-2.x/support/sdk/java/tinyos.jar;.
I navigate to C:\cygwin\opt\tinyos-2.x\support\sdk\java and i type*
make*to compile the Java environment, but i found this error message:

a
$ make
... /cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java
make[1]: Entering directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/
net'
... /cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/net
make[2]: Entering directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/
net/tinyos'
... /cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/net/tinyos
make[3]: Entering directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/
net/tinyos/packet'
Makefile:11: *** target pattern contains no `%'.  Stop.
make[3]: Leaving directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/n
et/tinyos/packet'
make[3]: Entering directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/
net/tinyos/message'
Makefile:11: *** target pattern contains no `%'.  Stop.
make[3]: Leaving directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/n
et/tinyos/message'
make[3]: Entering directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/
net/tinyos/sf'
... /cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/net/tinyos/sf
make[3]: Leaving directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/n
et/tinyos/sf'
make[3]: Entering directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/
net/tinyos/comm'
... /cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/net/tinyos/comm
make[3]: Leaving directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/n
et/tinyos/comm'
make[3]: Entering directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/
net/tinyos/mviz'
... /cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/net/tinyos/mviz
javac DDocument.java
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\message\Message.java:84:
ca
nnot find symbol
symbol  : class SerialPacket
location: class net.tinyos.message.Message
  private SerialPacket serialPacket;
          ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\message\Message.java:676:
c
annot find symbol
symbol  : class SerialPacket
location: class net.tinyos.message.Message
  public SerialPacket getSerialPacket() {
         ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\message\Message.java:684:
c
annot find symbol
symbol  : class SerialPacket
location: class net.tinyos.message.Message
  protected void setSerialPacket(SerialPacket mySerialPacket) {
                                 ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\mviz\MessageInput.java:113:
 warning: non-varargs call of varargs method with inexact argument type for
last
 parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this
warning
                    Integer result = (Integer)method.invoke(message, null);
                                                                     ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\mviz\MessageInput.java:126:
 warning: non-varargs call of varargs method with inexact argument type for
last
 parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this
warning
                    Integer result = (Integer)method.invoke(message, null);
                                                                     ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\message\Sender.java:86:
can
not find symbol
symbol  : class SerialPacket
location: class net.tinyos.message.Sender
        SerialPacket packet =
        ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\message\Sender.java:87:
can
not find symbol
symbol  : class SerialPacket
location: class net.tinyos.message.Sender
            new SerialPacket(SerialPacket.offset_data(0) + data.length);
                ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\message\Sender.java:87:
can
not find symbol
symbol  : variable SerialPacket
location: class net.tinyos.message.Sender
            new SerialPacket(SerialPacket.offset_data(0) + data.length);
                             ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\message\Sender.java:87:
ope
rator + cannot be applied to SerialPacket.offset_data,int
            new SerialPacket(SerialPacket.offset_data(0) + data.length);
                                                     ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\message\Sender.java:95:
can
not find symbol
symbol  : variable Serial
location: class net.tinyos.message.Sender
        fullPacket[0] = Serial.TOS_SERIAL_ACTIVE_MESSAGE_ID;
                        ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\message\Receiver.java:166:
cannot find symbol
symbol  : variable Serial
location: class net.tinyos.message.Receiver
    if (packet[0] != Serial.TOS_SERIAL_ACTIVE_MESSAGE_ID)
                     ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\message\Receiver.java:169:
cannot find symbol
symbol  : class SerialPacket
location: class net.tinyos.message.Receiver
    SerialPacket msg = new SerialPacket(packet, 1);
    ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\message\Receiver.java:169:
cannot find symbol
symbol  : class SerialPacket
location: class net.tinyos.message.Receiver
    SerialPacket msg = new SerialPacket(packet, 1);
                           ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\message\Receiver.java:190:
cannot find symbol
symbol  : variable SerialPacket
location: class net.tinyos.message.Receiver
        received.dataSet(msg.dataGet(), SerialPacket.offset_data(0) +
msg.baseOf
fset(),
                                        ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\packet\Packetizer.java:85:
cannot find symbol
symbol  : variable Serial
location: class net.tinyos.packet.Packetizer
  final static int SYNC_BYTE = Serial.HDLC_FLAG_BYTE;
                               ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\packet\Packetizer.java:87:
cannot find symbol
symbol  : variable Serial
location: class net.tinyos.packet.Packetizer
  final static int ESCAPE_BYTE = Serial.HDLC_CTLESC_BYTE;
                                 ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\packet\Packetizer.java:93:
cannot find symbol
symbol  : variable Serial
location: class net.tinyos.packet.Packetizer
  final static int P_ACK = Serial.SERIAL_PROTO_ACK;
                           ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\packet\Packetizer.java:95:
cannot find symbol
symbol  : variable Serial
location: class net.tinyos.packet.Packetizer
  final static int P_PACKET_ACK = Serial.SERIAL_PROTO_PACKET_ACK;
                                  ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\packet\Packetizer.java:97:
cannot find symbol
symbol  : variable Serial
location: class net.tinyos.packet.Packetizer
  final static int P_PACKET_NO_ACK = Serial.SERIAL_PROTO_PACKET_NOACK;
                                     ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\packet\Packetizer.java:99:
cannot find symbol
symbol  : variable Serial
location: class net.tinyos.packet.Packetizer
  final static int P_UNKNOWN = Serial.SERIAL_PROTO_PACKET_UNKNOWN;
                               ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\packet\Packetizer.java:334:
 possible loss of precision
found   : int
required: byte
      escaped[escapePtr++] = SYNC_BYTE;
                             ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\packet\Packetizer.java:345:
 possible loss of precision
found   : int
required: byte
        escaped[escapePtr++] = ESCAPE_BYTE;
                               ^
C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\packet\Packetizer.java:353:
 possible loss of precision
found   : int
required: byte
      escaped[escapePtr++] = SYNC_BYTE;
                             ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
21 errors
2 warnings
make[3]: *** [DDocument.class] Error 1
make[3]: Leaving directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/n
et/tinyos/mviz'
make[3]: Entering directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/
net/tinyos/sim'
... /cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/net/tinyos/sim
make[3]: Leaving directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/n
et/tinyos/sim'
make[3]: Entering directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/
net/tinyos/tools'
Makefile:15: *** target pattern contains no `%'.  Stop.
make[3]: Leaving directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/n
et/tinyos/tools'
make[3]: Entering directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/
net/tinyos/util'
... /cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/net/tinyos/util
make[3]: Leaving directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/n
et/tinyos/util'
make[2]: Leaving directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/n
et/tinyos'
make[1]: Leaving directory
`/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/n
et'

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

Reply via email to