Hey thanks for the reply,

Atlast the Tossim micaz directory for succesfully built after uninstalling
msp430 compilers and installing intel compilers and including python
library, etc
Is there a way by which I can use both the compilers that is gcc for intel
platform as well as that for msp430 platform at the same time.

Anyways thanks for your help,

Gauresh Rane

On Tue, Feb 23, 2010 at 8:59 PM, Arik Sapojnik <[email protected]> wrote:

> Gauresh ,
>
> Currently, micaz is the only platform supported by TOSSIM.
> Try "*make micaz sim*"
>
> Arik
>
>
>
> On Tue, Feb 23, 2010 at 16:24, Gauresh Rane <[email protected]> wrote:
>
>>
>> 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
>>
>
>
>
> --
> Best Regards,
> Arik Sapojnik
> [email protected]
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to