Hi Thomas

I ran the command

sudo chown asus:asus -R /opt/tinyos-2.1.1/

cd /opt/tinyos-2.1.1/apps/Blink
make telosb

and it worked

mkdir -p build/telosb
    compiling BlinkAppC to a telosb binary
ncc -o build/telosb/main.exe  -Os -O -mdisable-hwmul -fnesc-separator=__
-Wall -Wshadow -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c
-board= -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\"
-DIDENT_USERNAME=\"asus\" -DIDENT_HOSTNAME=\"asus\"
-DIDENT_USERHASH=0x0ac0f5deL -DIDENT_TIMESTAMP=0x4c497dafL
-DIDENT_UIDHASH=0x9c09e81cL  BlinkAppC.nc -lm
    compiled BlinkAppC to build/telosb/main.exe
            2648 bytes in ROM
              54 bytes in RAM
msp430-objcopy --output-target=ihex build/telosb/main.exe
build/telosb/main.ihex
    writing TOS image



Now waiting for the delivery of Telosb motes to test on!


Thanks

Faisal
Kingston University London



On 23 July 2010 12:00, Thomas Schmid <thomas.sch...@gmail.com> wrote:

> You don't have the tinyos tools installed in root, i.e., don't use sudo!
>
> your /opt/tinyos-2.1.1 directory probably has the wrong permissions.
> Two sollutions:
> 1. use a TinyOS VM with all the tools correctly installed
> 2. sudo chmod asus:asus /opt/tinyos-2.1.1 -R
>     cd /opt/tinyos-2.1.1/apps/Blink
>     make telosb
>
> Cheers,
>
> - Thomas
>
>
> On Fri, Jul 23, 2010 at 6:55 AM, faisal <xfai...@gmail.com> wrote:
> > Hi all
> > I have installed Tinyos2.1.1 on ubuntu 10.04. I am following tutorials
> and
> > help from the tinyos wiki. when I go to the Blink directory and run make
> I
> > get the following error.
> >
> > a...@asus:~$ cd /opt/tinyos-2.1.1/apps/Blink
> > a...@asus:/opt/tinyos-2.1.1/apps/Blink$ sudo make telosb
> > make: *** No rule to make target `telosb'. Stop.
> >
> > I have tried almost everything i could find related to this error but its
> > still there. I have also tried reinstalling the ubuntu and tinyos. Any
> > Ideas?
> >
> > Thanks
> > Faisal
> > Kingston University London.
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > Tinyos-help@millennium.berkeley.edu
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to