Try to email the maintainers directly, they might be able to help you
out. Miklos

On Mon, Jun 23, 2008 at 11:24 AM,  <[EMAIL PROTECTED]> wrote:
> Actually, it prints the same errors for micaz, so I guess we can exclude
> incompatibility issue. It is surely a mistake from my installation procedure,
> but I found no installation documentation for this project, so I'm a little
> confused...
>
> Raphael
>
>
> Selon Miklos Maroti <[EMAIL PROTECTED]>:
>
>> Does it compile for telos or micaz? Do you use the latest CVS version
>> of tinyos-2.x?
>>
>> Miklos
>>
>> On Mon, Jun 23, 2008 at 10:46 AM,  <[EMAIL PROTECTED]> wrote:
>> > Hello everyone,
>> >
>> > I am using MIB520 with IRIS Motes and everything is working fine for now.
>> > But I wanted to implement a multi-hop routing protocol in my network,
>> > and Tymo seemed to be the easiest one to use.
>> >
>> > After downloading the rep with SVN, I copied the content of tymo/src folder
>> > (apps, tos, Makefile) to my TinyOS folder (c:/cygwin/opt/tinyos-2.x).
>> >
>> > When I try to compile something (MHBaseStation for example), it prints lots
>> of
>> > errors :
>> >
>> > --------------------------------------------------------------
>> > [EMAIL PROTECTED] /opt/tinyos-2.x/apps/MHBaseStation
>> > $ make iris
>> > mkdir -p build/iris
>> >    compiling TymaBaseAppC to a iris binary
>> > ncc -o build/iris/main.exe  -Os -I../../tos/lib/net/dymo
>> -I../../tos/lib/net/mul
>> > tihop -I../tymaluate/monitor/ -I../tymaluate/sense/ -Wall -Wshadow
>> -Wnesc-all -t
>> > arget=iris -fnesc-cfile=build/iris/app.c -board=micasb
>> -DDEFINED_TOS_AM_GROUP=0x
>> > 22 -finline-limit=100000 -DIDENT_PROGRAM_NAME=\"TymaBaseAppC\"
>> -DIDENT_USER_ID=\
>> > "raphael\" -DIDENT_HOSTNAME=\"salina\" -DIDENT_USER_HASH=0x0b0e3da7L
>> -DIDENT_UNI
>> > X_TIME=0x485f5808L -DIDENT_UID_HASH=0xbacafa79L -fnesc-dump=wiring
>> -fnesc-dump='
>> > interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
>> components)' -fn
>> > esc-dumpfile=build/iris/wiring-check.xml TymaBaseAppC.nc -lm
>> > In file included from MonitorC.nc:1,
>> >                 from TymaBaseAppC.nc:11:
>> > ../tymaluate/monitor/monitoring.h:5: syntax error before `<'
>> > ../tymaluate/monitor/monitoring.h:279: malformed floating constant
>> > In file included from TymaBaseAppC.nc:11:
>> > MonitorC.nc:8: syntax error before `->'
>> > MonitorC.nc:9: syntax error before `->'
>> > MonitorC.nc:10: syntax error before `->'
>> > MonitorC.nc:11: syntax error before `->'
>> > MonitorC.nc:12: syntax error before `->'
>> > MonitorC.nc:18: syntax error before `->'
>> > MonitorC.nc:19: syntax error before `->'
>> > MonitorC.nc:20: syntax error before `->'
>> > MonitorC.nc:22: syntax error before `->'
>> > In file included from ../../tos/lib/net/multihop/MHServiceC.nc:33,
>> >                 from ../../tos/lib/net/dymo/DymoNetworkC.nc:38,
>> >                 from BaseStationC.nc:72,
>> >                 from TymaBaseAppC.nc:13:
>> > In component `MHPacketM':
>> > ../../tos/lib/net/multihop/MHPacketM.nc:38: conflicting types for
>> `Packet.getPay
>> > load'
>> > /opt/tinyos-2.x/tos/interfaces/Packet.nc:115: previous declaration of
>> `Packet.ge
>> > tPayload'
>> > ../../tos/lib/net/multihop/MHPacketM.nc: In function `Packet.getPayload':
>> > ../../tos/lib/net/multihop/MHPacketM.nc:39: warning: passing argument 2 of
>> `SubP
>> > acket.getPayload' makes integer from pointer without a cast
>> > ../../tos/lib/net/multihop/MHPacketM.nc: In function
>> `Packet.payloadLength':
>> > ../../tos/lib/net/multihop/MHPacketM.nc:50: warning: passing argument 2 of
>> `SubP
>> > acket.getPayload' makes integer from pointer without a cast
>> > ../../tos/lib/net/multihop/MHPacketM.nc: In function
>> `Packet.setPayloadLength':
>> > ../../tos/lib/net/multihop/MHPacketM.nc:54: warning: passing argument 2 of
>> `SubP
>> > acket.getPayload' makes integer from pointer without a cast
>> > ../../tos/lib/net/multihop/MHPacketM.nc: In function
>> `MHPacket.destination':
>> > ../../tos/lib/net/multihop/MHPacketM.nc:68: warning: passing argument 2 of
>> `SubP
>> > acket.getPayload' makes integer from pointer without a cast
>> > ../../tos/lib/net/multihop/MHPacketM.nc: In function `MHPacket.isForMe':
>> > ../../tos/lib/net/multihop/MHPacketM.nc:72: warning: passing argument 2 of
>> `SubP
>> > acket.getPayload' makes integer from pointer without a cast
>> > ../../tos/lib/net/multihop/MHPacketM.nc:72: warning: passing argument 2 of
>> `SubP
>> > acket.getPayload' makes integer from pointer without a cast
>> > ../../tos/lib/net/multihop/MHPacketM.nc: In function
>> `MHPacket.setDestination':
>> > ../../tos/lib/net/multihop/MHPacketM.nc:76: warning: passing argument 2 of
>> `SubP
>> > acket.getPayload' makes integer from pointer without a cast
>> > ../../tos/lib/net/multihop/MHPacketM.nc: In function `MHPacket.setSource':
>> > ../../tos/lib/net/multihop/MHPacketM.nc:80: warning: passing argument 2 of
>> `SubP
>> > acket.getPayload' makes integer from pointer without a cast
>> > ../../tos/lib/net/multihop/MHPacketM.nc: In function `MHPacket.setType':
>> > ../../tos/lib/net/multihop/MHPacketM.nc:84: warning: passing argument 2 of
>> `SubP
>> > acket.getPayload' makes integer from pointer without a cast
>> > ../../tos/lib/net/multihop/MHPacketM.nc: In function `MHPacket.source':
>> > ../../tos/lib/net/multihop/MHPacketM.nc:89: warning: passing argument 2 of
>> `SubP
>> > acket.getPayload' makes integer from pointer without a cast
>> > ../../tos/lib/net/multihop/MHPacketM.nc: In function `MHPacket.type':
>> > ../../tos/lib/net/multihop/MHPacketM.nc:93: warning: passing argument 2 of
>> `SubP
>> > acket.getPayload' makes integer from pointer without a cast
>> > ../../tos/lib/net/multihop/MHPacketM.nc: At top level:
>> > ../../tos/lib/net/multihop/MHPacketM.nc:28: `MHPacket.group' not
>> implemented
>> > ../../tos/lib/net/multihop/MHPacketM.nc:28: `MHPacket.setGroup' not
>> implemented
>> > ../../tos/lib/net/multihop/MHPacketM.nc:28: `MHPacket.localGroup' not
>> implemente
>> > d
>> > In file included from ../../tos/lib/net/multihop/MHServiceC.nc:34,
>> >                 from ../../tos/lib/net/dymo/DymoNetworkC.nc:38,
>> >                 from BaseStationC.nc:72,
>> >                 from TymaBaseAppC.nc:13:
>> > In component `ForwardingEngineM':
>> > /opt/tinyos-2.x/tos/system/ForwardingEngineM.nc: In function `AMSend.send':
>> > /opt/tinyos-2.x/tos/system/ForwardingEngineM.nc:62: interface has no
>> command or
>> > event named `payloadLength'
>> > /opt/tinyos-2.x/tos/system/ForwardingEngineM.nc:73: interface has no
>> command or
>> > event named `payloadLength'
>> > /opt/tinyos-2.x/tos/system/ForwardingEngineM.nc: In function
>> `SubReceive.receive
>> > ':
>> > /opt/tinyos-2.x/tos/system/ForwardingEngineM.nc:96: warning: passing
>> argument 2
>> > of `PPacket.getPayload' makes integer from pointer without a cast
>> > /opt/tinyos-2.x/tos/system/ForwardingEngineM.nc:102: warning: passing
>> argument 2
>> >  of `PPacket.getPayload' makes integer from pointer without a cast
>> > /opt/tinyos-2.x/tos/system/ForwardingEngineM.nc: In function `Timer.fired':
>> > /opt/tinyos-2.x/tos/system/ForwardingEngineM.nc:157: warning: passing
>> argument 2
>> >  of `PPacket.getPayload' makes integer from pointer without a cast
>> > /opt/tinyos-2.x/tos/system/ForwardingEngineM.nc: At top level:
>> > /opt/tinyos-2.x/tos/system/ForwardingEngineM.nc:200: conflicting types for
>> `AMSe
>> > nd.getPayload'
>> > /opt/tinyos-2.x/tos/interfaces/AMSend.nc:124: previous declaration of
>> `AMSend.ge
>> > tPayload'
>> > /opt/tinyos-2.x/tos/system/ForwardingEngineM.nc: In function
>> `AMSend.getPayload'
>> > :
>> > /opt/tinyos-2.x/tos/system/ForwardingEngineM.nc:201: warning: passing
>> argument 2
>> >  of `PPacket.getPayload' makes integer from pointer without a cast
>> > /opt/tinyos-2.x/tos/system/ForwardingEngineM.nc: At top level:
>> > /opt/tinyos-2.x/tos/system/ForwardingEngineM.nc:208: `getPayload' is not in
>> inte
>> > rface `Receive'
>> > /opt/tinyos-2.x/tos/system/ForwardingEngineM.nc: In function
>> `Receive.getPayload
>> > ':
>> > /opt/tinyos-2.x/tos/system/ForwardingEngineM.nc:209: warning: passing
>> argument 2
>> >  of `PPacket.getPayload' makes integer from pointer without a cast
>> > /opt/tinyos-2.x/tos/system/ForwardingEngineM.nc: At top level:
>> > /opt/tinyos-2.x/tos/system/ForwardingEngineM.nc:212: `payloadLength' is not
>> in i
>> > nterface `Receive'
>> > /opt/tinyos-2.x/tos/system/ForwardingEngineM.nc:225: conflicting types for
>> `Inte
>> > rcept.forward'
>> > /opt/tinyos-2.x/tos/interfaces/Intercept.nc:31: previous declaration of
>> `Interce
>> > pt.forward'
>> > ../../tos/lib/net/dymo/DymoServiceC.nc:6:28: StorageVolumes.h: No such file
>> or d
>> > irectory
>> > In file included from BaseStationC.nc:72,
>> >                 from TymaBaseAppC.nc:13:
>> > In component `DymoNetworkC':
>> > ../../tos/lib/net/dymo/DymoNetworkC.nc:38: failed to preprocess
>> ../../tos/lib/ne
>> > t/dymo/DymoServiceC.nc
>> > In file included from ../../tos/lib/net/dymo/DymoNetworkC.nc:40,
>> >                 from BaseStationC.nc:72,
>> >                 from TymaBaseAppC.nc:13:
>> > In component `LoopBackM':
>> > /opt/tinyos-2.x/tos/system/LoopBackM.nc: In function `AMSend.send':
>> > /opt/tinyos-2.x/tos/system/LoopBackM.nc:38: warning: passing argument 2 of
>> `Pack
>> > et.getPayload' makes integer from pointer without a cast
>> > /opt/tinyos-2.x/tos/system/LoopBackM.nc: At top level:
>> > /opt/tinyos-2.x/tos/system/LoopBackM.nc:54: conflicting types for
>> `AMSend.getPay
>> > load'
>> > /opt/tinyos-2.x/tos/interfaces/AMSend.nc:124: previous declaration of
>> `AMSend.ge
>> > tPayload'
>> > /opt/tinyos-2.x/tos/system/LoopBackM.nc: In function `AMSend.getPayload':
>> > /opt/tinyos-2.x/tos/system/LoopBackM.nc:55: too few arguments to function
>> > /opt/tinyos-2.x/tos/system/LoopBackM.nc: At top level:
>> > /opt/tinyos-2.x/tos/system/LoopBackM.nc:67: `getPayload' is not in
>> interface `Re
>> > ceive'
>> > /opt/tinyos-2.x/tos/system/LoopBackM.nc: In function `Receive.getPayload':
>> > /opt/tinyos-2.x/tos/system/LoopBackM.nc:68: interface has no command or
>> event na
>> > med `getPayload'
>> > /opt/tinyos-2.x/tos/system/LoopBackM.nc:68: subscripted value is neither
>> array n
>> > or pointer
>> > /opt/tinyos-2.x/tos/system/LoopBackM.nc: At top level:
>> > /opt/tinyos-2.x/tos/system/LoopBackM.nc:71: `payloadLength' is not in
>> interface
>> > `Receive'
>> > /opt/tinyos-2.x/tos/system/LoopBackM.nc: In function
>> `Receive.payloadLength':
>> > /opt/tinyos-2.x/tos/system/LoopBackM.nc:72: interface has no command or
>> event na
>> > med `payloadLength'
>> > /opt/tinyos-2.x/tos/system/LoopBackM.nc:72: subscripted value is neither
>> array n
>> > or pointer
>> > In component `DymoNetworkC':
>> > ../../tos/lib/net/dymo/DymoNetworkC.nc: At top level:
>> > ../../tos/lib/net/dymo/DymoNetworkC.nc:69: cannot find `AMPacket'
>> > ../../tos/lib/net/dymo/DymoNetworkC.nc:70: cannot find `Packet'
>> > ../../tos/lib/net/dymo/DymoNetworkC.nc:71: cannot find `AMSend'
>> > ../../tos/lib/net/dymo/DymoNetworkC.nc:72: cannot find `Receive'
>> > ../../tos/lib/net/dymo/DymoNetworkC.nc:79: cannot find `SplitControl'
>> > ../../tos/lib/net/dymo/DymoNetworkC.nc:83: cannot find `DymoMonitor'
>> > In file included from ConverterM.nc:1,
>> >                 from BaseStationC.nc:73,
>> >                 from TymaBaseAppC.nc:13:
>> > In C file:
>> > ../tymaluate/monitor/monitoring.h:5: syntax error before `<'
>> > ../tymaluate/monitor/monitoring.h:279: malformed floating constant
>> > In file included from ConverterM.nc:2,
>> >                 from BaseStationC.nc:73,
>> >                 from TymaBaseAppC.nc:13:
>> > ../tymaluate/sense/sensing.h:134: numeric constant contains digits beyond
>> the ra
>> > dix
>> > ../tymaluate/sense/sensing.h:279: malformed floating constant
>> > In file included from BaseStationC.nc:73,
>> >                 from TymaBaseAppC.nc:13:
>> > In interface `Receive':
>> > ConverterM.nc:7: syntax error before `['
>> > In file included from TymaBaseAppC.nc:13:
>> > In component `BaseStationC':
>> > BaseStationC.nc:88: `AM_MONITOR_MSG' undeclared here (not in a function)
>> > BaseStationC.nc:89: `AM_SENSING_MSG' undeclared here (not in a function)
>> > BaseStationC.nc:85: cannot find `AMSend'
>> > BaseStationC.nc:86: cannot find `Receive'
>> > BaseStationC.nc:87: cannot find `SubSend'
>> > BaseStationC.nc:88: cannot find `MonitorReceive'
>> > BaseStationC.nc:89: cannot find `SensorReceive'
>> > BaseStationC.nc:90: cannot find `AMPacket'
>> > make: *** [exe0] Error 1
>> > -----------------------------------------------------------------
>> >
>> > Did I do something wrong concerning the install of Tymo ? Or is there
>> > incompatibility with IRIS ? Or something else ?
>> >
>> > Any help would be greatly appreciated.
>> > Thanks,
>> >
>> > Raphael
>> >
>> >
>> > _______________________________________________
>> > 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