[Tinyos-help] problems with tymo-dymo
fhg07 at c3sl.ufpr.br
fhg07 at c3sl.ufpr.br
Tue Jul 1 07:09:39 PDT 2008
Well, I was searching for some implemented protocols for tinyOS 2.x and
I found this one, which seemed to be what I was looking for. However,
after downloading its source and placing it inside my tinyos2 installation
directory, whenever I try to create the binary, with make, lots of errors
appear, and I really cannot understand why that happens.
For instance, when I am in the MHBaseStation/ Directory, and type make mica2,
that is what follows:
"fernando at baco:/opt/tinyos2/tinyos-2.x-src/apps/MHBaseStation$ make mica2
mkdir -p build/mica2
compiling TymaBaseAppC to a mica2 binary
ncc -o build/mica2/main.exe -Os -I../../tos/lib/net/dymo
-I../../tos/lib/net/multihop -I../tymaluate/monitor/ -I../tymaluate/sense/
-Wall -Wshadow -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c
-board=micasb -DDEFINED_TOS_AM_GROUP=0x22 -finline-limit=100000
-DIDENT_PROGRAM_NAME=\"TymaBaseAppC\" -DIDENT_USER_ID=\"fernando\"
-DIDENT_HOSTNAME=\"baco.inf.ufpr.b\" -DIDENT_USER_HASH=0x92905e1aL
-DIDENT_UNIX_TIME=0x486a3a0fL -DIDENT_UID_HASH=0xb0fea519L
-fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())'
-fnesc-dump='referenced(interfacedefs, components)'
-fnesc-dumpfile=build/mica2/wiring-check.xml TymaBaseAppC.nc -lm
../tymaluate/monitor/MonitorM.nc:1:26: dymo_routing.h: No such file or
directory
In file included from TymaBaseAppC.nc:11:
In component `MonitorC':
MonitorC.nc:5: failed to preprocess ../tymaluate/monitor/MonitorM.nc
MonitorC.nc:5: component DymoNetworkC not found
MonitorC.nc:8: cannot find `Leds'
MonitorC.nc:9: cannot find `Read'
MonitorC.nc:10: cannot find `SplitControl'
MonitorC.nc:11: cannot find `DymoMonitor'
MonitorC.nc:12: cannot find `RoutingTableInfo'
MonitorC.nc:18: cannot find `Receive'
MonitorC.nc:19: cannot find `MHSend'
MonitorC.nc:20: cannot find `Intercept'
MonitorC.nc:22: cannot find `MHPacket'
In file included from BaseStationC.nc:73,
from TymaBaseAppC.nc:13:
In component `ConverterM':
ConverterM.nc:30: conflicting types for `AMSend.getPayload'
/opt/tinyos2/tinyos-2.x-src/tos/interfaces/AMSend.nc:124: previous
declaration of `AMSend.getPayload'
ConverterM.nc: In function `AMSend.getPayload':
ConverterM.nc:31: too few arguments to function
ConverterM.nc: At top level:
ConverterM.nc:46: `getPayload' is not in interface `Receive'
ConverterM.nc: In function `Receive.getPayload':
ConverterM.nc:47: interface has no command or event named `getPayload'
ConverterM.nc: At top level:
ConverterM.nc:50: `payloadLength' is not in interface `Receive'
ConverterM.nc: In function `Receive.payloadLength':
ConverterM.nc:51: interface has no command or event named `payloadLength'
In component `BaseStationC':
BaseStationC.nc: At top level:
BaseStationC.nc:77: cannot find `SplitControl'
BaseStationC.nc:87: cannot find `MHSend'
BaseStationC.nc:88: cannot find `Receive'
BaseStationC.nc:89: cannot find `Receive'
BaseStationC.nc:90: cannot find `MHPacket'
BaseStationC.nc:96: cannot find `Packet'
BaseStationC.nc:97: cannot find `MHPacket'
make: *** [exe0] Error 1"
Any idea of what could possibly be wrong?
More information about the Tinyos-help
mailing list