Hi all,

I'm new in TOS world and just installed a TOS environment on my Cygwin
environment. I could compile some basic application such as Blink but fail
to compile applications involving the tinyos.jar Java archive (e.g.
apps/MViz).

I installed from RPMs as described at
http://docs.tinyos.net/index.php/Installing_TinyOS_2.1.1#Manual_installation_on_your_host_OS_with_RPMs

The installed RPM for TOS is the one given in the step-by-step install
guide:
http://tinyos.stanford.edu/tinyos-rpms/tinyos-tools-1.4.0-3.cygwin.i386.rpm

When running *make telosb* in apps/MViz the make process terminates with a
bunch of errors:

v...@a05pc01-vb /opt/tinyos-2.x/apps/MViz
$ make telosb
mkdir -p build/telosb
javac MVizMsg.java
*MVizMsg.java:7: package net.tinyos.message does not exist*
public class MVizMsg extends net.tinyos.message.Message {
                                               ^
*MVizMsg.java:67: package net.tinyos.message does not exist*
    public MVizMsg(net.tinyos.message.Message msg, int base_offset) {
                                     ^
MVizMsg.java:76: package net.tinyos.message does not exist
    public MVizMsg(net.tinyos.message.Message msg, int base_offset, int
data_length) {
                                     ^
MVizMsg.java:18: cannot find symbol
symbol  : method amTypeSet(int)
location: class MVizMsg
        amTypeSet(AM_TYPE);
        ^
...

My CLASSPATH is set correctly but the problem comes from the tinyos.jar
archive which effectively does not contain the message package...
A dump of the JAR content with "$ jar tvf tinyos.jar" shows that the
bet.tinyos.message package is missing (and perhaps others).

I then tried to rebuild myself the JAR with "*make tinyos.jar*"
in /opt/tinyos-2.x/support/sdk/java but this also fails (build log in
attached jar_build.txt).

I think that the available Cygwin RPM is somehow corrupt. What is the best
way to go on for me now without having to re-install everything? May I
simply replace my tinyos.jar with one downloaded from CVS ?

Thanks for your help!
    Romain
... /opt/tinyos-2.x/support/sdk/java
make[1]: Entering directory `/opt/tinyos-2.x/support/sdk/java/net'
... /opt/tinyos-2.x/support/sdk/java/net
make[2]: Entering directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos'
... /opt/tinyos-2.x/support/sdk/java/net/tinyos
make[3]: Entering directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos/packet'
... /opt/tinyos-2.x/support/sdk/java/net/tinyos/packet
ncg -o Serial.java -java-classname=net.tinyos.packet.Serial java 
/opt/tinyos-2.x/tos/lib/serial/Serial.h Serial.h
javac Serial.java
javac AbstractSource.java
AbstractSource.java:37: package net.tinyos.util does not exist
import net.tinyos.util.*;
^
AbstractSource.java:46: cannot find symbol
symbol: class PacketSource
abstract public class AbstractSource implements PacketSource
                                                ^
AbstractSource.java:50: cannot find symbol
symbol  : class Messenger
location: class net.tinyos.packet.AbstractSource
    protected Messenger messages;
              ^
AbstractSource.java:65: cannot find symbol
symbol  : class Messenger
location: class net.tinyos.packet.AbstractSource
    synchronized public void open(Messenger messages) throws IOException {
                                  ^
4 errors
make[3]: *** [AbstractSource.class] Error 1
make[3]: Leaving directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos/packet'
make[3]: Entering directory 
`/opt/tinyos-2.x/support/sdk/java/net/tinyos/message'
... /opt/tinyos-2.x/support/sdk/java/net/tinyos/message
mig -o SerialPacket.java -java-classname=net.tinyos.message.SerialPacket java 
/opt/tinyos-2.x/tos/lib/serial/Serial.h serial_packet 
-I/opt/tinyos-2.x/tos/types
warning: Cannot determine AM type for serial_packet
         (Looking for definition of AM_SERIAL_PACKET)
javac SerialPacket.java
SerialPacket.java:9: cannot find symbol
symbol  : class Message
location: package net.tinyos.message
public class SerialPacket extends net.tinyos.message.Message {
                                                    ^
SerialPacket.java:69: cannot find symbol
symbol  : class Message
location: package net.tinyos.message
    public SerialPacket(net.tinyos.message.Message msg, int base_offset) {
                                          ^
SerialPacket.java:78: cannot find symbol
symbol  : class Message
location: package net.tinyos.message
    public SerialPacket(net.tinyos.message.Message msg, int base_offset, int 
data_length) {
                                          ^
SerialPacket.java:20: cannot find symbol
symbol  : method amTypeSet(int)
location: class net.tinyos.message.SerialPacket
        amTypeSet(AM_TYPE);
        ^
SerialPacket.java:26: cannot find symbol
symbol  : method amTypeSet(int)
location: class net.tinyos.message.SerialPacket
        amTypeSet(AM_TYPE);
        ^
SerialPacket.java:35: cannot find symbol
symbol  : method amTypeSet(int)
location: class net.tinyos.message.SerialPacket
        amTypeSet(AM_TYPE);
        ^
SerialPacket.java:44: cannot find symbol
symbol  : method amTypeSet(int)
location: class net.tinyos.message.SerialPacket
        amTypeSet(AM_TYPE);
        ^
SerialPacket.java:53: cannot find symbol
symbol  : method amTypeSet(int)
location: class net.tinyos.message.SerialPacket
        amTypeSet(AM_TYPE);
        ^
SerialPacket.java:62: cannot find symbol
symbol  : method amTypeSet(int)
location: class net.tinyos.message.SerialPacket
        amTypeSet(AM_TYPE);
        ^
SerialPacket.java:71: cannot find symbol
symbol  : method amTypeSet(int)
location: class net.tinyos.message.SerialPacket
        amTypeSet(AM_TYPE);
        ^
SerialPacket.java:80: cannot find symbol
symbol  : method amTypeSet(int)
location: class net.tinyos.message.SerialPacket
        amTypeSet(AM_TYPE);
        ^
SerialPacket.java:150: cannot find symbol
symbol  : method getUIntBEElement(int,int)
location: class net.tinyos.message.SerialPacket
        return (int)getUIntBEElement(offsetBits_header_dest(), 16);
                    ^
SerialPacket.java:157: cannot find symbol
symbol  : method setUIntBEElement(int,int,int)
location: class net.tinyos.message.SerialPacket
        setUIntBEElement(offsetBits_header_dest(), 16, value);
        ^
SerialPacket.java:213: cannot find symbol
symbol  : method getUIntBEElement(int,int)
location: class net.tinyos.message.SerialPacket
        return (int)getUIntBEElement(offsetBits_header_src(), 16);
                    ^
SerialPacket.java:220: cannot find symbol
symbol  : method setUIntBEElement(int,int,int)
location: class net.tinyos.message.SerialPacket
        setUIntBEElement(offsetBits_header_src(), 16, value);
        ^
SerialPacket.java:276: cannot find symbol
symbol  : method getUIntBEElement(int,int)
location: class net.tinyos.message.SerialPacket
        return (short)getUIntBEElement(offsetBits_header_length(), 8);
                      ^
SerialPacket.java:283: cannot find symbol
symbol  : method setUIntBEElement(int,int,short)
location: class net.tinyos.message.SerialPacket
        setUIntBEElement(offsetBits_header_length(), 8, value);
        ^
SerialPacket.java:339: cannot find symbol
symbol  : method getUIntBEElement(int,int)
location: class net.tinyos.message.SerialPacket
        return (short)getUIntBEElement(offsetBits_header_group(), 8);
                      ^
SerialPacket.java:346: cannot find symbol
symbol  : method setUIntBEElement(int,int,short)
location: class net.tinyos.message.SerialPacket
        setUIntBEElement(offsetBits_header_group(), 8, value);
        ^
SerialPacket.java:402: cannot find symbol
symbol  : method getUIntBEElement(int,int)
location: class net.tinyos.message.SerialPacket
        return (short)getUIntBEElement(offsetBits_header_type(), 8);
                      ^
SerialPacket.java:409: cannot find symbol
symbol  : method setUIntBEElement(int,int,short)
location: class net.tinyos.message.SerialPacket
        setUIntBEElement(offsetBits_header_type(), 8, value);
        ^
SerialPacket.java:487: cannot find symbol
symbol  : method getUIntBEElement(int,int)
location: class net.tinyos.message.SerialPacket
        return (short)getUIntBEElement(offsetBits_data(index1), 8);
                      ^
SerialPacket.java:494: cannot find symbol
symbol  : method setUIntBEElement(int,int,short)
location: class net.tinyos.message.SerialPacket
        setUIntBEElement(offsetBits_data(index1), 8, value);
        ^
SerialPacket.java:545: cannot find symbol
symbol  : class Message
location: package net.tinyos.message
         char carr[] = new 
char[net.tinyos.message.Message.MAX_CONVERTED_STRING_LENGTH];
                                                  ^
24 errors
make[3]: *** [SerialPacket.class] Error 1
make[3]: Leaving directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos/message'
make[3]: Entering directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos/sf'
... /opt/tinyos-2.x/support/sdk/java/net/tinyos/sf
javac SFClient.java
SFClient.java:52: package net.tinyos.packet does not exist
import net.tinyos.packet.*;
^
SFClient.java:54: cannot find symbol
symbol: class SFProtocol
public class SFClient extends SFProtocol implements Runnable, PacketListenerIF {
                              ^
SFClient.java:54: cannot find symbol
symbol: class PacketListenerIF
public class SFClient extends SFProtocol implements Runnable, PacketListenerIF {
                                                              ^
SFClient.java:57: cannot find symbol
symbol  : class SerialForwarder
location: class net.tinyos.sf.SFClient
    private SerialForwarder sf;
            ^
SFClient.java:58: cannot find symbol
symbol  : class SFListen
location: class net.tinyos.sf.SFClient
    private SFListen listenServer;
            ^
SFClient.java:60: cannot find symbol
symbol  : class SerialForwarder
location: class net.tinyos.sf.SFClient
    public SFClient(Socket socket, SerialForwarder serialForward,
                                   ^
SFClient.java:61: cannot find symbol
symbol  : class SFListen
location: class net.tinyos.sf.SFClient
                    SFListen listenSvr) {
                    ^
SFClient.java:63: cannot find symbol
symbol  : constructor Thread(net.tinyos.sf.SFClient)
location: class java.lang.Thread
        thread = new Thread(this);
                 ^
SFClient.java:68: cannot find symbol
symbol  : variable name
location: class net.tinyos.sf.SFClient
        name = "client at " + addr.getHostName() +
        ^
SFClient.java:70: cannot find symbol
symbol  : variable name
location: class net.tinyos.sf.SFClient
        sf.debug.message("new " + name);
                                  ^
SFClient.java:74: cannot find symbol
symbol  : variable is
location: class net.tinyos.sf.SFClient
        is = socket.getInputStream();
        ^
SFClient.java:75: cannot find symbol
symbol  : variable os
location: class net.tinyos.sf.SFClient
        os = socket.getOutputStream();
        ^
SFClient.java:76: cannot find symbol
symbol  : variable super
location: class net.tinyos.sf.SFClient
        super.openSource();
        ^
SFClient.java:91: cannot find symbol
symbol  : method close()
location: class net.tinyos.sf.SFClient
            close();
            ^
SFClient.java:120: cannot find symbol
symbol  : method readPacket()
location: class net.tinyos.sf.SFClient
            byte[] packet = readPacket();
                            ^
SFClient.java:130: cannot find symbol
symbol  : method writePacket(byte[])
location: class net.tinyos.sf.SFClient
            writePacket(packet);
            ^
16 errors
make[3]: *** [SFClient.class] Error 1
make[3]: Leaving directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos/sf'
make[3]: Entering directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos/comm'
... /opt/tinyos-2.x/support/sdk/java/net/tinyos/comm
javac ByteQueue.java
javac NativeSerial.java
NativeSerial.java:33: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    this(TOSCommJNI.new_NativeSerial(portname), true);
         ^
NativeSerial.java:54: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
      swigCPtr = TOSCommJNI.new_NativeSerial(myPortname);
                 ^
NativeSerial.java:68: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
      TOSCommJNI.NativeSerial_close(swigCPtr);
      ^
NativeSerial.java:83: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
      TOSCommJNI.delete_NativeSerial(swigCPtr);
      ^
NativeSerial.java:94: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    TOSCommJNI.NativeSerial_setSerialPortParams(swigCPtr, baudrate, databits,
    ^
NativeSerial.java:99: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    return TOSCommJNI.NativeSerial_getBaudRate(swigCPtr);
           ^
NativeSerial.java:103: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    return TOSCommJNI.NativeSerial_getDataBits(swigCPtr);
           ^
NativeSerial.java:107: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    return TOSCommJNI.NativeSerial_getStopBits(swigCPtr);
           ^
NativeSerial.java:111: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    return TOSCommJNI.NativeSerial_getParity(swigCPtr);
           ^
NativeSerial.java:116: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
      TOSCommJNI.NativeSerial_notifyOn(swigCPtr, event, enable);
      ^
NativeSerial.java:121: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    return TOSCommJNI.NativeSerial_isNotifyOn(swigCPtr, event);
           ^
NativeSerial.java:127: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
        return TOSCommJNI.NativeSerial_waitForEvent(swigCPtr);
               ^
NativeSerial.java:137: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
      return TOSCommJNI.NativeSerial_cancelWait(swigCPtr);
             ^
NativeSerial.java:143: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    return TOSCommJNI.NativeSerial_didEventOccur(swigCPtr, event);
           ^
NativeSerial.java:147: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    TOSCommJNI.NativeSerial_setDTR(swigCPtr, high);
    ^
NativeSerial.java:151: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    TOSCommJNI.NativeSerial_setRTS(swigCPtr, high);
    ^
NativeSerial.java:155: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    return TOSCommJNI.NativeSerial_isDTR(swigCPtr);
           ^
NativeSerial.java:159: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    return TOSCommJNI.NativeSerial_isRTS(swigCPtr);
           ^
NativeSerial.java:163: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    return TOSCommJNI.NativeSerial_isCTS(swigCPtr);
           ^
NativeSerial.java:167: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    return TOSCommJNI.NativeSerial_isDSR(swigCPtr);
           ^
NativeSerial.java:171: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    return TOSCommJNI.NativeSerial_isRI(swigCPtr);
           ^
NativeSerial.java:175: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    return TOSCommJNI.NativeSerial_isCD(swigCPtr);
           ^
NativeSerial.java:179: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    TOSCommJNI.NativeSerial_sendBreak(swigCPtr, millis);
    ^
NativeSerial.java:184: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
      return TOSCommJNI.NativeSerial_available(swigCPtr);
             ^
NativeSerial.java:191: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    return TOSCommJNI.NativeSerial_read__SWIG_0(swigCPtr);
           ^
NativeSerial.java:195: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    return TOSCommJNI.NativeSerial_read__SWIG_1(swigCPtr, buffer_out, off, len);
           ^
NativeSerial.java:199: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    return TOSCommJNI.NativeSerial_write__SWIG_0(swigCPtr, b);
           ^
NativeSerial.java:203: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    return TOSCommJNI.NativeSerial_write__SWIG_1(swigCPtr, buffer_in, off, len);
           ^
NativeSerial.java:207: cannot find symbol
symbol  : variable TOSCommJNI
location: class net.tinyos.comm.NativeSerial
    return TOSCommJNI.NativeSerial_getTOSCommMap();
           ^
29 errors
make[3]: *** [NativeSerial.class] Error 1
make[3]: Leaving directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos/comm'
make[3]: Entering directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos/mviz'
... /opt/tinyos-2.x/support/sdk/java/net/tinyos/mviz
javac DDocument.java
DDocument.java:49: package net.tinyos.message does not exist
import net.tinyos.message.*;
^
DDocument.java:68: cannot find symbol
symbol  : class DNavigate
location: class net.tinyos.mviz.DDocument
    public DNavigate navigator;
           ^
DDocument.java:325: cannot find symbol
symbol  : class DMoteModelListener
location: class net.tinyos.mviz.DDocument
        implements DMoteModelListener {
                   ^
DDocument.java:168: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument
    protected DMoteModel selected = null;
              ^
DDocument.java:179: cannot find symbol
symbol  : class DShape
location: class net.tinyos.mviz.DDocument
    public DShape getSelected() {
           ^
DDocument.java:183: cannot find symbol
symbol  : class DShape
location: class net.tinyos.mviz.DDocument
    public void setSelected(DShape selected) {
                            ^
DDocument.java:189: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument
    private DMoteModel createNewMote(int moteID){
            ^
DDocument.java:206: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument
    private DLinkModel createNewLink(DMoteModel start, DMoteModel end) {
                                     ^
DDocument.java:206: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument
    private DLinkModel createNewLink(DMoteModel start, DMoteModel end) {
                                                       ^
DDocument.java:206: cannot find symbol
symbol  : class DLinkModel
location: class net.tinyos.mviz.DDocument
    private DLinkModel createNewLink(DMoteModel start, DMoteModel end) {
            ^
DDocument.java:361: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument.DrawTableModel
        public void shapeChanged(DMoteModel changed, int type){
                                 ^
DDocument.java:366: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument.DrawTableModel
        public void add(DMoteModel model){
                        ^
DDocument.java:372: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument.DrawTableModel
        public void remove(DMoteModel model){
                           ^
DDocument.java:381: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument.DrawTableModel
        private int findModel(DMoteModel changed){
                              ^
DDocument.java:142: cannot find symbol
symbol  : class DNavigate
location: class net.tinyos.mviz.DDocument
        navigator = new DNavigate(sensed_motes, sensed_links, this);
                        ^
DDocument.java:190: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument
        DMoteModel m = new DMoteModel(moteID, rand, this);
        ^
DDocument.java:190: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument
        DMoteModel m = new DMoteModel(moteID, rand, this);
                           ^
DDocument.java:207: cannot find symbol
symbol  : class DLinkModel
location: class net.tinyos.mviz.DDocument
        DLinkModel dl = new DLinkModel(start, end, rand, this);
        ^
DDocument.java:207: cannot find symbol
symbol  : class DLinkModel
location: class net.tinyos.mviz.DDocument
        DLinkModel dl = new DLinkModel(start, end, rand, this);
                            ^
DDocument.java:226: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument
            DMoteModel m = (DMoteModel)moteIndex.get(new Integer(moteID));
            ^
DDocument.java:226: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument
            DMoteModel m = (DMoteModel)moteIndex.get(new Integer(moteID));
                            ^
DDocument.java:240: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument
            DMoteModel m = (DMoteModel)moteIndex.get(new Integer(startMote));
            ^
DDocument.java:240: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument
            DMoteModel m = (DMoteModel)moteIndex.get(new Integer(startMote));
                            ^
DDocument.java:244: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument
            DMoteModel m2 = (DMoteModel)moteIndex.get(new Integer(endMote));
            ^
DDocument.java:244: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument
            DMoteModel m2 = (DMoteModel)moteIndex.get(new Integer(endMote));
                             ^
DDocument.java:248: cannot find symbol
symbol  : class DLinkModel
location: class net.tinyos.mviz.DDocument
            DLinkModel dl = (DLinkModel)linkIndex.get(startMote + " " + 
endMote);
            ^
DDocument.java:248: cannot find symbol
symbol  : class DLinkModel
location: class net.tinyos.mviz.DDocument
            DLinkModel dl = (DLinkModel)linkIndex.get(startMote + " " + 
endMote);
                             ^
DDocument.java:295: cannot find symbol
symbol  : class DataModel
location: class net.tinyos.mviz.DDocument
        DataModel model = new DataModel(packetVector);
        ^
DDocument.java:295: cannot find symbol
symbol  : class DataModel
location: class net.tinyos.mviz.DDocument
        DataModel model = new DataModel(packetVector);
                              ^
DDocument.java:303: cannot find symbol
symbol  : class MessageInput
location: class net.tinyos.mviz.DDocument
        MessageInput input = new MessageInput(packetVector, source, doc);
        ^
DDocument.java:303: cannot find symbol
symbol  : class MessageInput
location: class net.tinyos.mviz.DDocument
        MessageInput input = new MessageInput(packetVector, source, doc);
                                 ^
DDocument.java:310: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument
            ((DMoteModel)it.next()).requestRepaint();
              ^
DDocument.java:316: cannot find symbol
symbol  : class DLink
location: class net.tinyos.mviz.DDocument
            ((DLink)it.next()).repaint();
              ^
DDocument.java:350: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument.DrawTableModel
            DMoteModel model = (DMoteModel) DDocument.this.motes.get(row);
            ^
DDocument.java:350: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument.DrawTableModel
            DMoteModel model = (DMoteModel) DDocument.this.motes.get(row);
                                ^
DDocument.java:383: cannot find symbol
symbol  : class DMoteModel
location: class net.tinyos.mviz.DDocument.DrawTableModel
                if ((DMoteModel)DDocument.this.motes.get(i) == changed)
                     ^
DDocument.java:408: cannot find symbol
symbol: class DMoteModel
                            DMoteModel model = (DMoteModel)it.next();
                            ^
DDocument.java:408: cannot find symbol
symbol: class DMoteModel
                            DMoteModel model = (DMoteModel)it.next();
                                                ^
DDocument.java:411: operator + cannot be applied to DMoteModel.getLocX,int
                                            model.getLocX() + 20) &&
                                                         ^
DDocument.java:409: withinRange(int,int,int) in  cannot be applied to 
(int,int,<nulltype>)
                            if (withinRange(e.getX(),
                                ^
DDocument.java:414: operator + cannot be applied to DMoteModel.getLocY,int
                                            model.getLocY() + 20)) {
                                                         ^
DDocument.java:412: withinRange(int,int,int) in  cannot be applied to 
(int,int,<nulltype>)
                                withinRange(e.getY(),
                                ^
DDocument.java:444: operator + cannot be applied to DMoteModel.getLocX,int
                            selected.move(selected.getLocX() + dx, 
selected.getLocY() + dy);
                                                          ^
DDocument.java:444: operator + cannot be applied to DMoteModel.getLocY,int
                            selected.move(selected.getLocX() + dx, 
selected.getLocY() + dy);
                                                                                
   ^
Note: DDocument.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
44 errors
make[3]: *** [DDocument.class] Error 1
make[3]: Leaving directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos/mviz'
make[3]: Entering directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos/sim'
... /opt/tinyos-2.x/support/sdk/java/net/tinyos/sim
javac LinkLayerModel.java
make[3]: Leaving directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos/sim'
make[3]: Entering directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos/tools'
... /opt/tinyos-2.x/support/sdk/java/net/tinyos/tools
mig java  -java-classname=net.tinyos.tools.PrintfMsg 
/opt/tinyos-2.x/tos/lib/printf/printf.h printf_msg -o PrintfMsg.java
/opt/tinyos-2.x/tos/lib/printf/printf.h:54:30: error: generic_printf.h: No such 
file or directory
failed to parse message file /opt/tinyos-2.x/tos/lib/printf/printf.h
make[3]: *** [PrintfMsg.java] Error 1
make[3]: Leaving directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos/tools'
make[3]: Entering directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos/util'
... /opt/tinyos-2.x/support/sdk/java/net/tinyos/util
javac Crc.java
javac DiagMsg.java
DiagMsg.java:26: package net.tinyos.packet does not exist
import net.tinyos.packet.*;
^
DiagMsg.java:27: cannot find symbol
symbol  : class PrintStreamMessenger
location: package net.tinyos.util
import net.tinyos.util.PrintStreamMessenger;
                      ^
DiagMsg.java:29: cannot find symbol
symbol: class PacketListenerIF
public class DiagMsg implements PacketListenerIF {
                                ^
DiagMsg.java:40: cannot find symbol
symbol  : class PhoenixSource
location: class net.tinyos.util.DiagMsg
    protected PhoenixSource forwarder;
              ^
DiagMsg.java:42: cannot find symbol
symbol  : class PhoenixSource
location: class net.tinyos.util.DiagMsg
    public DiagMsg(PhoenixSource forwarder)
                   ^
DiagMsg.java:55: cannot find symbol
symbol  : class PhoenixSource
location: class net.tinyos.util.DiagMsg
                PhoenixSource phoenix = null;
                ^
DiagMsg.java:58: cannot find symbol
symbol  : variable PrintStreamMessenger
location: class net.tinyos.util.DiagMsg
                        phoenix = 
BuildSource.makePhoenix(PrintStreamMessenger.err);
                                                          ^
DiagMsg.java:58: cannot find symbol
symbol  : variable BuildSource
location: class net.tinyos.util.DiagMsg
                        phoenix = 
BuildSource.makePhoenix(PrintStreamMessenger.err);
                                  ^
DiagMsg.java:60: cannot find symbol
symbol  : variable PrintStreamMessenger
location: class net.tinyos.util.DiagMsg
                        phoenix = BuildSource.makePhoenix(args[1], 
PrintStreamMessenger.err);
                                                                   ^
DiagMsg.java:60: cannot find symbol
symbol  : variable BuildSource
location: class net.tinyos.util.DiagMsg
                        phoenix = BuildSource.makePhoenix(args[1], 
PrintStreamMessenger.err);
                                  ^
10 errors
make[3]: *** [DiagMsg.class] Error 1
make[3]: Leaving directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos/util'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/opt/tinyos-2.x/support/sdk/java/net'
make: *** [subdirs] Error 2
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to