I have the following problem, when I try to run the "Listen" tool to watch what my TOSbase mote is sending, I run the Serial Forwarder:
 
java net.tinyos.sf.SerialForwarder -comm [EMAIL PROTECTED]:57600
 
 and until that point, I'm OK, but when I run the Listen tool:
 
java net.tinyos.tools.Listen
 
I got this message:
 
$ java net.tinyos.tools.Listen
Exception in thread "main" java.lang.NoClassDefFoundError: net/tinyos/tools/Listen
 
So I try a "make" in the:
 
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java

file and I get 100 Errors, I attach the information down.... I have set the CLASSPATH with this command:
 
$ export CLASSPATH='C:\tinyos\cygwin\opt\tinyos-1.x\tools\java;'$CLASSPATH
 
and this one:
 
$ export CLASSPATH='C:\tinyos\cygwin\opt\tinyos-1.x\contrib\xbow\tools\java;'$CLASSPATH
 
and several others but I still get the 100 errors... the thing is that when I use to have the TinyOS 1.1.7 version it use to work good... now that I have  had to upgrade I have this problems... can anybody help me please?
 
---------------------------------------------------------------

symbol  : variable DelugeConsts
location: class net.tinyos.deluge.Downloader
          advMsg.set_type(DelugeConsts.DELUGE_ADV_PING);
                          ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Downloader.java:116
: cannot resolve symbol
symbol  : class DelugeReqMsg
location: class net.tinyos.deluge.Downloader
          DelugeReqMsg reqMsg = new DelugeReqMsg();
          ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Downloader.java:116
: cannot resolve symbol
symbol  : class DelugeReqMsg
location: class net.tinyos.deluge.Downloader
          DelugeReqMsg reqMsg = new DelugeReqMsg();
                                    ^
C:\tinyos\cygwin\opt\tinyos- 1.x\tools\java\net\tinyos\deluge\Downloader.java:263
: cannot resolve symbol
symbol  : variable DelugeAdvMsg
location: class net.tinyos.deluge.Downloader
    case DelugeAdvMsg.AM_TYPE:
         ^
C:\tinyos\cygwin\opt\tinyos- 1.x\tools\java\net\tinyos\deluge\Downloader.java:265
: cannot resolve symbol
symbol  : class DelugeAdvMsg
location: class net.tinyos.deluge.Downloader
      DelugeAdvMsg adv = (DelugeAdvMsg)m;
      ^
C:\tinyos\cygwin\opt\tinyos- 1.x\tools\java\net\tinyos\deluge\Downloader.java:265
: cannot resolve symbol
symbol  : class DelugeAdvMsg
location: class net.tinyos.deluge.Downloader
      DelugeAdvMsg adv = (DelugeAdvMsg)m;
                          ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Downloader.java:269
: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.Downloader
      if ( adv.get_type () != DelugeConsts.DELUGE_ADV_NORMAL )
                             ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Downloader.java:281
: cannot resolve symbol
symbol  : variable DelugeDataMsg
location: class net.tinyos.deluge.Downloader
    case DelugeDataMsg.AM_TYPE:
         ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Downloader.java:283
: cannot resolve symbol
symbol  : class DelugeDataMsg
location: class net.tinyos.deluge.Downloader
      DelugeDataMsg data = "">      ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Downloader.java:283
: cannot resolve symbol
symbol  : class DelugeDataMsg
location: class net.tinyos.deluge.Downloader
      DelugeDataMsg data = "">                            ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Downloader.java:301
: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.Downloader
                           pgNum*PAGE_SIZE + pktNum*DelugeConsts.DELUGE_PKT_PAYL
OAD_SIZE,
                                                    ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Downloader.java:302
: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.Downloader
                           DelugeConsts.DELUGE_PKT_PAYLOAD_SIZE);
                           ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Downloader.java:304
: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.Downloader
          if (pktsReceived >= DelugeConsts.DELUGE_PKTS_PER_PAGE) {
                              ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
59: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.ImageInjector
    if (imageNum == DelugeConsts.DELUGE_GOLDEN_IMAGE_NUM
                    ^
C:\tinyos\cygwin\opt\tinyos- 1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
79: cannot resolve symbol
symbol  : class DelugeAdvMsg
location: class net.tinyos.deluge.ImageInjector
    advMsg = (DelugeAdvMsg)pingReply.clone();
              ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
81: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.ImageInjector
    advMsg.set_type (DelugeConsts.DELUGE_ADV_PC);
                    ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
95: cannot resolve symbol
symbol  : class DelugeAdvMsg
location: class net.tinyos.deluge.ImageInjector
      DelugeAdvMsg tmpAdvMsg = pinger.getPingReply(i);
      ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
108: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.ImageInjector
      if (newVersion == DelugeConsts.DELUGE_INVALID_VNUM)
                        ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
138: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.ImageInjector
      if (newVersion == DelugeConsts.DELUGE_INVALID_VNUM)
                        ^
C:\tinyos\cygwin\opt\tinyos- 1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
152: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.ImageInjector
    if (pingReply.get_imgDesc_imgNum() == DelugeConsts.DELUGE_GOLDEN_IMAGE_NUM
                                          ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
184: cannot resolve symbol
symbol  : class DelugeAdvMsg
location: class net.tinyos.deluge.ImageInjector
    moteif.registerListener(new DelugeAdvMsg(), this);
                                ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
185: cannot resolve symbol
symbol  : class DelugeReqMsg
location: class net.tinyos.deluge.ImageInjector
    moteif.registerListener(new DelugeReqMsg(), this);
                                ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
215: cannot resolve symbol
symbol  : variable DelugeAdvMsg
location: class net.tinyos.deluge.ImageInjector
    case DelugeAdvMsg.AM_TYPE:
         ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
217: cannot resolve symbol
symbol  : class DelugeAdvMsg
location: class net.tinyos.deluge.ImageInjector
      DelugeAdvMsg rxAdvMsg = (DelugeAdvMsg)m;
      ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
217: cannot resolve symbol
symbol  : class DelugeAdvMsg
location: class net.tinyos.deluge.ImageInjector
      DelugeAdvMsg rxAdvMsg = (DelugeAdvMsg)m;
                               ^
C:\tinyos\cygwin\opt\tinyos- 1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
221: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.ImageInjector
      if ( rxAdvMsg.get_type() != DelugeConsts.DELUGE_ADV_NORMAL )
                                  ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
234: cannot resolve symbol
symbol  : variable DelugeReqMsg
location: class net.tinyos.deluge.ImageInjector
    case DelugeReqMsg.AM_TYPE:
         ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
236: cannot resolve symbol
symbol  : class DelugeReqMsg
location: class net.tinyos.deluge.ImageInjector
      DelugeReqMsg req = (DelugeReqMsg)m;
      ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
236: cannot resolve symbol
symbol  : class DelugeReqMsg
location: class net.tinyos.deluge.ImageInjector
      DelugeReqMsg req = (DelugeReqMsg)m;
                          ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
237: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.ImageInjector
      boolean  pktsToSend[] = new boolean[DelugeConsts.DELUGE_PKTS_PER_PAGE];
                                          ^
C:\tinyos\cygwin\opt\tinyos- 1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
245: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.ImageInjector
      for ( int i = 0; i < DelugeConsts.DELUGE_PKTS_PER_PAGE ; i++ ) {
                           ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
261: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.ImageInjector.PageInjector
    private boolean pktsToSend[] = new boolean[DelugeConsts.DELUGE_PKTS_PER_PAGE
];
                                               ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
262: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.ImageInjector.PageInjector
    private int     pageToSend = DelugeConsts.DELUGE_INVALID_PGNUM;
                                 ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
293: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.ImageInjector.PageInjector
      for ( int i = 0; i < DelugeConsts.DELUGE_PKTS_PER_PAGE; i++ ) {
                           ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
302: cannot resolve symbol
symbol  : class DelugeDataMsg
location: class net.tinyos.deluge.ImageInjector.PageInjector
      DelugeDataMsg dataMsg = new DelugeDataMsg();
      ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
302: cannot resolve symbol
symbol  : class DelugeDataMsg
location: class net.tinyos.deluge.ImageInjector.PageInjector
      DelugeDataMsg dataMsg = new DelugeDataMsg();
                                  ^
C:\tinyos\cygwin\opt\tinyos- 1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
303: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.ImageInjector.PageInjector
      short packet[] = new short[DelugeConsts.DELUGE_PKT_PAYLOAD_SIZE ];
                                 ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
306: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.ImageInjector.PageInjector
        pageToSend = DelugeConsts.DELUGE_INVALID_PGNUM;
                     ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
322: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.ImageInjector.PageInjector
        curPkt = (curPkt+1) % DelugeConsts.DELUGE_PKTS_PER_PAGE;
                              ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
324: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.ImageInjector.PageInjector
      System.arraycopy(imageBytes, pageToSend*(DelugeConsts.DELUGE_PKTS_PER_PAGE
*DelugeConsts.DELUGE_PKT_PAYLOAD_SIZE )
                                               ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
324: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.ImageInjector.PageInjector
      System.arraycopy(imageBytes, pageToSend*(DelugeConsts.DELUGE_PKTS_PER_PAGE
*DelugeConsts.DELUGE_PKT_PAYLOAD_SIZE)

 ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
325: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.ImageInjector.PageInjector
                       + curPkt*DelugeConsts.DELUGE_PKT_PAYLOAD_SIZE,
                                ^
C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\ImageInjector.java:
327: cannot resolve symbol
symbol  : variable DelugeConsts
location: class net.tinyos.deluge.ImageInjector.PageInjector
                       DelugeConsts.DELUGE_PKT_PAYLOAD_SIZE);
                       ^
100 errors
make[3]: *** [Deluge.class ] Error 1
make[3]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/tools'
make[3]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/util'
... /opt/tinyos-1.x/tools/java/net/tinyos/util
make[3]: Leaving directory `/opt/tinyos- 1.x/tools/java/net/tinyos/util'
make[3]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/vm_asm'
... /opt/tinyos-1.x/tools/java/net/tinyos/vm_asm
ncg java -I/opt/tinyos-1.x/tos/../apps/Bombilla/ -I/opt/tinyos- 1.x/tos/lib/VM/co
mponents -I/opt/tinyos-1.x/tos/lib/VM/interfaces -I/opt/tinyos-1.x/tos/lib/VM/ty
pes -I/opt/tinyos-1.x/tos/lib/VM/contexts -I/opt/tinyos-1.x/tos/lib/VM/opcodes -
I/opt/tinyos-1.x/tos/lib/Route -I/opt/tinyos- 1.x/tos/lib/Queue -I/opt/tinyos-1.x
/tos/sensorboards/micasb -java-classname=net.tinyos.vm_asm.BombillaConstants /op
t/tinyos-1.x/tos/../apps/Bombilla/AbstractMate.nc AbstractConstants.h  -oBombill
aConstants.java
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/VM/components/BQueue.nc:83: parse error
before `new'
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/VM/components/BQueue.nc: In function `li
st_insert_before':
C:/tinyos/cygwin/opt/tinyos- 1.x/tos/lib/VM/components/BQueue.nc:86: parse error
before `new'
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/VM/components/BQueue.nc:87: parse error
before `new'
failed to parse nesC file /opt/tinyos-1.x/tos/../apps/Bombilla/AbstractMate.nc
make[3]: *** [BombillaConstants.java] Error 1
make[3]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/vm_asm'
*** no Makefile in directory: /opt/tinyos-1.x/tools/java/net/tinyos/./xnp
make[2]: Leaving directory `/opt/tinyos- 1.x/tools/java/net/tinyos'
make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net'
make[1]: Entering directory `/opt/tinyos-1.x/tools/java/jni'
make -f Makefile.CYGWIN "JDK=/cygdrive/c/tinyos/jdk1.4.1_02/j2sdk1.4.1_02" "JNI=
/cygdrive/c/tinyos/jdk1.4.1_02/j2sdk1.4.1_02/jre/bin" all
make[2]: Entering directory `/opt/tinyos-1.x/tools/java/jni'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/tinyos-1.x/tools/java/jni'
make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/jni'


--
Daniel Villón V.
Departamento de Ingeniería Telemática.
Universitat Politècnica de Catalunya (UPC)
Campus Nord, Modulo C3 Laboratorio 003
C/. Jordi Girona 1-3, Barcelona
08034, España
Telefóno: +34 93 289 36 71
Celular:   +34 697 91 43 53
e-mail: [EMAIL PROTECTED]
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to