Hi there everybody!
I have recently installed the latest version of TinyOS onmy windows xp
system, using cygwin and the provided rpms.
Afterwards I updated to the latest CVS files.
I tested the installation by compiling various tut problems, but ran into
some trouble with the storage tut.
It seems I have a problem with the generation of "storagevolumes.h". I
know, there's been a lot of discussions on this problem, and I think i've
almost read them all,
but still I couldn't find the solution.
I am compiling for a micaz node (but have tried telosb ec, to see if i can
isolate the problem - to no avail). I have not changed any code in the
configuration or module files. In the directory I have "volumes-at45db.xml",
and I understand that the inclusion of this file should automatically lead
to the creation of "storagevolumes.h" in the build folder. Please see the
result of the make below. Only the "ident_flags.txt" file is created in the
build/micaz folder. The make result below shows a possible problem in the "
*tos-storage-at45db" *file. Did i miss something i had to do?
My goal is to eventually get TymoTest to work, but seein as it also requires
a "volumes-at45db.xml" to work, and it gives a similar problem.
Thank you in advance!
Jaco - the guy pulling his hair out infront of his PC!!!!
when building the Block example found in tests/storage
=============================================
$ make micaz
mkdir -p build/micaz
tos-storage-at45db /opt/tinyos-2.x/tos/platforms/micaz <volumes-at45db.xml
>bui
ld/micaz/StorageVolumes.h || rm -f build/micaz/StorageVolumes.h
Traceback (most recent call last):
* File "/usr/bin/tos-storage-at45db", line 14, in ?
from subprocess import Popen, PIPE*
*ImportError: No module named subprocess*
compiling RandRWAppC to a micaz binary
ncc -o build/micaz/main.exe -Os -Wall -Wshadow -Wnesc-all -target=micaz
-fnesc-
cfile=build/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 --param
max-in
line-insns-single=100000 -Ibuild/micaz -DIDENT_APPNAME=\"RandRWAppC\"
-DIDENT_US
ERNAME=\"Bailey\" -DIDENT_HOSTNAME=\"blouer-otter\"
-DIDENT_USERHASH=0xfafffec9L
-DIDENT_TIMESTAMP=0x48e71af6L -DIDENT_UIDHASH=0x8c0ed815L
-fnesc-dump=wiring -f
nesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
compo
nents)' -fnesc-dumpfile=build/micaz/wiring-check.xml RandRWAppC.nc -lm
In file included from RandRWAppC.nc:21:
In component `RandRWC':
RandRWC.nc: In function `report':
RandRWC.nc:68: too few arguments to function `AMSend.getPayload'
In component `RandRWAppC':
RandRWAppC.nc: At top level:
*RandRWAppC.nc:21: `VOLUME_BLOCKTEST' undeclared here (not in a function)*
make: *** [exe0] Error 1
===================================================================
when building the Tymo example found in tests/TestTymo
=============================================
mkdir -p build/micaz
tos-storage-at45db /opt/tinyos-2.x/tos/platforms/micaz <volumes-at45db.xml
>bu
ld/micaz/StorageVolumes.h || rm -f build/micaz/StorageVolumes.h
Traceback (most recent call last):
* File "/usr/bin/tos-storage-at45db", line 14, in ?
from subprocess import Popen, PIPE
ImportError: No module named subprocess*
compiling TestC to a micaz binary
ncc -o build/micaz/main.exe -Os -I../../../tos/lib/net/tymo
-I../../../tos/lib
net/tymo/dymo -I../../../tos/lib/net/tymo/mh -Wall -Wshadow -Wnesc-all
-target=
icaz -fnesc-cfile=build/micaz/app.c -board=micasb
-DDEFINED_TOS_AM_GROUP=0x22 -
param max-inline-insns-single=100000 -Ibuild/micaz -DIDENT_APPNAME=\"TestC\"
-D
DENT_USERNAME=\"Bailey\" -DIDENT_HOSTNAME=\"blouer-otter\"
-DIDENT_USERHASH=0xf
fffec9L -DIDENT_TIMESTAMP=0x48e72071L -DIDENT_UIDHASH=0xea400728L
-fnesc-dump=w
ring -fnesc-dump='interfaces(!abstract())'
-fnesc-dump='referenced(interfacedef
, components)' -fnesc-dumpfile=build/micaz/wiring-check.xml TestC.nc -lm
/opt/tinyos-2.x/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning
"***
OW POWER COMMUNICATIONS DISABLED ***"
In file included from ../../../tos/lib/net/tymo/dymo/DymoServiceC.nc:34,
from ../../../tos/lib/net/tymo/dymo/DymoNetworkC.nc:38,
from TestC.nc:13:
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
o large that it is unsigned
In file included from ../../../tos/lib/net/tymo/dymo/DymoNetworkC.nc:38,
from TestC.nc:13:
*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)*
make: *** [exe0] Error 1
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help