Hi!
On Fri, 7 Mar 2008, [EMAIL PROTECTED] wrote:
Hi all,
I'm trying to install Deluge following the programming manual available on link
http://www.tinyos.net/tinyos-2.x/doc/html/deluge-t2-manual.html, but i have
some troubles. I followed step by step all the instructions but when I try to
compile it, i have these problems.
$ ./burn /COM8 telosb
========================== Compile tosboot for telosb ==========================
=
make: Nothing to be done for `telosb'.
rm -rf build
rm -rf _TOSSIMmodule.so TOSSIM.pyc TOSSIM.py
============================ Compile and load Blink ============================
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/local/bin/tos-storage-stm25p", line 51, in ?
from subprocess import Popen, PIPE
ImportError: No module named subprocess
compiling BlinkAppC to a telosb binary
Are you running python 2.3? The subprocess module was introduced in python
2.4 so anything older will give an error like the one above.
--
Razvan ME
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 -DDELUGE_BASESTATION -DDELUGE_BASESTATION -DDELUGE -I/opt/tinyos-2.x
/tos/lib/net -I/opt/tinyos-2.x/tos/lib/net/Deluge -I/opt/tinyos-2.x/tos/lib/net/
Deluge/FlashVolumeManager -I/opt/tinyos-2.x/tos/lib/net/Deluge/extra -I/opt/tiny
os-2.x/tos/lib/net/Deluge/extra/msp430 -I/opt/tinyos-2.x/tos/lib/net/Deluge/extr
a/telos -I/opt/tinyos-2.x/tos/lib/net/Deluge/extra/telosb -Wl,--section-start=.t
ext=0x4a00,--defsym=_reset_vector__=0x4000 -DIDENT_PROGRAM_NAME=\"BlinkAppC\" -D
IDENT_USER_ID=\"Alessio\" -DIDENT_HOSTNAME=\"NOTEBOOK_ALE\" -DIDENT_USER_HASH=0x
1c1a9d07L -DIDENT_UNIX_TIME=0x47d10f37L -DIDENT_UID_HASH=0xf252588aL BlinkAppC.
nc -lm
/opt/tinyos-2.x/tos/lib/net/Deluge/DelugeC.nc:28:28: StorageVolumes.h: No such f
ile or directory
In component `BlinkAppC':
BlinkAppC.nc:47: failed to preprocess /opt/tinyos-2.x/tos/lib/net/Deluge/DelugeC
.nc
BlinkAppC.nc:48: cannot find `Leds'
make: *** [exe0] Error 1
+-------------------------------------------------------+
| |
| At this point the first led (red) should be blinking. |
| |
| Press ENTER to continue... |
| |
+-------------------------------------------------------+
What about the StorageVolumes.h?Is someone able to suggest me how to fix this
problem?
Thanks in advance to answer me,
regards,
Alessio.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help