> Date: Wed, 28 Oct 2009 16:05:39 +0100
> From: <[email protected]>
> Subject: [Tinyos-help] tinyOS begin
> To: Tinyos help <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="utf-8"
> 
> 
> 
> Goog afternoon. 
> 
> I'm in a ubuntu machine. I've added the deb and
> downloaded TinyOS 2.1 from there 
> 
> After that I executed tinyos.sh shell
> script at tinyos root 
> 
> then I proceeded to apps/Blink and issued make
> micaz sim and the result was:
> 
> 
> "jmari...@jmarinho-desktop:/opt/tinyos-2.1.0/apps/Blink$ make micaz
> sim
> mkdir -p simbuild/micaz
> placing object files in simbuild/micaz
> 
> writing XML schema to app.xml
> compiling BlinkAppC to object file sim.o
> ncc
> -c -shared -fPIC -o simbuild/micaz/sim.o -g -O0 -tossim
> -fnesc-nido-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node()
> -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=simbuild/micaz/app.c
> -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 --param
> max-inline-insns-single=100000 -DIDENT_APPNAME="BlinkAppC"
> -DIDENT_USERNAME="jmarinho" -DIDENT_HOSTNAME="jmarinho-deskto"
> -DIDENT_USERHASH=0xa733d52aL -DIDENT_TIMESTAMP=0x4ae85d7aL
> -DIDENT_UIDHASH=0x3ff6e30eL -Wno-nesc-data-race BlinkAppC.nc
> -fnesc-dump=components -fnesc-dump=variables -fnesc-dump=constants
> -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags
> -fnesc-dumpfile=app.xml
> Unknown target micaz
> Known targets for TinyOS
> directory /opt/tinyos-2.x/tos
> and the specified include directories
> are:
> none.
> make: *** [sim-exe] Error
> 2
> jmari...@jmarinho-desktop:/opt/tinyos-2.1.0/apps/Blink$" 
> 
> So it
> generates an erros, can anyone help me with this? 
> 
> Thanks. 
> 
> Jos? Marinho


Jos?,

  Most likely, you don't have your environment variables set.  Did you put the 
setting in your .bashrc?

 

do an:

$>  echo $TOSDIR

 

and see if it's set.  There are two more environment variables that need 
setting.  Likely if TOSDIR isn't set, the rest aren't either.

Kurt

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

Reply via email to