hi all,

      i'm using tinyos-1.1.10 under windows system with cygwin.i have tried a 
lot of times to compile tinydb follow the TinyDB tutorial,but never success!    
 
      When trying to compile the java client I switch to:
 /opt/tinyos-1.x/tools/javanet/tinyos/tinydb
then run make, at which point I receive the following error:

Creating simdriver.jar...
(cd ../../..; \
        jar cmf net/tinyos/sim/simdriver.manifest \
        net/tinyos/sim/simdriver-tmp.jar \
        net/tinyos/sim/*.class                  \
        net/tinyos/sim/event/*.class            \
        net/tinyos/sim/lossy/*.class            \
        net/tinyos/sim/msg/*.class              \
        net/tinyos/sim/packet/*.class           \
        net/tinyos/sim/plugins/*.class          \
        net/tinyos/sim/script/*.class           \
                net/tinyos/sim/script/reflect/*.class   \
                net/tinyos/sim/ui                       \
                net/tinyos/sim/plugins/plugins.list     \
                net/tinyos/sf/*.class                   \
                net/tinyos/util/*.class                 \
                net/tinyos/packet/*.class               \
                net/tinyos/message/*.class              \
                org/apache/oro/text/regex/*.class       \
                org/python/compiler/*.class             \
                org/python/core/*.class                 \
                org/python/modules/*.class              \
                org/python/parser/*.class               \
                org/python/parser/ast/*.class           \
                org/python/rmi/*.class                  \
                org/python/util/*.class)
rm -rf jarbuild-tmp
mkdir jarbuild-tmp
(cd jarbuild-tmp; jar xf ../simdriver-tmp.jar; jar xf
../../../../jars/oalnf.jar; rm -rf META-INF; jar cmf ../simdriver.manifest
../simdriver.jar .)
rm -rf simdriver-tmp.jar jarbuild-tmp
make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim'
mig java -target=mica2 -I /opt/tinyos-1.x/tos/lib/Commands -I
/opt/tinyos-1.x/tos/lib/Util -I /opt/tinyos-1.x/tos/lib/Attributes -I
/opt/tinyos-1.x/to
s/lib/TinyDB -I /opt/tinyos-1.x/tos/sensorboards/micasb -I
/opt/tinyos-1.x/tos/lib/TinyDB/Aggregates -I/opt/tinyos-1.x/tos/lib/FS/
-I/opt/tinyos-1.x/t
os/lib/Route -I/opt/tinyos-1.x/tos/lib/Queue
-I/opt/tinyos-1.x/tos/../apps/TASKApp
-java-classname=net.tinyos.tinydb.QueryResultMsg /opt/tinyos-1.x/to
s/../apps/TinyDBApp/TinyDBApp.nc QueryResult -o QueryResultMsg.java
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:3864:
conflicting types for `RadioReceiveCoordinator.startSymbol'
C:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/RadioCoordinator.nc:31:
previous declaration of `RadioReceiveCoordinator.startSymbol'
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:3921:
conflicting types for `RadioSendCoordinator.startSymbol'
C:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/RadioCoordinator.nc:31:
previous declaration of `RadioSendCoordinator.startSymbol'
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:196:
`RadioReceiveCoordinator.blockTimer' not implemented
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:196:
`RadioSendCoordinator.blockTimer' not implemented
failed to parse message file
/opt/tinyos-1.x/tos/../apps/TinyDBApp/TinyDBApp.nc
make: *** [QueryResultMsg.java] Error 1

      Then i ask tinydb's author Samuel Madden for help,he tell me that using 
tinyos-1.1.15 may fix this problem,then i update tinyos to 1.1.15 version 
successed,but when i switch to "/opt/tinyos-1.x/tools/javanet/tinyos/tinydb" 
and run "make", a new error occur:
      
$ make
cd ../message
make -C ../message -f Makefile
make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/message'
... /opt/tinyos-1.x/tools/java/net/tinyos/message
make[2]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/message/avrmo
te'
... /opt/tinyos-1.x/tools/java/net/tinyos/message/avrmote
make[2]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/message/avrmot
e'
make[2]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/message/telos
'
... /opt/tinyos-1.x/tools/java/net/tinyos/message/telos
make[2]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/message/telos'
make[2]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/message/micaz
'
... /opt/tinyos-1.x/tools/java/net/tinyos/message/micaz
make[2]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/message/micaz'
make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/message'
cd ../util
make -C ../util -f Makefile
make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/util'
... /opt/tinyos-1.x/tools/java/net/tinyos/util
make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/util'
cd ../sf
make -C ../sf -f Makefile
make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/sf'
... /opt/tinyos-1.x/tools/java/net/tinyos/sf
make[2]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/sf/old'
... /opt/tinyos-1.x/tools/java/net/tinyos/sf/old
make[2]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/sf/old'
make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/sf'
cd ../sim
make -C ../sim -f Makefile
make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim'
... /opt/tinyos-1.x/tools/java/net/tinyos/sim
(cd msg; make)
make[2]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'
mig java -target=pc -java-classname=net.tinyos.sim.msg.DebugMsgEvent ../../../..
/../../tos/platform/pc/GuiMsg.h DebugMsgEvent -o DebugMsgEvent.java
make[2]: *** [DebugMsgEvent.java] Error 255
make[2]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'
make[1]: *** [msgs] Error 2
make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim'
make: *** [sim] Error 2

my nesc's version has been updated from1.1.1w to 1.2.4,i have no idear about if 
the problem mentioned above is in relation to the nesc version,
can anyone have met this problem or know how to fix it? i need your help! 
thanks!
2008-09-29 



  杨冰 [EMAIL PROTECTED]

  北京航空航天大学软件开发环境国家重点实验室新主楼G座613 
  手机:15810239065
  固定电话:(010)82316733 
  
  
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to