Thanks, Eric, 
I think my env setting is right, here are them set in 
/home/myname/.bash_profile file:
export TOSROOT="/opt/tinyos-2.x"
export TOSDIR="$TOSROOT/tos"
export MAKERULES="$TOSROOT/support/make/Makerules"
export PATH="/opt/msp430/bin:$PATH"
export CLASSPATH=`cygpath -w $TOSROOT/support/sdk/java/tinyos.jar`
export CLASSPATH="$CLASSPATH;."

And when I tring to execute "tos-check-env", the exectution ended up really 
quickly without any output info.

So I am sure there must something wrong with my TinyOS, and Do you know to 
figure it out?
thanks
Sam

Eric Decker <[EMAIL PROTECTED]> 写道: There has got to be something wrong with 
your environment variables.  Take a look at the Getting Started Link. 

Here is what I use: 

MAMMARK_DIR="$HOME/mm_t2/t2_mm3"
TOSMAKE_PATH="$TOSMAKE_PATH $MAMMARK_DIR/support/make"


MSP430TOOLS="/opt/msp430"
TOSROOT=$HOME/mm_t2/t2_cur/tinyos-2.x
 TOSDIR=$TOSROOT/tos


PATH="$PATH:$MSP430TOOLS/bin"
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$MSP430TOOLS/lib:/usr/local/lib"
export LD_LIBRARY_PATH

 
MAKERULES=$TOSROOT/support/make/Makerules
CLASSPATH=.:$TOSROOT/support/sdk/java/tinyos.jar


PYTHONPATH=$TOSROOT/support/sdk/python:$PYTHONPATH
PYTHONPATH=$MSP430TOOLS/lib:$MSP430TOOLS/bin:$PYTHONPATH
 PYTHONPATH=$MSP430TOOLS/lib/python2.3/site-packages:$PYTHONPATH


LIBMSPGCC_PATH=$MSP430TOOLS/lib


export MAKERULES TOSDIR TOSROOT CLASSPATH PYTHONPATH LD_LIBRARY_PATH
 export LIBMSPGCC MOTECOM MAMMARK_DIR TOSMAKE_PATH



On Sun, Oct 5, 2008 at 7:50 AM, Renee Azhen <[EMAIL PROTECTED]> wrote:
 hi, dear all,
after having installed the new tinyos2.x on my PC, When I cd into a apps 
directory, and use command "make telosb install", these error info outprint:
 /opt/tinyos-2.x/support/make/Makerules:168: ***

Usage:  make <target> <extras>
        make <target> help

        Valid targets: all clean eyesIFX eyesIFXv1 eyesIFXv2 intelmote2 mica2 
mica2dot
         Valid extras: appdoc bnp docs ident_flags nowiring sim sim-fast 
tos_image verbo

 Welcome to the TinyOS make system!

 You must specify one of the valid targets and possibly some combination of
 the extra options.  Many targets have custom extras and extended help, so be
  sure to try "make <target> help" to learn of all the available features.

 Global extras:

   docs    :  compile additional nescdoc documentation
   tinysec : compile with TinySec secure communication
.....

Could someone share me some experience to resolve this?
thanks
Sam
          

---------------------------------
 雅虎邮箱,您的终生邮箱!

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




 -- 
Eric B. Decker
Senior (over 50 :-) Researcher
Autonomous Systems Lab
Jack Baskin School of Engineering
UCSC

 


 

       
---------------------------------
 雅虎邮箱,您的终生邮箱!
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to