Hi,
I have installed tinyos 2.1.2 under Ubuntu 12.04. I can make PppRouter and UDPEcho on telosb platform. Does blip and coap in tinyos 2.1.2 support micaz or iris platform? There are errors if I make micaz under PppRouter dictionary and errors on other applications. Ubuntu 12.04 MSP430-GCC 4.6.3 NESCC 1.3.5 | | telosb | micaz | iris | | | PppRouter | OK | ERROR | ERROR | | | UDPEcho | OK | OK | ERROR | | | TCPEcho | ERROR | ERROR | ERROR | | | CoapBlip | ERROR | ERROR | ERROR | | | | | | | | ************************************************************************************************************************** root@ubuntu:/opt/tinyos-2.1.2/apps/PppRouter# make micaz blip [INFO] compiling PppRouterC to a micaz binary nescc -o build/micaz/main.exe -Os -DRPL_ROUTING -DRPL_STORING_MODE -I../../tos/lib/net/rpl -I../../tos/lib/ppp -I../../tos/lib/fragpool -DPPP_HDLC_RX_FRAME_LIMIT=1 -DPPP_HDLC_TX_FRAME_LIMIT=8 -DIN6_PREFIX=\"fec0::\" -DBLIP_DERIVE_SHORTADDRS -gcc=avr-gcc -Wnesc-all -fnesc-include=tos -fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask -fnesc-cfile=build/micaz/app.c -fnesc-separator=__ -DDEFINED_TOS_AM_GROUP=0x22 -DCC2420_HW_ACKNOWLEDGEMENTS -DCC2420_HW_ADDRESS_RECOGNITION -DPACKET_LINK -DTOSH_DATA_LENGTH=112 -I../../tos/lib/net/ -I../../tos/lib/printf/ -I../../tools/tinyos/c/blip/ -I../../tos/lib/net/blip/ -I../../tos/lib/net/blip/interfaces/ -I../../tos/lib/net/blip/nwprog/ -I../../tos/lib/net/blip/shell/ -I../../tos/lib/net/blip/serial/ -I../../tos/lib/net/blip/platform/ -I../../tos/lib/net/blip/icmp/ -I../../tos/lib/net/blip/dhcp/ -I../../tos/platforms/micaz -I../../tos/platforms/mica -I../../tos/platforms/micaz/chips/cc2420 -I../../tos/chips/cc2420 -I../../tos/chips/cc2420/alarm -I../../tos/chips/cc2420/control -I../../tos/chips/cc2420/csma -I../../tos/chips/cc2420/interfaces -I../../tos/chips/cc2420/link -I../../tos/chips/cc2420/lowpan -I../../tos/chips/cc2420/lpl -I../../tos/chips/cc2420/packet -I../../tos/chips/cc2420/receive -I../../tos/chips/cc2420/spi -I../../tos/chips/cc2420/transmit -I../../tos/chips/cc2420/unique -I../../tos/chips/cc2420/security -I../../tos/platforms/micaz/chips/at45db -I../../tos/platforms/mica2/chips/at45db -I../../tos/platforms/mica/chips/at45db -I../../tos/chips/at45db -I../../tos/chips/atm128 -I../../tos/chips/atm128/adc -I../../tos/chips/atm128/pins -I../../tos/chips/atm128/spi -I../../tos/chips/atm128/i2c -I../../tos/chips/atm128/timer -I../../tos/lib/timer -I../../tos/lib/serial -I../../tos/lib/power -I../../tos/lib/diagmsg -mmcu=atmega128 -fnesc-target=avr -fnesc-no-debug -DPLATFORM_MICAZ -Wall -Wshadow --param max-inline-insns-single=100000 -I../../tos/system -I../../tos/types -I../../tos/interfaces -DIDENT_APPNAME=\"PppRouterC\" -DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0xa3473ba6L -DIDENT_TIMESTAMP=0x53cdf274L -DIDENT_UIDHASH=0x67782f81L -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, components)' -fnesc-dumpfile=build/micaz/wiring-check.xml PppRouterC.nc -lm ../../tools/tinyos/c/blip/lib6lowpan/iovec.c ../../tools/tinyos/c/blip/lib6lowpan/in_cksum.c ../../tools/tinyos/c/blip/lib6lowpan/ip_malloc.c ../../tools/tinyos/c/blip/lib6lowpan/utility.c ../../tos/lib/net/blip/table.c ../../tos/system/LedC.nc:32:25: error: PlatformLed.h: No such file or directory In file included from ../../tos/lib/ppp/PppC.nc:78, from ../../tos/lib/ppp/PppDaemonC.nc:56, from PppRouterC.nc:16: In component `LedC': ../../tos/system/LedC.nc:88: component PlatformLedC not found ../../tos/system/LedC.nc:89: no match In file included from ../../tos/lib/timer/MuxAlarmMilli32C.nc:47, from ../../tos/lib/ppp/LcpAutomatonC.nc:72, from ../../tos/lib/ppp/LinkControlProtocolC.nc:89, from ../../tos/lib/ppp/PppDaemonC.nc:65, from PppRouterC.nc:16: In component `MuxAlarmMilli32C_': ../../tos/lib/timer/MuxAlarmMilli32C_.nc:55: component AlarmMilli32C not found ../../tos/lib/timer/MuxAlarmMilli32C_.nc:55: component `AlarmMilli32C' is not generic ../../tos/lib/timer/MuxAlarmMilli32C_.nc:56: no match ../../tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning "*** LOW POWER COMMUNICATIONS DISABLED ***" ../../tos/chips/cc2420/link/PacketLinkC.nc:38:2: warning: #warning "*** USING PACKET LINK LAYER" make: *** [exe] Error 1 root@ubuntu:/opt/tinyos-2.1.2/apps/PppRouter# make iris blip [INFO] compiling PppRouterC to a iris binary nescc -o build/iris/main.exe -Os -DRPL_ROUTING -DRPL_STORING_MODE -I../../tos/lib/net/rpl -I../../tos/lib/ppp -I../../tos/lib/fragpool -DPPP_HDLC_RX_FRAME_LIMIT=1 -DPPP_HDLC_TX_FRAME_LIMIT=8 -DIN6_PREFIX=\"fec0::\" -DBLIP_DERIVE_SHORTADDRS -gcc=avr-gcc -Wnesc-all -fnesc-include=tos -fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask -fnesc-cfile=build/iris/app.c -fnesc-separator=__ -DDEFINED_TOS_AM_GROUP=0x22 -DCC2420_HW_ACKNOWLEDGEMENTS -DCC2420_HW_ADDRESS_RECOGNITION -DPACKET_LINK -DTOSH_DATA_LENGTH=112 -I../../tos/lib/net/ -I../../tos/lib/printf/ -I../../tools/tinyos/c/blip/ -I../../tos/lib/net/blip/ -I../../tos/lib/net/blip/interfaces/ -I../../tos/lib/net/blip/nwprog/ -I../../tos/lib/net/blip/shell/ -I../../tos/lib/net/blip/serial/ -I../../tos/lib/net/blip/platform/ -I../../tos/lib/net/blip/icmp/ -I../../tos/lib/net/blip/dhcp/ -I../../tos/platforms/iris -I../../tos/platforms/micaz -I../../tos/platforms/mica -I../../tos/platforms/iris/chips/rf230 -I../../tos/chips/rf230 -I../../tos/lib/rfxlink/layers -I../../tos/lib/rfxlink/util -I../../tos/platforms/iris/chips/at45db -I../../tos/platforms/mica2/chips/at45db -I../../tos/platforms/mica/chips/at45db -I../../tos/chips/at45db -I../../tos/platforms/iris/chips/ds2401 -I../../tos/platforms/mica2/chips/ds2401 -I../../tos/chips/ds2401 -I../../tos/chips/atm1281 -I../../tos/chips/atm1281/adc -I../../tos/chips/atm1281/timer -I../../tos/chips/atm128 -I../../tos/chips/atm128/adc -I../../tos/chips/atm128/pins -I../../tos/chips/atm128/spi -I../../tos/chips/atm128/i2c -I../../tos/chips/atm128/timer -I../../tos/lib/timer -I../../tos/lib/serial -I../../tos/lib/power -I../../tos/lib/diagmsg -mmcu=atmega1281 -fnesc-target=avr -fnesc-no-debug -DPLATFORM_IRIS -Wall -Wshadow --param max-inline-insns-single=100000 -I../../tos/system -I../../tos/types -I../../tos/interfaces -DIDENT_APPNAME=\"PppRouterC\" -DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0xa3473ba6L -DIDENT_TIMESTAMP=0x53cdf282L -DIDENT_UIDHASH=0x3a3c71e1L -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, components)' -fnesc-dumpfile=build/iris/wiring-check.xml PppRouterC.nc -lm ../../tools/tinyos/c/blip/lib6lowpan/iovec.c ../../tools/tinyos/c/blip/lib6lowpan/in_cksum.c ../../tools/tinyos/c/blip/lib6lowpan/ip_malloc.c ../../tools/tinyos/c/blip/lib6lowpan/utility.c ../../tos/lib/net/blip/table.c In file included from ../../tos/lib/timer/MuxAlarmMilli32C.nc:47, from ../../tos/lib/ppp/LcpAutomatonC.nc:72, from ../../tos/lib/ppp/LinkControlProtocolC.nc:89, from ../../tos/lib/ppp/PppDaemonC.nc:65, from PppRouterC.nc:16: In component `MuxAlarmMilli32C_': ../../tos/lib/timer/MuxAlarmMilli32C_.nc:55: component AlarmMilli32C not found ../../tos/lib/timer/MuxAlarmMilli32C_.nc:55: component `AlarmMilli32C' is not generic ../../tos/lib/timer/MuxAlarmMilli32C_.nc:56: no match In file included from ../../tos/lib/net/blip/IPNeighborDiscoveryC.nc:16, from ../../tos/lib/net/blip/IPStackC.nc:47, from PppRouterC.nc:43: In component `IPAddressC': ../../tos/lib/net/blip/IPAddressC.nc:34: component Ieee154AddressC not found ../../tos/lib/net/blip/IPAddressC.nc:38: cannot find `Ieee154Address' In component `IPNeighborDiscoveryC': ../../tos/lib/net/blip/IPNeighborDiscoveryC.nc:23: cannot find `Ieee154Address' In file included from ../../tos/lib/net/blip/IPStackC.nc:48, from PppRouterC.nc:43: In component `IPDispatchC': ../../tos/lib/net/blip/IPDispatchC.nc:46: component Ieee154BareC not found ../../tos/lib/net/blip/IPDispatchC.nc:47: component RadioPacketMetadataC not found ../../tos/lib/net/blip/IPDispatchC.nc:59: cannot find `SplitControl' ../../tos/lib/net/blip/IPDispatchC.nc:60: cannot find `BarePacket' ../../tos/lib/net/blip/IPDispatchC.nc:61: cannot find `BareSend' ../../tos/lib/net/blip/IPDispatchC.nc:62: cannot find `BareReceive' ../../tos/lib/net/blip/IPDispatchC.nc:68: cannot find `PacketLink' make: *** [exe] Error 1 ************************************************************************************************************************** -- Thanks for your attention. Best regards.
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help