Hi André,

The key part of your output is "Unknown target telosb". If you check out the 
TOSSIM documentation on the TinyOS wiki you'll see that "Currently, micaz is 
the only platform supported by TOSSIM":


http://tinyos.stanford.edu/tinyos-wiki/index.php/TOSSIM


There is a contrib project which extends powerTOSSIM (an extension to TOSSIM 
for energy simulation) for TelosB which you might find useful:


https://github.com/tyll/tinyos-2.x-contrib/tree/master/unlpt/PowerTossim-TelosB


Regards


James

________________________________
From: [email protected] 
<[email protected]> on behalf of arsaraiva 
<[email protected]>
Sent: 13 January 2017 17:42:50
To: [email protected]
Subject: [NOTSPAM?] [Tinyos-help] TinyOS with TOSSIM

Hello dear

I have TinyOS 2.1.2 installed on Ubuntu 16.04 correctly. Even when I run $
make telosb it does not return any errors.

But when I try to use the TOSSIM simulator, through $ make telosb, there are
several errors, as follows below the terminal:

$ make telosb sim
mkdir -p simbuild/telosb
make: python2.71+-config: Comando não encontrado
make: python2.71+-config: Comando não encontrado
make: python2.71+-config: Comando não encontrado
  placing object files in simbuild/telosb
  writing XML schema to app.xml
  compiling BlinkAppC to object file sim.o
ncc -c -shared -fPIC -o simbuild/telosb/sim.o -g -O0 -tossim
-fnesc-nido-tosnodes=1000 -fnesc-simulate
-fnesc-nido-motenumber=sim_node\(\) -fnesc-gcc=gcc -Wall -Wshadow -Wnesc-all
-target=telosb -fnesc-cfile=simbuild/telosb/app.c -board=
-DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\"
-DIDENT_USERNAME=\"andre\" -DIDENT_HOSTNAME=\"ars\"
-DIDENT_USERHASH=0x7b8ee136L -DIDENT_TIMESTAMP=0x5874b542L
-DIDENT_UIDHASH=0x74578f5bL -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 telosb
Known targets for TinyOS directory /home/andre/tinyos-main/tos
and the specified include directories are:
  eyesIFXv1 eyesIFXv2 shimmer2 ucmini sam3s_ek micaz mica2 telosa sam3u_ek
shimmer2r telosb iris z1 span null tinynode intelmote2 btnode3 shimmer epic
mica2dot mulle
/home/andre/tinyos-main/support/make/sim.extra:66: recipe for target
'sim-exe' failed
make: *** [sim-exe] Error 2

This is exactly the exit from the terminal. I do not know exactly what is
missing from the system or what to do. Can someone help me.

Thanks in advance.

André

PS: forgive the translation of google translator, but I'm Brazilian and I'm
not an expert in English.



--
View this message in context: 
http://tinyos-help.10906.n7.nabble.com/TinyOS-with-TOSSIM-tp25048.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.

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

Reply via email to