[Tinyos-help] problem in implementing b6lowpan
Neelam Chaubey
neelam.bitsg at gmail.com
Thu Oct 2 23:25:42 PDT 2008
Hi
Iam trying to implement b6lowpan on tinyos2.1 and simulate in Tossim
When i typed this command for building a testapp as given in
http://smote.cs.berkeley.edu:8000/tracenv/browser/code/b6lowpan/trunk/README
it shows various interfaces not found, syntax errors and warning..
xubuntos at xubuntos:/opt/tinyos-2.x-contrib/berkeley/b6lowpan/apps/UDPEcho$make
micaz lowpan
mkdir -p build/micaz
compiling UDPEchoC to a micaz binary
ncc -o build/micaz/main.exe -Os -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 -DCC2420_DEF_CHANNEL=15
-DCC2420_HW_ACKNOWLEDGEMENTS -DTOSH_DATA_LENGTH=102
-DIDENT_APPNAME=\"UDPEchoC\" -DIDENT_USERNAME=\"xubuntos\"
-DIDENT_HOSTNAME=\"xubuntos\" -DIDENT_USERHASH=0xcda68e35L
-DIDENT_TIMESTAMP=0x48e551fcL -DIDENT_UIDHASH=0x6477c7e1L -fnesc-dump=wiring
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
components)' -fnesc-dumpfile=build/micaz/wiring-check.xml UDPEchoC.nc -lm
UDPEchoC.nc:23:21: error: 6lowpan.h: No such file or directory
In component `UDPEchoC':
UDPEchoC.nc:29: component UDPC not found
UDPEchoP.nc:23:24: error: IPDispatch.h: No such file or directory
UDPEchoP.nc:24:16: error: IP.h: No such file or directory
UDPEchoP.nc:25:28: error: router_address.h: No such file or directory
In file included from UDPEchoP.nc:27:
UDPReport.h:25:21: error: 6lowpan.h: No such file or directory
In file included from UDPEchoP.nc:27,
from UDPEchoC.nc:29:
In C file:
UDPReport.h:31: syntax error before `ip_statistics_t'
UDPReport.h:33: syntax error before `icmp'
UDPReport.h:34: syntax error before `udp'
UDPReport.h:35: warning: useless keyword or type name in empty declaration
UDPReport.h:35: warning: empty declaration
UDPEchoP.nc:28:24: error: PrintfUART.h: No such file or directory
In file included from UDPEchoC.nc:29:
In component `UDPEchoP':
UDPEchoP.nc:36: interface UDPSend not found
UDPEchoP.nc:37: interface UDPReceive not found
UDPEchoP.nc:40: interface BufferPool not found
In file included from UDPEchoC.nc:29:
UDPEchoP.nc:44: interface IPPacket not found
UDPEchoP.nc:45: interface BasicPacket not found
UDPEchoP.nc:47: interface Statistics not found
UDPEchoP.nc:47: syntax error before `ip_statistics_t'
UDPEchoP.nc:48: syntax error before `route_statistics_t'
UDPEchoP.nc:49: syntax error before `icmp_statistics_t'
In file included from UDPEchoC.nc:29:
UDPEchoP.nc:57: syntax error before `stats'
UDPEchoP.nc: In function `Boot.booted':
UDPEchoP.nc:65: `IPStats' undeclared (first use in this function)
UDPEchoP.nc:65: (Each undeclared identifier is reported only once
UDPEchoP.nc:65: for each function it appears in.)
UDPEchoP.nc:66: `RouteStats' undeclared (first use in this function)
UDPReport.h:33: syntax error before `icmp'
UDPReport.h:34: syntax error before `udp'
UDPReport.h:35: warning: useless keyword or type name in empty declaration
UDPReport.h:35: warning: empty declaration
UDPEchoP.nc:28:24: error: PrintfUART.h: No such file or directory
In file included from UDPEchoC.nc:29:
In component `UDPEchoP':
UDPEchoP.nc:36: interface UDPSend not found
UDPEchoP.nc:37: interface UDPReceive not found
UDPEchoP.nc:40: interface BufferPool not found
In file included from UDPEchoC.nc:29:
UDPEchoP.nc:44: interface IPPacket not found
UDPEchoP.nc:45: interface BasicPacket not found
UDPEchoP.nc:47: interface Statistics not found
UDPEchoP.nc:47: syntax error before `ip_statistics_t'
UDPEchoP.nc:48: syntax error before `route_statistics_t'
UDPEchoP.nc:49: syntax error before `icmp_statistics_t'
In file included from UDPEchoC.nc:29:
UDPEchoP.nc:57: syntax error before `stats'
UDPEchoP.nc: In function `Boot.booted':
UDPEchoP.nc:65: `IPStats' undeclared (first use in this function)
UDPEchoP.nc:65: (Each undeclared identifier is reported only once
UDPEchoP.nc:65: for each function it appears in.)
UDPEchoP.nc:66: `RouteStats' undeclared (first use in this function)
UDPReport.h:33: syntax error before `icmp'
UDPReport.h:34: syntax error before `udp'
UDPReport.h:35: warning: useless keyword or type name in empty declaration
UDPReport.h:35: warning: empty declaration
UDPEchoP.nc:28:24: error: PrintfUART.h: No such file or directory
In file included from UDPEchoC.nc:29:
In component `UDPEchoP':
UDPEchoP.nc:36: interface UDPSend not found
UDPEchoP.nc:37: interface UDPReceive not found
UDPEchoP.nc:40: interface BufferPool not found
In file included from UDPEchoC.nc:29:
UDPEchoP.nc:44: interface IPPacket not found
UDPEchoP.nc:45: interface BasicPacket not found
UDPEchoP.nc:47: interface Statistics not found
UDPEchoP.nc:47: syntax error before `ip_statistics_t'
UDPEchoP.nc:48: syntax error before `route_statistics_t'
UDPEchoP.nc:49: syntax error before `icmp_statistics_t'
In file included from UDPEchoC.nc:29:
UDPEchoP.nc:57: syntax error before `stats'
UDPEchoP.nc: In function `Boot.booted':
UDPEchoP.nc:65: `IPStats' undeclared (first use in this function)
UDPEchoP.nc:65: (Each undeclared identifier is reported only once
UDPEchoP.nc:65: for each function it appears in.)
UDPEchoP.nc:66: `RouteStats' undeclared (first use in this function)
UDPReport.h:33: syntax error before `icmp'
UDPReport.h:34: syntax error before `udp'
UDPReport.h:35: warning: useless keyword or type name in empty declaration
UDPReport.h:35: warning: empty declaration
UDPEchoP.nc:28:24: error: PrintfUART.h: No such file or directory
In file included from UDPEchoC.nc:29:
In component `UDPEchoP':
UDPEchoP.nc:36: interface UDPSend not found
UDPEchoP.nc:37: interface UDPReceive not found
UDPEchoP.nc:40: interface BufferPool not found
In file included from UDPEchoC.nc:29:
UDPEchoP.nc:44: interface IPPacket not found
UDPEchoP.nc:45: interface BasicPacket not found
UDPEchoP.nc:47: interface Statistics not found
UDPEchoP.nc:47: syntax error before `ip_statistics_t'
UDPEchoP.nc:48: syntax error before `route_statistics_t'
UDPEchoP.nc:49: syntax error before `icmp_statistics_t'
In file included from UDPEchoC.nc:29:
UDPEchoP.nc:57: syntax error before `stats'
UDPEchoP.nc: In function `Boot.booted':
UDPEchoP.nc:65: `IPStats' undeclared (first use in this function)
UDPEchoP.nc:65: (Each undeclared identifier is reported only once
UDPEchoP.nc:65: for each function it appears in.)
UDPEchoP.nc:66: `RouteStats' undeclared (first use in this function)
UDPEchoP.nc:67: `ICMPStats' undeclared (first use in this function)
UDPEchoP.nc:68: implicit declaration of function `printfUART_init'
UDPEchoP.nc:70: `stats' undeclared (first use in this function)
UDPEchoP.nc:73: invalid use of undefined type `struct sockaddr'
UDPEchoP.nc:73: implicit declaration of function `hton16'
UDPEchoP.nc:74: invalid use of undefined type `struct sockaddr'
UDPEchoP.nc:74: `router_address' undeclared (first use in this function)
UDPEchoP.nc: At top level:
UDPEchoP.nc:85: syntax error before `*'
UDPEchoP: `RouteTimer.fired' not implemented
In component `UDPEchoC':
UDPEchoC.nc:43: component IPDispatchC not found
UDPEchoC.nc:34: no match
UDPEchoC.nc:35: cannot find `UDPReceive'
UDPEchoC.nc:36: cannot find `UDPSend'
UDPEchoC.nc:38: no match
UDPEchoC.nc:46: cannot find `UDPSend'
UDPEchoC.nc:47: no match
UDPEchoC.nc:48: no match
UDPEchoC.nc:50: cannot find `IPStats'
UDPEchoC.nc:51: cannot find `RouteStats'
UDPEchoC.nc:52: cannot find `ICMPStats'UDPEchoC.nc:52: cannot find
`ICMPStats'
make: *** [exe0] Error 1
make: *** [exe0] Error 1
please tell me what does these warning means and how to eliminate them..
Thanks in Advance
Neelam Chaubey
:)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20081003/dffff8dd/attachment-0001.htm
More information about the Tinyos-help
mailing list