Yes, you are right. I cannot really help you with checking the
NST-AODV code. Best, Miklos

On Tue, Jun 28, 2011 at 2:43 PM, Tiong Hoo Lim <[email protected]> wrote:
> Hi Miklos,
>   I can compile the RadioCountrToLeds and others but have problem with the
> nst-aodv. I know the problem lies within the nst-aodv code but I have no
> idea of where to start looking.
> I think the best bet is to start from the header file that is giving out the
> error.
>
> thank
> Tiong
>
> On Tue, Jun 28, 2011 at 1:02 PM, Miklos Maroti <[email protected]>
> wrote:
>>
>> Hi Tiong,
>>
>> It is hard to see the problem from your error log. Can you compile the
>> apps/RadioCountToLeds application in your google code tree?
>>
>> Best,
>> Miklos
>>
>> On Tue, Jun 28, 2011 at 12:57 PM, Tiong Hoo Lim <[email protected]> wrote:
>> > Yes, I think I am not using the latest Tinyos. After downloading the
>> > tinyos,
>> > I am attacked by a series of compilation error which was never seen
>> > before.
>> > I believe it has to do with the header file message_t (syntax error
>> > before
>> > `message_t'). Did I use the wrong library interface or did I forgot to
>> > call
>> > a different library? Thanks for any assistant...
>> >
>> > thanks
>> > Tiong.
>> >
>> > thlim@ubuntu:/opt/tinyos/apps/nstaodv$ make iris
>> > mkdir -p build/iris
>> >     compiling AodvTestAppC to a iris binary
>> > ncc -o build/iris/main.exe  -Os -DRF230_DEF_RFPOWER=2
>> > -DRF230_DEF_CHANNEL=26
>> > -fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=iris
>> > -fnesc-cfile=build/iris/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22
>> > --param max-inline-insns-single=100000 -I/opt/tinyos/tos/lib
>> > -I/opt/tinyos/tos/lib/printf -I/opt/tinyos/tos/interfaces
>> > -I/opt/tinyos/tos/system -I/opt/tinyos/tos/platforms/iris/chips/rf230
>> > -DHOPS_METRIC=1 -DAODV_CACHE_TIMER=1 -DTOSH_DATA_LENGTH=112
>> > -DIDENT_APPNAME=\"AodvTestAppC\" -DIDENT_USERNAME=\"thlim\"
>> > -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0x43573447L
>> > -DIDENT_TIMESTAMP=0x4e09af55L -DIDENT_UIDHASH=0x217103a6L
>> > -fnesc-dump=wiring
>> > -fnesc-dump='interfaces(!abstract())'
>> > -fnesc-dump='referenced(interfacedefs,
>> > components)' -fnesc-dumpfile=build/iris/wiring-check.xml AodvTestAppC.nc
>> > -lm
>> > In file included from /opt/tinyos/tos/system/AODV.nc:3,
>> >                  from AodvTestAppC.nc:12:
>> > /opt/tinyos/tos/lib/AODV.h:128: syntax error before `message_t'
>> > /opt/tinyos/tos/lib/AODV.h:128: warning: no semicolon at end of struct
>> > or
>> > union
>> > /opt/tinyos/tos/lib/AODV.h:132: syntax error before `}'
>> > /opt/tinyos/tos/lib/AODV.h:132: warning: type defaults to `int' in
>> > declaration of `data_buffer_t'
>> > /opt/tinyos/tos/lib/AODV.h:132: warning: data definition has no type or
>> > storage class
>> > /opt/tinyos/tos/lib/AODV.h:135: syntax error before `message_t'
>> > /opt/tinyos/tos/lib/AODV.h:135: warning: no semicolon at end of struct
>> > or
>> > union
>> > /opt/tinyos/tos/lib/AODV.h:139: syntax error before `}'
>> > /opt/tinyos/tos/lib/AODV.h:139: warning: type defaults to `int' in
>> > declaration of `control_buffer_t'
>> > /opt/tinyos/tos/lib/AODV.h:139: warning: data definition has no type or
>> > storage class
>> > In file included from /opt/tinyos/tos/system/AODV.nc:15,
>> >                  from AodvTestAppC.nc:12:
>> > In interface `Receive':
>> > /opt/tinyos/tos/interfaces/Receive.nc:78: warning: declaration of `len'
>> > shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > In file included from /opt/tinyos/tos/system/AODV.nc:16,
>> >                  from AodvTestAppC.nc:12:
>> > In interface `Intercept':
>> > /opt/tinyos/tos/interfaces/Intercept.nc:31: warning: declaration of
>> > `len'
>> > shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > In file included from /opt/tinyos/tos/system/AODV.nc:17,
>> >                  from AodvTestAppC.nc:12:
>> > In interface `SendMHopMsg':
>> > /opt/tinyos/tos/interfaces/SendMHopMsg.nc:5: warning: declaration of
>> > `len'
>> > shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > In file included from /opt/tinyos/tos/system/AODV.nc:22,
>> >                  from AodvTestAppC.nc:12:
>> > In interface `Packet':
>> > /opt/tinyos/tos/interfaces/Packet.nc:94: warning: declaration of `len'
>> > shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > In file included from /opt/tinyos/tos/system/AODV.nc:22,
>> >                  from AodvTestAppC.nc:12:
>> > /opt/tinyos/tos/interfaces/Packet.nc:126: warning: declaration of `len'
>> > shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > In file included from /opt/tinyos/tos/system/AODV_Core.nc:5:
>> > /opt/tinyos/tos/lib/printf/printf.h:44:2: warning: #warning
>> > "                                  *************************** PRINTF
>> > SEMANTICS HAVE CHANGED! *********************************************
>> > Make
>> > sure you now include the following two components in your top level
>> > application file: PrintfC and SerialStartC. To supress this warning in
>> > the
>> > future, #define the variable NEW_PRINTF_SEMANTICS. Take a look at the
>> > updated tutorial application under apps/tutorials/printf for an example.
>> >
>> > ************************************************************************************"
>> > In file included from /opt/tinyos/tos/system/AODV_Core.nc:31,
>> >                  from /opt/tinyos/tos/system/AODV.nc:34,
>> >                  from AodvTestAppC.nc:12:
>> > In interface `AMSend':
>> > /opt/tinyos/tos/interfaces/AMSend.nc:80: warning: declaration of `len'
>> > shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > In file included from /opt/tinyos/tos/system/AODV_Core.nc:31,
>> >                  from /opt/tinyos/tos/system/AODV.nc:34,
>> >                  from AodvTestAppC.nc:12:
>> > /opt/tinyos/tos/interfaces/AMSend.nc:135: warning: declaration of `len'
>> > shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > In file included from /opt/tinyos/tos/system/AODV.nc:34,
>> >                  from AodvTestAppC.nc:12:
>> > In component `AODV_Core':
>> > /opt/tinyos/tos/system/AODV_Core.nc:50: syntax error before
>> > `control_buffer_t'
>> > In file included from /opt/tinyos/tos/system/AODV.nc:34,
>> >                  from AodvTestAppC.nc:12:
>> > /opt/tinyos/tos/system/AODV_Core.nc:51: syntax error before
>> > `control_buffer_t'
>> > /opt/tinyos/tos/system/AODV_Core.nc: In function `sendMsg.runTask':
>> > /opt/tinyos/tos/system/AODV_Core.nc:194: `controlBuffer' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:194: (Each undeclared identifier is
>> > reported only once
>> > /opt/tinyos/tos/system/AODV_Core.nc:194: for each function it appears
>> > in.)
>> > /opt/tinyos/tos/system/AODV_Core.nc:195: syntax error before `result'
>> > /opt/tinyos/tos/system/AODV_Core.nc:197: `ControlQueue' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:205: `result' undeclared (first use
>> > in
>> > this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:238: `ControlPool' undeclared (first
>> > use
>> > in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc: In function `nextMessage':
>> > /opt/tinyos/tos/system/AODV_Core.nc:245: `ControlQueue' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc: In function
>> > `ReactiveRouter.generateLocalRepair':
>> > /opt/tinyos/tos/system/AODV_Core.nc:304: `controlBuffer' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:306: syntax error before `eMetric'
>> > /opt/tinyos/tos/system/AODV_Core.nc:321: `ControlPool' undeclared (first
>> > use
>> > in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:323: `ControlQueue' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:359: `eMetric' undeclared (first use
>> > in
>> > this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc: In function
>> > `ReactiveRouter.generateRoute':
>> > /opt/tinyos/tos/system/AODV_Core.nc:376: `controlBuffer' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:378: syntax error before `eMetric'
>> > /opt/tinyos/tos/system/AODV_Core.nc:393: `ControlPool' undeclared (first
>> > use
>> > in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:395: `ControlQueue' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:430: `eMetric' undeclared (first use
>> > in
>> > this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc: In function
>> > `ReactiveRouter.SendRouteErr':
>> > /opt/tinyos/tos/system/AODV_Core.nc:456: `controlBuffer' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:457: syntax error before `*'
>> > /opt/tinyos/tos/system/AODV_Core.nc:460: `rerrDest' undeclared (first
>> > use in
>> > this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:474: `ControlPool' undeclared (first
>> > use
>> > in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:476: `ControlQueue' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:482: `rerrToSend' undeclared (first
>> > use
>> > in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc: In function `SendRreq.sendDone':
>> > /opt/tinyos/tos/system/AODV_Core.nc:520: `controlBuffer' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:523: `rreqToSend' undeclared (first
>> > use
>> > in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:529: `ControlQueue' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:533: `ControlPool' undeclared (first
>> > use
>> > in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc: In function `SendRerr.sendDone':
>> > /opt/tinyos/tos/system/AODV_Core.nc:545: `controlBuffer' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:554: `ControlQueue' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:558: `ControlPool' undeclared (first
>> > use
>> > in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc: In function `SendRreply.sendDone':
>> > /opt/tinyos/tos/system/AODV_Core.nc:570: `controlBuffer' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:579: `ControlQueue' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:583: `ControlPool' undeclared (first
>> > use
>> > in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc: At top level:
>> > /opt/tinyos/tos/system/AODV_Core.nc:594: warning: declaration of `len'
>> > shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_Core.nc: In function `ReceiveRreq.receive':
>> > /opt/tinyos/tos/system/AODV_Core.nc:595: `controlBuffer' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:597: syntax error before `*'
>> > /opt/tinyos/tos/system/AODV_Core.nc:620: `metricValue' undeclared (first
>> > use
>> > in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:622: `rreqPreviousHop' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:623: `nextHop' undeclared (first use
>> > in
>> > this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:626: `ldr' undeclared (first use in
>> > this
>> > function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:633: `pdrValue' undeclared (first
>> > use in
>> > this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:633: `receivedRreq' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:634: `pdrForReply' undeclared (first
>> > use
>> > in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:659: wrong type argument to
>> > increment
>> > /opt/tinyos/tos/system/AODV_Core.nc:663: `metricForReply' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:698: `ControlPool' undeclared (first
>> > use
>> > in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:700: `ControlQueue' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:707: `rreplyLen' undeclared (first
>> > use
>> > in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:710: `rreplyToSend' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:787: `rreqLen' undeclared (first use
>> > in
>> > this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:789: `rreqToSend' undeclared (first
>> > use
>> > in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc: At top level:
>> > /opt/tinyos/tos/system/AODV_Core.nc:819: warning: declaration of `len'
>> > shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_Core.nc: In function
>> > `ReceiveRreply.receive':
>> > /opt/tinyos/tos/system/AODV_Core.nc:822: `controlBuffer' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:824: syntax error before `rreplyLen'
>> > /opt/tinyos/tos/system/AODV_Core.nc:838: `rreplyPreviousHop' undeclared
>> > (first use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:838: `receivedMetric' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:869: `rreplyDest' undeclared (first
>> > use
>> > in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:879: `ControlPool' undeclared (first
>> > use
>> > in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:881: `ControlQueue' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:888: `rreplyLen' undeclared (first
>> > use
>> > in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc: At top level:
>> > /opt/tinyos/tos/system/AODV_Core.nc:913: warning: declaration of `len'
>> > shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_Core.nc: In function `ReceiveRerr.receive':
>> > /opt/tinyos/tos/system/AODV_Core.nc:914: `controlBuffer' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:916: syntax error before `*'
>> > /opt/tinyos/tos/system/AODV_Core.nc:930: `receivedRerr' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:946: `ControlPool' undeclared (first
>> > use
>> > in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:948: `ControlQueue' undeclared
>> > (first
>> > use in this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:953: `rerrDest' undeclared (first
>> > use in
>> > this function)
>> > /opt/tinyos/tos/system/AODV_Core.nc:958: `rerrToSend' undeclared (first
>> > use
>> > in this function)
>> > In file included from /opt/tinyos/tos/system/AODV.nc:34,
>> >                  from AodvTestAppC.nc:12:
>> > In component `AODV_PacketForwarder':
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc: At top level:
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:44: syntax error before
>> > `data_buffer_t'
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:45: syntax error before
>> > `data_buffer_t'
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:80: warning: declaration
>> > of
>> > `data_buffer_t' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:132: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:80: syntax error before
>> > `*'
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc: In function
>> > `printQueueState':
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:119: `DataQueue'
>> > undeclared
>> > (first use in this function)
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:119: `DataPool'
>> > undeclared
>> > (first use in this function)
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc: At top level:
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:129: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:153: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:234: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:238: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:242: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc: In function
>> > `nextMsg.runTask':
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:255: `DataQueue'
>> > undeclared
>> > (first use in this function)
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc: At top level:
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:266: warning: declaration
>> > of
>> > `data_buffer_t' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:132: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:266: syntax error before
>> > `*'
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc: In function
>> > `sendAODVMsg':
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:272: `currentData'
>> > undeclared
>> > (first use in this function)
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:290: `DataQueue'
>> > undeclared
>> > (first use in this function)
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:291: `DataPool'
>> > undeclared
>> > (first use in this function)
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:302: wrong type argument
>> > to
>> > increment
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc: At top level:
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:409: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc: In function
>> > `SendMHopMsg.sendTTL':
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:410: `currentData'
>> > undeclared
>> > (first use in this function)
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:411: syntax error before
>> > `*'
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:431: `dataToSend'
>> > undeclared
>> > (first use in this function)
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:443: `DataPool'
>> > undeclared
>> > (first use in this function)
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:446: `DataQueue'
>> > undeclared
>> > (first use in this function)
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:460: `bufferData'
>> > undeclared
>> > (first use in this function)
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc: In function
>> > `SingleHopSend.sendDone':
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:473: `currentData'
>> > undeclared
>> > (first use in this function)
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:473: `DataQueue'
>> > undeclared
>> > (first use in this function)
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:474: syntax error before
>> > `*'
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:487: `dataToSend'
>> > undeclared
>> > (first use in this function)
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:498: `DataPool'
>> > undeclared
>> > (first use in this function)
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc: At top level:
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:522: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc: In function
>> > `SingleHopReceive.receive':
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:525: `currentData'
>> > undeclared
>> > (first use in this function)
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:526: syntax error before
>> > `void'
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:561: `destDataPaylaod'
>> > undeclared (first use in this function)
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:569: `DataPool'
>> > undeclared
>> > (first use in this function)
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:572: `DataQueue'
>> > undeclared
>> > (first use in this function)
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc: At top level:
>> > /opt/tinyos/tos/system/AODV_PacketForwarder.nc:616: warning: declaration
>> > of
>> > `destination' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:138: warning: location of shadowed
>> > declaration
>> > In file included from /opt/tinyos/tos/system/AODV.nc:34,
>> >                  from AodvTestAppC.nc:12:
>> > In component `AODV_SingleHopComm':
>> > /opt/tinyos/tos/system/AODV_SingleHopComm.nc:65: interface CC2420Packet
>> > not
>> > found
>> > In file included from /opt/tinyos/tos/system/AODV.nc:34,
>> >                  from AodvTestAppC.nc:12:
>> > /opt/tinyos/tos/system/AODV_SingleHopComm.nc:110: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_SingleHopComm.nc:128: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_SingleHopComm.nc: In function
>> > `SingleHopMsg.getLqi':
>> > /opt/tinyos/tos/system/AODV_SingleHopComm.nc:143: interface has no
>> > command
>> > or event named `getLqi'
>> > /opt/tinyos/tos/system/AODV_SingleHopComm.nc: At top level:
>> > /opt/tinyos/tos/system/AODV_SingleHopComm.nc:154: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_SingleHopComm.nc:162: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_SingleHopComm.nc:181: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_SingleHopComm.nc:189: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_SingleHopComm.nc:208: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_SingleHopComm.nc:216: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_SingleHopComm.nc:235: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_SingleHopComm.nc:243: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_SingleHopComm.nc:304: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_SingleHopComm.nc:308: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_SingleHopComm.nc:312: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/system/AODV_SingleHopComm.nc:316: warning: declaration
>> > of
>> > `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > In file included from /opt/tinyos/tos/system/AODV.nc:42,
>> >                  from AodvTestAppC.nc:12:
>> > In component `ActiveMessageC':
>> > /opt/tinyos/tos/platforms/iris/ActiveMessageC.nc:43: warning:
>> > declaration of
>> > `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/platforms/iris/ActiveMessageC.nc:44: warning:
>> > declaration of
>> > `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/platforms/iris/ActiveMessageC.nc:45: warning:
>> > declaration of
>> > `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > In file included from /opt/tinyos/tos/system/AODV.nc:42,
>> >                  from AodvTestAppC.nc:12:
>> > /opt/tinyos/tos/platforms/iris/ActiveMessageC.nc:46: warning:
>> > declaration of
>> > `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > In file included from
>> > /opt/tinyos/tos/platforms/iris/ActiveMessageC.nc:65,
>> >                  from /opt/tinyos/tos/system/AODV.nc:42,
>> >                  from AodvTestAppC.nc:12:
>> > In component `RF230ActiveMessageC':
>> > /opt/tinyos/tos/chips/rf230/RF230ActiveMessageC.nc:47: warning:
>> > declaration
>> > of `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/chips/rf230/RF230ActiveMessageC.nc:48: warning:
>> > declaration
>> > of `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/chips/rf230/RF230ActiveMessageC.nc:49: warning:
>> > declaration
>> > of `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/chips/rf230/RF230ActiveMessageC.nc:50: warning:
>> > declaration
>> > of `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/chips/rf230/RF230ActiveMessageC.nc:53: warning:
>> > declaration
>> > of `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/chips/rf230/RF230ActiveMessageC.nc:54: warning:
>> > declaration
>> > of `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > In file included from
>> > /opt/tinyos/tos/chips/rf230/RF230ActiveMessageC.nc:79,
>> >                  from
>> > /opt/tinyos/tos/platforms/iris/ActiveMessageC.nc:65,
>> >                  from /opt/tinyos/tos/system/AODV.nc:42,
>> >                  from AodvTestAppC.nc:12:
>> > In component `RF230RadioC':
>> > /opt/tinyos/tos/chips/rf230/RF230RadioC.nc:44: warning: declaration of
>> > `id'
>> > shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/chips/rf230/RF230RadioC.nc:45: warning: declaration of
>> > `id'
>> > shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/chips/rf230/RF230RadioC.nc:46: warning: declaration of
>> > `id'
>> > shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/chips/rf230/RF230RadioC.nc:47: warning: declaration of
>> > `id'
>> > shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/chips/rf230/RF230RadioC.nc:50: warning: declaration of
>> > `id'
>> > shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/chips/rf230/RF230RadioC.nc:51: warning: declaration of
>> > `id'
>> > shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > In file included from /opt/tinyos/tos/chips/rf230/RF230RadioC.nc:58,
>> >                  from
>> > /opt/tinyos/tos/chips/rf230/RF230ActiveMessageC.nc:79,
>> >                  from
>> > /opt/tinyos/tos/platforms/iris/ActiveMessageC.nc:65,
>> >                  from /opt/tinyos/tos/system/AODV.nc:42,
>> >                  from AodvTestAppC.nc:12:
>> > In interface `Ieee154Send':
>> > /opt/tinyos/tos/interfaces/Ieee154Send.nc:67: warning: declaration of
>> > `len'
>> > shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/interfaces/Ieee154Send.nc:122: warning: declaration of
>> > `len'
>> > shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > In file included from /opt/tinyos/tos/chips/rf230/RF230RadioC.nc:110,
>> >                  from
>> > /opt/tinyos/tos/chips/rf230/RF230ActiveMessageC.nc:79,
>> >                  from
>> > /opt/tinyos/tos/platforms/iris/ActiveMessageC.nc:65,
>> >                  from /opt/tinyos/tos/system/AODV.nc:42,
>> >                  from AodvTestAppC.nc:12:
>> > In component `RadioAlarmC':
>> > /opt/tinyos/tos/lib/rfxlink/util/RadioAlarmC.nc:41: warning: declaration
>> > of
>> > `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > In file included from
>> > /opt/tinyos/tos/lib/rfxlink/util/RadioAlarmC.nc:52,
>> >                  from /opt/tinyos/tos/chips/rf230/RF230RadioC.nc:110,
>> >                  from
>> > /opt/tinyos/tos/chips/rf230/RF230ActiveMessageC.nc:79,
>> >                  from
>> > /opt/tinyos/tos/platforms/iris/ActiveMessageC.nc:65,
>> >                  from /opt/tinyos/tos/system/AODV.nc:42,
>> >                  from AodvTestAppC.nc:12:
>> > In component `RadioAlarmP':
>> > /opt/tinyos/tos/lib/rfxlink/util/RadioAlarmP.nc:43: warning: declaration
>> > of
>> > `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > In file included from
>> > /opt/tinyos/tos/lib/rfxlink/util/RadioAlarmC.nc:52,
>> >                  from /opt/tinyos/tos/chips/rf230/RF230RadioC.nc:110,
>> >                  from
>> > /opt/tinyos/tos/chips/rf230/RF230ActiveMessageC.nc:79,
>> >                  from
>> > /opt/tinyos/tos/platforms/iris/ActiveMessageC.nc:65,
>> >                  from /opt/tinyos/tos/system/AODV.nc:42,
>> >                  from AodvTestAppC.nc:12:
>> > /opt/tinyos/tos/lib/rfxlink/util/RadioAlarmP.nc:76: warning: declaration
>> > of
>> > `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/lib/rfxlink/util/RadioAlarmP.nc:90: warning: declaration
>> > of
>> > `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/lib/rfxlink/util/RadioAlarmP.nc:94: warning: declaration
>> > of
>> > `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/lib/rfxlink/util/RadioAlarmP.nc:99: warning: declaration
>> > of
>> > `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/lib/rfxlink/util/RadioAlarmP.nc:108: warning:
>> > declaration of
>> > `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > In file included from /opt/tinyos/tos/chips/rf230/RF230RadioC.nc:116,
>> >                  from
>> > /opt/tinyos/tos/chips/rf230/RF230ActiveMessageC.nc:79,
>> >                  from
>> > /opt/tinyos/tos/platforms/iris/ActiveMessageC.nc:65,
>> >                  from /opt/tinyos/tos/system/AODV.nc:42,
>> >                  from AodvTestAppC.nc:12:
>> > In component `ActiveMessageLayerC':
>> > /opt/tinyos/tos/lib/rfxlink/layers/ActiveMessageLayerC.nc:41: warning:
>> > declaration of `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/lib/rfxlink/layers/ActiveMessageLayerC.nc:42: warning:
>> > declaration of `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/lib/rfxlink/layers/ActiveMessageLayerC.nc:43: warning:
>> > declaration of `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/lib/rfxlink/layers/ActiveMessageLayerC.nc:44: warning:
>> > declaration of `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/lib/rfxlink/layers/ActiveMessageLayerC.nc:47: warning:
>> > declaration of `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/lib/rfxlink/layers/ActiveMessageLayerC.nc:48: warning:
>> > declaration of `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > In file included from
>> > /opt/tinyos/tos/lib/rfxlink/layers/ActiveMessageLayerC.nc:62,
>> >                  from /opt/tinyos/tos/chips/rf230/RF230RadioC.nc:116,
>> >                  from
>> > /opt/tinyos/tos/chips/rf230/RF230ActiveMessageC.nc:79,
>> >                  from
>> > /opt/tinyos/tos/platforms/iris/ActiveMessageC.nc:65,
>> >                  from /opt/tinyos/tos/system/AODV.nc:42,
>> >                  from AodvTestAppC.nc:12:
>> > In component `ActiveMessageLayerP':
>> > /opt/tinyos/tos/lib/rfxlink/layers/ActiveMessageLayerP.nc:45: warning:
>> > declaration of `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/lib/rfxlink/layers/ActiveMessageLayerP.nc:46: warning:
>> > declaration of `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/lib/rfxlink/layers/ActiveMessageLayerP.nc:47: warning:
>> > declaration of `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/lib/rfxlink/layers/ActiveMessageLayerP.nc:48: warning:
>> > declaration of `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/lib/rfxlink/layers/ActiveMessageLayerP.nc:51: warning:
>> > declaration of `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/lib/rfxlink/layers/ActiveMessageLayerP.nc:52: warning:
>> > declaration of `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > In file included from
>> > /opt/tinyos/tos/lib/rfxlink/layers/ActiveMessageLayerC.nc:62,
>> >                  from /opt/tinyos/tos/chips/rf230/RF230RadioC.nc:116,
>> >                  from
>> > /opt/tinyos/tos/chips/rf230/RF230ActiveMessageC.nc:79,
>> >                  from
>> > /opt/tinyos/tos/platforms/iris/ActiveMessageC.nc:65,
>> >                  from /opt/tinyos/tos/system/AODV.nc:42,
>> >                  from AodvTestAppC.nc:12:
>> > /opt/tinyos/tos/lib/rfxlink/layers/ActiveMessageLayerP.nc:79: warning:
>> > declaration of `id' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:136: warning: location of shadowed
>> > declaration
>> > /opt/tinyos/tos/lib/rfxlink/layers/ActiveMessageLayerP.nc:79: warning:
>> > declaration of `len' shadows global declaration
>> > /opt/tinyos/tos/lib/AODV.h:137: warning: location of shadowed
>> > declaration
>> > ^C^C^Cmake: *** [exe0] Interrupt
>> >
>> >
>> > On Tue, Jun 28, 2011 at 8:36 AM, Miklos Maroti
>> > <[email protected]>
>> > wrote:
>> >>
>> >> Are you using the latest version of tinyos-main from google-code?
>> >> Miklos
>> >>
>> >> On Mon, Jun 27, 2011 at 6:22 PM, Tiong Hoo Lim <[email protected]>
>> >> wrote:
>> >> > Hi,
>> >> >    I am trying to run nst-aodv on iris motes. I have managed to
>> >> > compile
>> >> > the
>> >> > source but unable to make any successful communication between two
>> >> > motes
>> >> > as
>> >> > it return EBUSY each time it trying to send. This version of NST-AODV
>> >> > works
>> >> > for TelosB with CC2420PacketLink. I have modified the radio to use
>> >> > RF230ActiveMessage but still cannot communicate. I believe it has to
>> >> > do
>> >> > with
>> >> > the acknowledgement packet. Am I missing something?
>> >> >
>> >> > Thanks
>> >> > TH
>> >> > PhD Students
>> >> >
>> >> > _______________________________________________
>> >> > 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