1. check the files that it is showing as "not found". If found then its the " making" fault
2. try to update the TinyOS repository and compile again. 2012/2/13 Henrik Skjøt <hen...@habs.dk> > I'm getting the same error. Is there another way to get a coap server up > and running on a telosb? Any one got it working that can make a list of > files that are supposed to be in the apps/CoapBlip folder?**** > > ** ** > > /Henrik**** > > ** ** > > *Fra:* dwaraka nath [mailto:dwaraka.tul...@gmail.com] > *Sendt:* 13. februar 2012 07:09 > *Til:* Henrik Skjøt > *Cc:* tinyos-help@millennium.berkeley.edu > *Emne:* Re: [Tinyos-help] CoapBlip Compiler error**** > > ** ** > > try to compile with "make telosb blip coap"**** > > ** ** > > follow http://docs.tinyos.net/tinywiki/index.php/CoAP**** > > 2012/2/6 Henrik Skjøt <hen...@habs.dk>**** > > Hello,**** > > **** > > I am using this guide http://docs.tinyos.net/tinywiki/index.php/CoAP to > compile CoapBlip but i get a error when compiling.**** > > **** > > root@ubuntu3:/opt/tinyos-2.1.1/apps/CoapBlip# make telosb blip**** > > mkdir -p build/telosb**** > > compiling CoapBlipC to a telosb binary**** > > ncc -o build/telosb/main.exe -Os -DRPL_ROUTING -DRPL_STORING_MODE > -I/opt/tinyos-2.1.1/tos/lib/net/rpl -DIN6_PREFIX=\"fec0::\" -DPACKET_LINK > -DDEF_MEMCPY -DENABLE_SPI0_DMA -DBLIP_MULTICAST > -DCC2420_HW_ACKNOWLEDGEMENTS -DTOSH_DATA_LENGTH=102 > -I/opt/tinyos-2.1.1/tos/lib/net/ > -I/opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan/ > -I/opt/tinyos-2.1.1/support/sdk/c/blip/libtcp/ > -I/opt/tinyos-2.1.1/tos/lib/net/blip/ > -I/opt/tinyos-2.1.1/tos/lib/net/blip/interfaces/ > -I/opt/tinyos-2.1.1/tos/lib/net/blip/nwprog/ > -I/opt/tinyos-2.1.1/tos/lib/net/blip/shell/ > -I/opt/tinyos-2.1.1/tos/lib/net/blip/serial/ > -I/opt/tinyos-2.1.1/tos/lib/net/blip/platform/ > /opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan/lib6lowpan.c > /opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan/lib6lowpanIP.c > /opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan/lib6lowpanFrag.c > /opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan/in_cksum.c > /opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan/ip_malloc.c > /opt/tinyos-2.1.1/tos/lib/net/blip/table.c -mdisable-hwmul > -fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=telosb > -fnesc-cfile=build/telosb/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22 > -Ibuild/telosb -DCOAP_SERVER_ENABLED -DCOAP_SERVER_PORT=61616L > -DMAX_URI_LENGTH=5 -DNUM_URIS=1 -DCOAP_RESOURCE_LED > -DCOAP_PREACK_TIMEOUT=500 -DINCLUDE_WELLKNOWN -DCOAP_CLIENT_PORT=61616L > -DCOAP_CLIENT_DEST=\"fec0::100\" -I. -DIDENT_APPNAME=\"CoapBlipC\" > -DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"ubuntu3\" > -DIDENT_USERHASH=0xf002cd98L -DIDENT_TIMESTAMP=0x4f2fe535L > -DIDENT_UIDHASH=0x215c628cL CoapBlipC.nc -lm**** > > CoapBlipC.nc:34:32: error: lib6lowpan/6lowpan.h: No such file or directory > **** > > In file included from CoapBlipC.nc:35:**** > > tinyos_coap_resources.h:36:17: error: pdu.h: No such file or directory**** > > In file included from CoapBlipC.nc:35:**** > > tinyos_coap_resources.h:117: `COAP_MEDIATYPE_APPLICATION_OCTET_STREAM' > undeclared here (not in a function)**** > > CoapBlipP.nc:34:35: error: lib6lowpan/lib6lowpan.h: No such file or > directory**** > > CoapBlipP.nc:35:27: error: lib6lowpan/ip.h: No such file or directory**** > > CoapBlipP.nc:36:25: error: blip_printf.h: No such file or directory**** > > In file included from CoapBlipC.nc:45:**** > > In component `CoapBlipP':**** > > CoapBlipP.nc:46: interface CoAPServer not found**** > > CoapBlipP.nc: In function `Boot.booted':**** > > CoapBlipP.nc:72: implicit declaration of function `printf'**** > > CoapBlipP.nc:80: interface has no command or event named `bind'**** > > CoapBlipP.nc:82: interface has no command or event named > `registerWellknownCore'**** > > CoapBlipP.nc:84: interface has no command or event named `registerResource' > **** > > CoapBlipP.nc: In function `RadioControl.startDone':**** > > CoapBlipP.nc:101: implicit declaration of function `printf'**** > > In component `CoapBlipC':**** > > CoapBlipC.nc: At top level:**** > > CoapBlipC.nc:46: component LibCoapAdapterC not found**** > > CoapBlipC.nc:47: component IPStackC not found**** > > CoapBlipC.nc:55: component RPLRoutingC not found**** > > CoapBlipC.nc:59: component CoapUdpServerC not found**** > > /opt/tinyos-2.1.1/tos/chips/msp430/usart/Msp430Spi0C.nc:62:2: warning: > #warning "Enabling SPI DMA on USART0"**** > > /opt/tinyos-2.1.1/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: > #warning "*** LOW POWER COMMUNICATIONS DISABLED ***"**** > > /opt/tinyos-2.1.1/tos/chips/cc2420/link/PacketLinkC.nc:38:2: warning: > #warning "*** USING PACKET LINK LAYER"**** > > CoapBlipC.nc:98: component CoapLedResourceC not found**** > > CoapBlipC.nc:98: component `CoapLedResourceC' is not generic**** > > CoapBlipC.nc:51: no match**** > > CoapBlipC.nc:61: no match**** > > CoapBlipC.nc:62: cannot find `LibCoapServer'**** > > CoapBlipC.nc:63: cannot find `Init'**** > > CoapBlipC.nc:64: cannot find `UDPServer'**** > > CoapBlipC.nc:99: cannot find `Leds'**** > > CoapBlipC.nc:100: cannot find `ReadResource'**** > > CoapBlipC.nc:101: cannot find `WriteResource'**** > > make: *** [exe0] Error 1**** > > root@ubuntu3:/opt/tinyos-2.1.1/apps/CoapBlip#**** > > **** > > TinyOS comes from this ubuntu repository deb > http://hinrg.cs.jhu.edu/tinyos lucid main, and support/sdk/c/coap comes > from the svn revision in the guide so does the apps/CoapBlip.**** > > **** > > Does anybody know whats wrong?**** > > **** > > /Henrik**** > > **** > > > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help** > ** > > > > **** > > ** ** > > -- > Tulasi Dwarakanath.V**** > -- Tulasi Dwarakanath.V
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help