I installed Python2.4 and its folder to cygwin\bin directory and i changed
"tos-storage-stm25p" line :
"#!/usr/bin/Python24 python". Then it produces the following error when
making Block :
$ make telosb
mkdir -p build/telosb
tos-storage-stm25p /cygdrive/c/cygwin/opt/tinyos-2.x/tos/platforms/telosb
<volum
es-stm25p.xml >build/telosb/StorageVolumes.h || rm -f
build/telosb/StorageVolume
s.h
tos-storage-stm25p: permission denied
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=\"Kaan\"
-DIDENT
_HOSTNAME=\"kodalfa-e87f074\" -DIDENT_USER_HASH=0xc828348aL
-DIDENT_UNIX_TIME=0x
47da49edL -DIDENT_UID_HASH=0x4dba8b28L RandRWAppC.nc -lm
RandRWAppC.nc:17:28: StorageVolumes.h: No such file or directory
<commandline>: failed to preprocess RandRWAppC.nc
make: *** [exe0] Error 1
On 3/13/08, Razvan Musaloiu-E. <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> On Wed, 12 Mar 2008, Kaan Tuna wrote:
>
> > Hi Razvan,
> > I used to have python v2.3, then i installed v2.5.1 via cygwin setup. I
> can
> > still open v2.3 manually but i can not run v2.5.1 manually (with the
> Entry
> > point not found error).
> > The default python seems to be v2.5.1 because typing "python" on cygwin
> > console runs the same entry point error.
>
> I installed python 2.5.1 using Cygwin on an XP box and it doesn't
> generates that error. I have no idea what might be the best way to recover
> from your situation. :-( Perhaps reinstalling python might help...
>
> --
> Razvan ME
>
> >
> > I am working on Windows Xp.
> > Thanks for any idea or help.
> >
> > Kaan
> >
> > On Wed, Mar 12, 2008 at 6:54 PM, Razvan Musaloiu-E. <[EMAIL PROTECTED]>
> > wrote:
> >
> >> Hi!
> >>
> >> On Wed, 12 Mar 2008, Kaan Tuna wrote:
> >>
> >>> And the same error from "python.exe" when i try to run /storage/Block
> >>> application for example.
> >>> Thanks.
> >>>
> >>>
> >>> On 3/12/08, Kaan Tuna <[EMAIL PROTECTED]> wrote:
> >>>>
> >>>> Thank you Razvan. I used to have Python v 2.3.4..
> >>>>
> >>>> But when i install Python 2.5.1 package successfully, python2.5.exe
> >>>> produce a "Entry point not found" error box. Do you have any idea to
> >>>> solve this?
> >>
> >> How did you install python? Via cygwin or the native version? What
> happens
> >> if you run python2.5 manual and type "import subprocess? If it works
> fine
> >> if should now indicate any errors.
> >>
> >> --
> >> Razvan ME
> >>
> >>>> On 3/10/08, Razvan Musaloiu-E. <[EMAIL PROTECTED]> wrote:
> >>>>>
> >>>>> Hi!
> >>>>>
> >>>>> The default python on Tiger is 2.3 and that one doesn't have the
> >>>>> subprocess module. If you have python 2.4 then if you replace the:
> >>>>> #!/usr/bin/python
> >>>>> with
> >>>>> #!/usr/bin/env python2.4
> >>>>> from the first line of tos-storage-stm25p it should start working
> >>>>> normally. :-)
> >>>>>
> >>>>> --
> >>>>> Razvan ME
> >>>>>
> >>>>> On Mon, 10 Mar 2008, Kaan Tuna wrote:
> >>>>>
> >>>>>> Hi,
> >>>>>> I have the same problem and same error messages for any application
> in
> >>>>>> tests/storage, and i have XML chip files in the application
> directory.
> >>>>>> I cannot find a solution in the archives. Any help would be
> appreciated.
> >>>>>>
> >>>>>> Kaan
> >>>>>>
> >>>>>>
> >>>>>>>
> >>>>>>> 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. <
> Pablo.M.Iturralde.Garrote-1 at ou.edu> 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