Dear Sir,
I am totally new to TinyOS.
I have installed TinyOS-2.x using rpm packages(actually converted them to
debian and installed). I ran the sample application BLink using telosb
platform, normal build works fine.
But when I try to simulate using tossim it gives folllowing error
--------------------------------------------------------------------------------------------------------------------

> mkdir -p build/telosb
>   placing object files in build/telosb
>   writing XML schema to app.xml
>   compiling BlinkAppC to object file sim.o
> ncc -c -shared -fPIC -o build/telosb/sim.o -g -O0 -O -tossim
> -fnesc-nido-tosnodes=1000 -fnesc-simulate
> -fnesc-nido-motenumber=sim_node\(\)   -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=\"gauresh\" -DIDENT_HOSTNAME=\"gauresh-laptop\"
> -DIDENT_USER_HASH=0x5fba54b6L -DIDENT_UNIX_TIME=0x4b7d8e48L
> -DIDENT_UID_HASH=0xbaa0f5c6L -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 /opt/tinyos-2.0.2/tos
> and the specified include directories are:
>   intelmote2 eyesIFXv2 eyesIFXv1 tinynode telosa micaz mica2dot null telosb
> mica2
> make: *** [sim-exe] Error 2
>
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>

> I do not get what wrong thing I have done here. The normal make using
> telosb runs fine.
> I thought that this was because of the rpm->debian conversion. So I
> uninstalled the tiny-2.x and got it from <Ubuntu>hardy repositories
> tinyos-2.0.2 but still the error is not gone.
> The environment variables are proper tos-check-env gives a Graphviz update
> warning and a jdk1.4,1.5 warning that is because I using latest versions of
> both of the softwares I dont think this is the problem.
>
> Any help/link to reading material will be greatly appreciated.
>


> Thanks a lot.
>
>

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

Reply via email to