Sorry... i was using wrong revision. Now works. Other question: how can change routing driver to enable lpl?
I followed the blip tutorial but don't recognize --enable-lpl flag ----- Email encaminhado de [email protected] ----- Data: Tue, 18 Jan 2011 16:41:59 +0000 De: Carlos Rodrigues <[email protected]> Assunto: [Tinyos-help] 6lowpan/blip installation errors Para: [email protected], [email protected] Hi, When I try recompile IPBaseStation again, with low power listening flag or not, have the following errors: With CFLAGS += -DLOW_POWER_LISTENING: root@carlos-laptop:/opt/tinyos-2.1.1/apps/IPBaseStation# make iris blip install mib510,/dev/ttyUSB0 mkdir -p build/iris compiling BaseStationC to a iris binary ncc -o build/iris/main.exe -Os -DPACKET_LINK -DDEF_MEMCPY -DENABLE_SPI0_DMA -DBLIP_MULTICAST -DCC2420_HW_ACKNOWLEDGEMENTS -DTOSH_DATA_LENGTH=102 -I/home/carlos/tinyos-main-read-only/tos/lib/net/ -I/home/carlos/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/ -I/home/carlos/tinyos-main-read-only/support/sdk/c/blip/libtcp/ -I/home/carlos/tinyos-main-read-only/tos/lib/net/blip/ -I/home/carlos/tinyos-main-read-only/tos/lib/net/blip/interfaces/ -I/home/carlos/tinyos-main-read-only/tos/lib/net/blip/nwprog/ -I/home/carlos/tinyos-main-read-only/tos/lib/net/blip/shell/ -I/home/carlos/tinyos-main-read-only/tos/lib/net/blip/serial/ -I/home/carlos/tinyos-main-read-only/tos/lib/net/blip/platform/ /home/carlos/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/lib6lowpan.c /home/carlos/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/lib6lowpanIP.c /home/carlos/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/lib6lowpanFrag.c /home/carlos/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/in_cksum.c /home/carlos/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/ip_malloc.c /home/carlos/tinyos-main-read-only/tos/lib/net/blip/table.c -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 -DNO_IP_MALLOC -DIEEE154FRAMES_ENABLED -DLOW_POWER_LISTENING -DLPL_SLEEP_INTERVAL=512 -DIDENT_APPNAME=\"BaseStationC\" -DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"carlos-laptop\" -DIDENT_USERHASH=0x7033995aL -DIDENT_TIMESTAMP=0x4d35bef0L -DIDENT_UIDHASH=0xaf44e3f3L -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, components)' -fnesc-dumpfile=build/iris/wiring-check.xml BaseStationC.nc -lm BaseStationP.nc:68:20: error: CC2420.h: No such file or directory In file included from BaseStationC.nc:100: In component `BaseStationP': BaseStationP.nc:98: interface CC2420Config not found In file included from BaseStationC.nc:100: BaseStationP.nc: In function `ConfigureReceive.receive': BaseStationP.nc:413: interface has no command or event named `setChannel' BaseStationP.nc:416: interface has no command or event named `sync' BaseStationP.nc: At top level: BaseStationP.nc:434: `syncDone' is not in interface `CC2420Config' /home/carlos/tinyos-main-read-only/tos/chips/rf2xx/rf230/RF230RadioC.nc:169:3: warning: #warning "*** USING LOW POWER LISTENING LAYER" Reset.h:56:2: error: #error "Reset.h not defined/supported for your platform, aborting..." In component `BaseStationC': BaseStationC.nc:136: component CC2420ControlC not found BaseStationC.nc:137: no match make: ** [exe0] Erro 1 Without LPL flag: root@carlos-laptop:/opt/tinyos-2.1.1/apps/IPBaseStation# make iris blip install mib510,/dev/ttyUSB0 mkdir -p build/iris compiling BaseStationC to a iris binary ncc -o build/iris/main.exe -Os -DPACKET_LINK -DDEF_MEMCPY -DENABLE_SPI0_DMA -DBLIP_MULTICAST -DCC2420_HW_ACKNOWLEDGEMENTS -DTOSH_DATA_LENGTH=102 -I/home/carlos/tinyos-main-read-only/tos/lib/net/ -I/home/carlos/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/ -I/home/carlos/tinyos-main-read-only/support/sdk/c/blip/libtcp/ -I/home/carlos/tinyos-main-read-only/tos/lib/net/blip/ -I/home/carlos/tinyos-main-read-only/tos/lib/net/blip/interfaces/ -I/home/carlos/tinyos-main-read-only/tos/lib/net/blip/nwprog/ -I/home/carlos/tinyos-main-read-only/tos/lib/net/blip/shell/ -I/home/carlos/tinyos-main-read-only/tos/lib/net/blip/serial/ -I/home/carlos/tinyos-main-read-only/tos/lib/net/blip/platform/ /home/carlos/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/lib6lowpan.c /home/carlos/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/lib6lowpanIP.c /home/carlos/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/lib6lowpanFrag.c /home/carlos/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/in_cksum.c /home/carlos/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/ip_malloc.c /home/carlos/tinyos-main-read-only/tos/lib/net/blip/table.c -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 -DNO_IP_MALLOC -DIEEE154FRAMES_ENABLED -DIDENT_APPNAME=\"BaseStationC\" -DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"carlos-laptop\" -DIDENT_USERHASH=0x7033995aL -DIDENT_TIMESTAMP=0x4d35c1cdL -DIDENT_UIDHASH=0x3252b3c0L -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, components)' -fnesc-dumpfile=build/iris/wiring-check.xml BaseStationC.nc -lm BaseStationP.nc:68:20: error: CC2420.h: No such file or directory In file included from BaseStationC.nc:100: In component `BaseStationP': BaseStationP.nc:98: interface CC2420Config not found In file included from BaseStationC.nc:100: BaseStationP.nc: In function `ConfigureReceive.receive': BaseStationP.nc:413: interface has no command or event named `setChannel' BaseStationP.nc:416: interface has no command or event named `sync' BaseStationP.nc: At top level: BaseStationP.nc:434: `syncDone' is not in interface `CC2420Config' Reset.h:56:2: error: #error "Reset.h not defined/supported for your platform, aborting..." In component `BaseStationC': BaseStationC.nc:136: component CC2420ControlC not found BaseStationC.nc:137: no match make: ** [exe0] Erro 1 ________________________________________________________________________________ COFIDIS Maxicredito. Ate' €10.000 sem burocracias. Resposta on-line! Clique aqui para saber mais http://www.iol.pt/correio/rodape.php?dst=0802273 ----- Fim do email encaminhado ----- ________________________________________________________________________________ VIVA os SEUS SONHOS com o Crédito Pessoal Capital Mais. Peça aqui até 15.000 Euros: http://www.iol.pt/correio/rodape.php?dst=0901052 _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
