Dear All,
 
I was trying to run the example CoapBlipC in apps directory but I am facing the 
error "StorageVolumes.h" not created. After looking at the net I got to know 
that tos-storage-at45db command will create the header file. But where do I put 
this command and how (in the makefile or somewhere else).
 
Could any body help me out. I have shown the output after running the 
application in eclipse yeti2. Same error is received on the shell.
 
 
 
set: TOSROOT = /opt/tinyos-2.1.2
set: TOSDIR = /opt/tinyos-2.1.2/tos
set: ECLIPSE_PROJECT = /home/xubuntos/workspacenew/Pcoap
set: PFLAGS = \"-I/home/xubuntos/workspacenew/Pcoap/src\"
set: MAKERULES = /opt/tinyos-2.1.2/support/make/Makerules
set: COMPONENT = /home/xubuntos/workspacenew/Pcoap/src/CoapBlipC
make: Entering directory `/home/xubuntos/workspacenew/Pcoap'
mkdir -p build/micaz
compiling /home/xubuntos/workspacenew/Pcoap/src/CoapBlipC to a micaz binary
ncc -o build/micaz/main.exe  -Os "-I/home/xubuntos/workspacenew/Pcoap/src" 
-fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=micaz 
-fnesc-cfile=build/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 
--param max-inline-insns-single=100000 -DIDENT_APPNAME=\"/home/xubuntos/\" 
-DIDENT_USERNAME=\"xubuntos\" -DIDENT_HOSTNAME=\"xubuntos-tinyos\" 
-DIDENT_USERHASH=0x00f95284L -DIDENT_TIMESTAMP=0x52b6d7bbL 
-DIDENT_UIDHASH=0xb6f3c0a1L -fnesc-dump=wiring 
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, 
components)' -fnesc-dumpfile=build/micaz/wiring-check.xml 
/home/xubuntos/workspacenew/Pcoap/src/CoapBlipC.nc -lm 
make: Leaving directory `/home/xubuntos/workspacenew/Pcoap'
/home/xubuntos/workspacenew/Pcoap/src/CoapBlipC.nc:33:28: error: 
StorageVolumes.h: No such file or directory
/home/xubuntos/workspacenew/Pcoap/src/CoapBlipC.nc:34:32: error: 
lib6lowpan/6lowpan.h: No such file or directory
In file included from /home/xubuntos/workspacenew/Pcoap/src/CoapBlipC.nc:35:
/home/xubuntos/workspacenew/Pcoap/src/tinyos_coap_resources.h:36:17: error: 
pdu.h: No such file or directory
In file included from /home/xubuntos/workspacenew/Pcoap/src/CoapBlipC.nc:35:
/home/xubuntos/workspacenew/Pcoap/src/tinyos_coap_resources.h:45: 
`MAX_URI_LENGTH' undeclared here (not in a function)
/home/xubuntos/workspacenew/Pcoap/src/tinyos_coap_resources.h:45: size of array 
`uri' has non-integer type
/home/xubuntos/workspacenew/Pcoap/src/tinyos_coap_resources.h:101: `NUM_URIS' 
undeclared here (not in a function)
/home/xubuntos/workspacenew/Pcoap/src/tinyos_coap_resources.h:101: size of 
array `uri_key_map' has non-integer type
/home/xubuntos/workspacenew/Pcoap/src/CoapBlipP.nc:33:24: error: IPDispatch.h: 
No such file or directory
/home/xubuntos/workspacenew/Pcoap/src/CoapBlipP.nc:34:35: error: 
lib6lowpan/lib6lowpan.h: No such file or directory
/home/xubuntos/workspacenew/Pcoap/src/CoapBlipP.nc:35:27: error: 
lib6lowpan/ip.h: No such file or directory
/home/xubuntos/workspacenew/Pcoap/src/CoapBlipP.nc:36:25: error: blip_printf.h: 
No such file or directory
In file included from /home/xubuntos/workspacenew/Pcoap/src/CoapBlipC.nc:45:
In component `CoapBlipP':
/home/xubuntos/workspacenew/Pcoap/src/CoapBlipP.nc: In function `Boot.booted':
/home/xubuntos/workspacenew/Pcoap/src/CoapBlipP.nc:76: implicit declaration of 
function `printf'
/home/xubuntos/workspacenew/Pcoap/src/CoapBlipP.nc: In function 
`RadioControl.startDone':
/home/xubuntos/workspacenew/Pcoap/src/CoapBlipP.nc:105: implicit declaration of 
function `printf'
In component `CoapBlipC':
/home/xubuntos/workspacenew/Pcoap/src/CoapBlipC.nc: At top level:
/home/xubuntos/workspacenew/Pcoap/src/CoapBlipC.nc:46: component 
LibCoapAdapterC not found
/home/xubuntos/workspacenew/Pcoap/src/CoapBlipC.nc:47: component IPStackC not 
found
/home/xubuntos/workspacenew/Pcoap/src/CoapBlipC.nc:51: no match
make: *** [exe0] Error 1
finished (exit code: '2', took: 00:05.848)
Thanks
 
 
Vandana Bhasin

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to