[Tinyos-help] problems with yamp

mejda chouaieb mejdachouaieb at yahoo.fr
Mon Oct 1 06:38:14 PDT 2007


Hello All,
I have windows Media Center Edition and I installed "JN-SW-4027 SDK with CLI" (jennic bash shell) (link : http://www.jennic.com/support/view_section.php?sectionID=0000000010) because I'm working with jennic motes, then I Installed Tinyos 2.x, I followed the manual steps (with RPMs)  in Tinyos web site (link: http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html).
to Configure my environment I created a file named tinyos.sh and I saved it in C:\Jennic\cygwin\etc\profile.d

tinyos.sh contains :
#!/bin/sh
export TOSROOT="/opt/tinyos-2.x"
export TOSDIR="$TOSROOT/tos"
export CLASSPATH='cygpath -w $TOSROOT/support/sdk/java/tinyos.jar'
export CLASSPATH="$CLASSPATH;."
export MAKERULES="$TOSROOT/support/make/Makerules"
export PATH="/opt/msp430/bin:$PATH"

and I'm trying to do the Tinyos tutorial "Lesson 10: Platforms", I followed all the steps but when I type:
$ cd tinyos-2.x/apps/Null
$ make yamp
I have :
mkdir -p build/yamp
    compiling NullAppC to a yamp binary
ncc -o build/yamp/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all
 -target=yamp -fnesc-cfile=build/yamp/app.c -board=   NullAppC.nc -lm
make: ncc: Command not found
make: *** [exe0] Error 127

I obtain the same thing when I type: make telosb :

bash-3.2$ make telosb
/bin/sh: tos-ident-flags: command not found
mkdir -p build/telosb
    compiling NullAppC 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=   N
ullAppC.nc -lm
make: ncc: Command not found
make: *** [exe0] Error 127
bash-3.2$ make yamp
/bin/sh: tos-ident-flags: command not found


I tried to check the state of the environment variables and when I go to C:\Jennic\cygwin\etc\profile.d
and type : source./tinyos.sh and then type :


bash-3.2$ echo $CLASSPATH
cygpath -w $TOSROOT/support/sdk/java/tinyos.jar;.

bash-3.2$ echo $MAKERULES
/opt/tinyos-2.x/support/make/Makerules

bash-3.2$ echo $PATH
/opt/msp430/bin:/opt/msp430/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS
:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/Microsoft SQL Serve
r/80/Tools/BINN:/cygdrive/c/Program Files/Microsoft SQL Server/90/Tools/binn/:/c
ygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdr
ive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/
c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/Su
n/SDK/bin:/cygdrive/c/Program Files/Java/jre1.6.0_02:/cygdrive/c/WINDOWS/Microso
ft.NET/Framework/v1.1.4322:/usr/bin:/or32-elf/bin/:/usr/bin:/ba-elf/bin/:/or32-e
lf/bin

I don't know what to do, I need Help !!
and thank you in advance


      ____________________________________________________________________________________________
Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et vos réactions !
http://blog.mail.yahoo.fr


      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 



More information about the Tinyos-help mailing list