Hi there,

recently I'm not using TinyOS at all, therefore I discontinued updating the image file. Before I answer the other questions, could you please briefly describe your programming experience? No offense, but based on your questions I have a feeling that it strongly converges to none.

Adam

On 2014.11.05. 17:48, Fahimeh Ashrafy wrote:
Thanks a lot.
The version of that image is about 5th March, 2013. could you please give me the link that I can download new version of the image? I am new in TinyOs. could you please tell me what I should exactly do?(Check both lines that are mentioned and correct the type (or simply remove the secondary declaration) As I searched someone else had this problem before, and he just mentioned "I have solved the problem, apprently the type def flag that I was using was named as "TOSSIM" in my make file, after changing it, it now works. I guess it was just confusing the compiler." but unfortunately I didnt get a clue.

Best Regards


On Wed, Nov 5, 2014 at 7:59 AM, "Erdélyi Ádám [Edöm]" <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    this is an image that I uploaded a long time ago. It is now quite
    outdated. Unfortunately my account on the wiki page stopped
    working, so I couldn't update it and no admin answered my mails
    regarding the wiki. I never tested TOSSIM with this image,
    therefore it's not guaranteed it'll work at all. I recommend to
    make a fresh install with the most up-to-date TinyOS version.
    Based on the error message PacketAcknowledgements.wasAcked is
    declared multiple times with different types. Check both lines
    that are mentioned and correct the type (or simply remove the
    secondary declaration).

    Cheers,
    Adam


    On 05/11/14 16:09, Fahimeh Ashrafy wrote:
    Hello guys
    i really need help
    Thanks

    On Tue, Nov 4, 2014 at 3:55 AM, Fahimeh Ashrafy
    <[email protected] <mailto:[email protected]>> wrote:

        there is no one to help me.
        I really need the help to deal with that problem.

        On Mon, Nov 3, 2014 at 12:39 AM, Fahimeh Ashrafy
        <[email protected] <mailto:[email protected]>>
        wrote:

            Hello guys

            I've just downloaded the XubunTOS image provided by the TinyOs team 
(
            
http://tinyos.stanford.edu/tinyos-wiki/index.php/Installing_XubunTOS_%28with_TinyOS_from_tp-freeforall/prod_repository%29_in_VirtualBox)
            and while trying to compile the simple BLINK app with TOSSIM 
support I get
            this:

            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\(\) -fnesc-gcc=gcc -Wall -Wshadow -Wnesc-all -target=micaz 
-fnesc-cfile=simbuild/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 -finline-limit=100000 
-DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"user\" 
-DIDENT_HOSTNAME=\"XubunTOS\" -DIDENT_USERHASH=0x184e7486L -DIDENT_TIMESTAMP=0x54573467L 
-DIDENT_UIDHASH=0xed24784cL -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
            In file included from 
/home/user/top/t2_cur/tinyos-2.x/tos/lib/tossim/ActiveMessageC.nc:57,
                              from 
/home/user/top/t2_cur/tinyos-2.x/tos/lib/tossim/MainC.nc:72,
                              from BlinkAppC.nc:56:
            In component `TossimPacketModelC':
            
/home/user/top/t2_cur/tinyos-2.x/tos/lib/tossim/TossimPacketModelC.nc:140: 
conflicting types for `PacketAcknowledgements.wasAcked'
            
/home/user/top/t2_cur/tinyos-2.x/tos/interfaces/PacketAcknowledgements.nc:85: 
previous declaration of `PacketAcknowledgements.wasAcked'
            make: *** [sim-exe] Error 1

            Could anyone help me?

            Thanks a lot





    _______________________________________________
    Tinyos-help mailing list
    [email protected]  
<mailto:[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