Do you have an volumes-at45db.xml (mica), volumes-pxa27xp30.xml
(imote), or volumes-stm25p.xml (telos) file in you application
directory?  Look at tinyos-2.x/apps/tests/storage for an example. And
take a look at the tutorial found here...

http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson7.html

Kevin

On Nov 12, 2007 3:11 PM, Iturralde Garrote, Pablo M.
<[EMAIL PROTECTED]> wrote:
>
>
> Hi I have a serious problem when I try to compile any application that
> store things in the flash.
> It say to me that StorageVolumes.h nor found.
> this is what I get.
> $ make tmote
>  mkdir -p build/telosb
>  tos-storage-stm25p /opt/tinyos-2.x/tos/platforms/telosb <volumes-stm25p.xml
> >bui
>  ld/telosb/StorageVolumes.h || rm -f build/telosb/StorageVolumes.h
>  Traceback (most recent call last):
>    File "/usr/bin/tos-storage-stm25p", line 51, in ?
>      from subprocess import Popen, PIPE
>  ImportError: No module named subprocess
>      compiling RandRWAppC to a telosb binary
>  ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
> -DDEF_TOS_AM_
>  GROUP=0x7d -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c
> -board= -Ib
>  uild/telosb -DIDENT_PROGRAM_NAME=\"RandRWAppC\" -DIDENT_USER_ID=\"usuario\"
> -DID
>  ENT_HOSTNAME=\"user-0e111c2e18\" -DIDENT_USER_HASH=0x8dd4cc45L
> -DIDENT_UNIX_TIME
>  =0x4738d4dbL -DIDENT_UID_HASH=0xc407eea9L  RandRWAppC.nc -lm
>  RandRWAppC.nc:17:28: StorageVolumes.h: No such file or directory
>  <commandline>: failed to preprocess RandRWAppC.nc
>  make: *** [exe0] Error 1
>
> and this is how my paths are set.
>
>
>
> TOSROOT="/opt/tinyos-2.x"
>
> export TOSROOT
>
> TOSDIR="$TOSROOT/tos"
>
> export TOSDIR
>
> CLASSPATH=`cygpath -w $TOSROOT/support/sdk/java/tinyos.jar`
>
> export CLASSPATH="$CLASSPATH;."
>
> MAKERULES="$TOSROOT/support/make/Makerules"
>
> export MAKERULES
>
> type java >/dev/null 2>/dev/null || PATH=`/usr/bin/tos-locate-jre
> --java`:$PATH
>
> type javac >/dev/null 2>/dev/null || PATH=`/usr/bin/tos-locate-jre
> --javac`:$PATH
>
> echo $PATH | grep -q /usr/local/bin || PATH=/usr/local/bin:$PATH
>
>
>
> please!! some body help me
>
> thanks in advance
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



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

Reply via email to