[Tinyos-help] TestTYMO problem

"José A. Tarifa" jostargal at alum.us.es
Fri Nov 26 12:42:55 PST 2010


Hi!
I want to use the TYMO (DYMO) protocol. I've download 
"\tos\lib\net\tymo" and "\app\tests\TestTymo" files (because they 
weren't in my default TinyOS installation).
I try to compile the application: "make telosb", but I get the following 
(errors):

----------------------------------------------(cygwin console)
mkdir -p build/telosb
tos-storage-stm25p  /opt/tinyos-2.x/tos/platforms/telosb 
<volumes-stm25p.xml >build/telosb/StorageVolumes.h || rm -f build/telosb/
StorageVolumes.h
Traceback (most recent call last):
   File "/usr/bin/tos-storage-stm25p", line 52, in ?
     from subprocess import Popen, PIPE
ImportError: No module named subprocess
     compiling TestC to a telosb binary
ncc -o build/telosb/main.exe  -Os -O -I../../../tos/lib/net/tymo 
-I../../../tos/lib/net/tymo/dymo -I../../../tos/lib/net/tymo/mh -
mdisable-hwmul -fnesc-separator=__ -Wall -Wshadow -Wnesc-all 
-target=telosb -fnesc-cfile=build/telosb/app.c -board= -DDEFINED_TOS_
AM_GROUP=0x22 -Ibuild/telosb -DIDENT_APPNAME=\"TestC\" 
-DIDENT_USERNAME=\"User\" -DIDENT_HOSTNAME=\"User\" 
-DIDENT_USERHASH=0xe47281
9bL -DIDENT_TIMESTAMP=0x4cf016a3L -DIDENT_UIDHASH=0xe0e3716cL  TestC.nc -lm
/opt/tinyos-2.x/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: 
#warning "*** LOW POWER COMMUNICATIONS DISABLED ***"
../../../tos/lib/net/tymo/dymo/DymoServiceC.nc:6:28: error: 
StorageVolumes.h: No such file or directory
In file included from ../../../tos/lib/net/tymo/dymo/DymoServiceC.nc:34,
                  from ../../../tos/lib/net/tymo/dymo/DymoNetworkC.nc:38,
                  from TestC.nc:11:
In component `DymoEngineM':
../../../tos/lib/net/tymo/dymo/DymoEngineM.nc: In function `incr_seqnum':
../../../tos/lib/net/tymo/dymo/DymoEngineM.nc:83: warning: decimal 
constant is so large that it is unsigned
In file included from ../../../tos/lib/net/tymo/dymo/DymoNetworkC.nc:38,
                  from TestC.nc:11:
In component `DymoServiceC':
../../../tos/lib/net/tymo/dymo/DymoServiceC.nc: At top level:
../../../tos/lib/net/tymo/dymo/DymoServiceC.nc:35: `VOLUME_DYMODATA' 
undeclared here (not in a function)
/opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:38:28: error: 
StorageVolumes.h: No such file or directory
In file included from /opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorC.nc:52,
                  from 
/opt/tinyos-2.x/tos/chips/stm25p/ConfigStorageC.nc:60,
                  from ../../../tos/lib/net/tymo/dymo/DymoServiceC.nc:35,
                  from ../../../tos/lib/net/tymo/dymo/DymoNetworkC.nc:38,
                  from TestC.nc:11:
In component `Stm25pSectorP':
/opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc: In function 
`physicalAddr':
/opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:154: `STM25P_VMAP' 
undeclared (first use in this function)
/opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:154: (Each undeclared 
identifier is reported only once
/opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:154: for each function 
it appears in.)
/opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:154: subscripted value 
is neither array nor pointer
/opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc: In function 
`Sector.getNumSectors':
/opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:168: `STM25P_VMAP' 
undeclared (first use in this function)
/opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:168: subscripted value 
is neither array nor pointer
/opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc: In function 
`Sector.erase':
/opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:221: `STM25P_VMAP' 
undeclared (first use in this function)
/opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:221: subscripted value 
is neither array nor pointer
/opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc: In function 
`Spi.sectorEraseDone':
/opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:228: `STM25P_VMAP' 
undeclared (first use in this function)
$
make: *** [exe0] Error 1
----------------------------------------------(cygwin console)

Any idea what happens?
I'm using Cygwin on WinXP and TinyOS 2.1

Thanks in advance!!

-- 
Jose A.
Seville, Spain

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20101126/260293fc/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jostargal.vcf
Type: text/x-vcard
Size: 171 bytes
Desc: not available
Url : https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20101126/260293fc/attachment.vcf 


More information about the Tinyos-help mailing list