Hi
I think that the installation of tinyos-2.x is ok.However,I am having the 
folling problem.I get the following message when I try like::make tmote
Couldn't execute msp430-gcc 
make: *** [exe0] Error 2 

Below is the more briefing about what appears in the terminal.
I have also included my .bashrc flie contents below if setting up the 
environment variable was incorrect.Also I am concerend about that the USB will 
not be detected if you have not removed  ttry(I forget the complete name...this 
is the one we have in Linux).

[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink$ sudo make tmote 
[sudo] password for saugat: 
mkdir -p build/telosb 
   compiling BlinkAppC 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= -DIDENT_PROGRAM_NAME=\"BlinkAppC\" 
-DIDENT_USER_ID=\"root\" -DIDENT_HOSTNAME=\"saugat-laptop\" 
-DIDENT_USER_HASH=0x121fefb5L -DIDENT_UNIX_TIME=0x482cbb06L 
-DIDENT_UID_HASH=0x2eb960cbL  BlinkAppC.nc -lm 
Couldn't execute msp430-gcc 
make: *** [exe0] Error 2 

Below is my .bashrc file contents.


# ~/.bashrc: executed by bash(1) for non-login shells. 
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 
# for examples 

# If not running interactively, don't do anything 
[ -z "$PS1" ] && return 

# don't put duplicate lines in the history. See bash(1) for more options 
export HISTCONTROL=ignoredups 
# ... and ignore same sucessive entries. 
export HISTCONTROL=ignoreboth 

# check the window size after each command and, if necessary, 
# update the values of LINES and COLUMNS. 
shopt -s checkwinsize 

# make less more friendly for non-text input files, see lesspipe(1) 
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)" 

# set variable identifying the chroot you work in (used in the prompt below) 
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 
   debian_chroot=$(cat /etc/debian_chroot) 
fi 

# set a fancy prompt (non-color, unless we know we "want" color) 
case "$TERM" in 
xterm-color) 
   PS1='${debian_chroot:+($debian_chroot)}\[\033[01;[EMAIL 
PROTECTED]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 
   ;; 
*) 
   PS1='${debian_chroot:+($debian_chroot)[EMAIL PROTECTED]:\w\$ ' 
   ;; 
esac 

# Comment in the above and uncomment this below for a color prompt 
#PS1='${debian_chroot:+($debian_chroot)}\[\033[01;[EMAIL 
PROTECTED]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 

# If this is an xterm set the title to [EMAIL PROTECTED]:dir 
case "$TERM" in 
xterm*|rxvt*) 
   PROMPT_COMMAND='echo -ne "\033]0;[EMAIL PROTECTED]: ${PWD/$HOME/~}\007"' 
   ;; 
*) 
   ;; 
esac 

# Alias definitions. 
# You may want to put all your additions into a separate file like 
# ~/.bash_aliases, instead of adding them here directly. 
# See /usr/share/doc/bash-doc/examples in the bash-doc package. 

#if [ -f ~/.bash_aliases ]; then 
#    . ~/.bash_aliases 
#fi 

# enable color support of ls and also add handy aliases 
if [ "$TERM" != "dumb" ]; then 
   eval "`dircolors -b`" 
   alias ls='ls --color=auto' 
   #alias dir='ls --color=auto --format=vertical' 
   #alias vdir='ls --color=auto --format=long' 
fi 

# some more ls aliases 
#alias ll='ls -l' 
#alias la='ls -A' 
#alias l='ls -CF' 

# enable programmable completion features (you don't need to enable 
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile 
# sources /etc/bash.bashrc). 
if [ -f /etc/bash_completion ]; then 
   . /etc/bash_completion 
fi 

# LD_LIBRARY_PATH 
OTCL_LIB=/home/saugat/ns2/ns-allinone-2.33/otcl-1.13 
NS2_LIB=/home/saugat/ns2/ns-allinone-2.33/lib 
X11_LIB=/usr/X11R6/lib 
USR_LOCAL_LIB=/usr/local/lib 
export 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB 

# TCL_LIBRARY 
TCL_LIB=/home/saugat/ns2/ns-allinone-2.33/tcl8.4.18/library 
USR_LIB=/usr/lib 
export TCL_LIBRARY=$TCL_LIB:$USR_LIB 

# PATH 
XGRAPH=/home/saugat/ns2/ns-allinone-2.33/bin:/home/saugat/ns2/ns-allinone-2.33/tcl8.4.18/unix:/home/saugat/ns2/ns-allinone-2.33/tk8.4.18/unix
 
NS=/home/saugat/ns2/ns-allinone-2.33/ns-2.33/ 
NAM=/home/saugat/ns2/ns-allinone-2.33/nam-1.13/ 
PATH=$PATH:$XGRAPH:$NS:$NAM 


export TOSROOT=/opt/tinyos-2.x/ 
export TOSDIR=/opt/tinyos-2.x/tos/ 
export PATH=/opt/msp430/bin:$PATH 
export MAKERULES=$TOSROOT/support/make/Makerules 
export CLASSPATH=$TOSROOT/support/sdk/java:$CLASSPATH 



THANKS 
SAUGAT
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to