> Hi,
> My current working folder is:
> /opt/tinyos-2.x-contrib/berkeley/b6lowpan/apps/UDPEcho
>
> When I'm giving the command *make micaz build*, I get the following error:

Try adding blip to your make command.

> mkdir -p build/micaz
>     compiling UDPEchoC to a micaz binary
> ncc -o build/micaz/main.exe  -Os -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
> -Ibuild/micaz -DCC2420_DEF_CHANNEL=21 -DIDENT_APPNAME=\"UDPEchoC\"
> -DIDENT_USERNAME=\"pratik\" -DIDENT_HOSTNAME=\"ubuntu\"
> -DIDENT_USERHASH=0xf0ea5a13L -DIDENT_TIMESTAMP=0x4a55a7b3L
> -DIDENT_UIDHASH=0x52c01d81L -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
> UDPEchoP.nc:23:24: error: IPDispatch.h: No such file or directory
> UDPEchoP.nc:24:24: error: lib6lowpan.h: No such file or directory
> UDPEchoP.nc:25:16: error: ip.h: No such file or directory
> In file included from UDPEchoP.nc:29,
>                  from UDPEchoC.nc:30:
> UDPReport.h:29: syntax error before `udp_statistics_t'
> UDPReport.h:29: warning: no semicolon at end of struct or union
> UDPReport.h:30: syntax error before `icmp'
> UDPReport.h:31: syntax error before `route'
> UDPReport.h:32: warning: useless keyword or type name in empty declaration
> UDPReport.h:32: warning: empty declaration
> UDPEchoP.nc:30:24: error: PrintfUART.h: No such file or directory
> In file included from UDPEchoC.nc:30:
> In component `UDPEchoP':
> UDPEchoP.nc:39: interface UDP not found
> In file included from UDPEchoC.nc:30:
> UDPEchoP.nc:46: interface Statistics not found
> UDPEchoP.nc:46: syntax error before `ip_statistics_t'
> UDPEchoP.nc:47: syntax error before `route_statistics_t'
> UDPEchoP.nc:48: syntax error before `icmp_statistics_t'
> In file included from UDPEchoC.nc:30:
> UDPEchoP.nc:56: syntax error before `stats'
> UDPEchoP.nc: In function `Boot.booted':
> UDPEchoP.nc:70: `IPStats' undeclared (first use in this function)
> UDPEchoP.nc:70: (Each undeclared identifier is reported only once
> UDPEchoP.nc:70: for each function it appears in.)
> UDPEchoP.nc:71: `RouteStats' undeclared (first use in this function)
> UDPEchoP.nc:72: `ICMPStats' undeclared (first use in this function)
> UDPEchoP.nc:73: implicit declaration of function `printfUART_init'
> UDPEchoP.nc:75: `stats' undeclared (first use in this function)
> UDPEchoP.nc: At top level:
> UDPEchoP.nc:96: warning: `struct ip_metadata' declared inside parameter
> list UDPEchoP.nc:96: warning: its scope is only this definition or
> declaration, UDPEchoP.nc:96: warning: which is probably not what you want.
> UDPEchoP.nc:96: `recvfrom' is not in interface `Status'
> UDPEchoP.nc:101: warning: `struct ip_metadata' declared inside parameter
> list
> UDPEchoP.nc:101: `recvfrom' is not in interface `Echo'
> UDPEchoP.nc: In function `Echo.recvfrom':
> UDPEchoP.nc:103: interface has no command or event named `sendto'
> UDPEchoP.nc: At top level:
> UDPEchoP.nc:108: `route_statistics_t' undeclared here (not in a function)
> UDPEchoP.nc:109: `icmp_statistics_t' undeclared here (not in a function)
> UDPEchoP.nc:109: `udp_statistics_t' undeclared here (not in a function)
> UDPEchoP.nc: In function `StatusTimer.fired':
> UDPEchoP.nc:118: `stats' undeclared (first use in this function)
> UDPEchoP.nc:118: wrong type argument to increment
> UDPEchoP.nc:127: wrong type argument to increment
> UDPEchoP.nc:131: invalid use of undefined type `struct udp_report'
> UDPEchoP.nc:131: `RouteStats' undeclared (first use in this function)
> UDPEchoP.nc:131: `route_statistics_t' undeclared (first use in this
> function)
> UDPEchoP.nc:132: invalid use of undefined type `struct udp_report'
> UDPEchoP.nc:132: `ICMPStats' undeclared (first use in this function)
> UDPEchoP.nc:132: `icmp_statistics_t' undeclared (first use in this
> function) UDPEchoP.nc:133: invalid use of undefined type `struct
> udp_report' UDPEchoP.nc:133: `udp_statistics_t' undeclared (first use in
> this function) UDPEchoP.nc:135: interface has no command or event named
> `sendto'
> In component `UDPEchoC':
> UDPEchoC.nc: At top level:
> UDPEchoC.nc:36: component IPDispatchC not found
> UDPShellC.nc:23:21: error: 6lowpan.h: No such file or directory
> UDPShellP.nc:23:16: error: ip.h: No such file or directory
> UDPShellP.nc:24:24: error: IPDispatch.h: No such file or directory
> UDPShellP.nc:25:18: error: ICMP.h: No such file or directory
> In file included from UDPShellC.nc:33,
>                  from UDPEchoC.nc:51:
> In component `UDPShellP':
> UDPShellP.nc:38: interface ICMPPing not found
> UDPShellP.nc: In function `action_help':
> UDPShellP.nc:98: interface has no command or event named `sendto'
> UDPShellP.nc: In function `action_echo':
> UDPShellP.nc:116: interface has no command or event named `sendto'
> UDPShellP.nc: In function `action_ping6':
> UDPShellP.nc:120: `ip6_addr_t' undeclared (first use in this function)
> UDPShellP.nc:120: syntax error before `dest'
> UDPShellP.nc:123: implicit declaration of function `inet6_aton'
> UDPShellP.nc:123: `dest' undeclared (first use in this function)
> UDPShellP.nc:124: interface has no command or event named `ping'
> UDPShellP.nc: At top level:
> UDPShellP.nc:238: warning: `struct ip_metadata' declared inside parameter
> list
> UDPShellP.nc:238: `recvfrom' is not in interface `UDP'
> UDPShellP.nc: In function `UDP.recvfrom':
> UDPShellP.nc:244: sizeof applied to an incomplete type
> UDPShellP.nc: At top level:
> UDPShellP.nc:255: syntax error before `source'
> UDPShellP.nc:255: `pingReply' is not in interface `ICMPPing'
> UDPShellP.nc: In function `ICMPPing.pingReply':
> UDPShellP.nc:257: implicit declaration of function `snprintf'
> UDPShellP.nc:258: `source' undeclared (first use in this function)
> UDPShellP.nc:258: subscripted value is neither array nor pointer
> UDPShellP.nc:258: subscripted value is neither array nor pointer
> UDPShellP.nc:258: subscripted value is neither array nor pointer
> UDPShellP.nc:258: subscripted value is neither array nor pointer
> UDPShellP.nc:259: subscripted value is neither array nor pointer
> UDPShellP.nc:259: subscripted value is neither array nor pointer
> UDPShellP.nc:259: subscripted value is neither array nor pointer
> UDPShellP.nc:259: subscripted value is neither array nor pointer
> UDPShellP.nc:260: subscripted value is neither array nor pointer
> UDPShellP.nc:260: subscripted value is neither array nor pointer
> UDPShellP.nc:260: subscripted value is neither array nor pointer
> UDPShellP.nc:260: subscripted value is neither array nor pointer
> UDPShellP.nc:261: subscripted value is neither array nor pointer
> UDPShellP.nc:261: subscripted value is neither array nor pointer
> UDPShellP.nc:261: subscripted value is neither array nor pointer
> UDPShellP.nc:261: subscripted value is neither array nor pointer
> UDPShellP.nc:262: `stats' undeclared (first use in this function)
> UDPShellP.nc:263: interface has no command or event named `sendto'
> UDPShellP.nc: At top level:
> UDPShellP.nc:267: `pingDone' is not in interface `ICMPPing'
> UDPShellP.nc: In function `ICMPPing.pingDone':
> UDPShellP.nc:269: implicit declaration of function `snprintf'
> UDPShellP.nc:270: interface has no command or event named `sendto'
> In component `UDPShellC':
> UDPShellC.nc: At top level:
> UDPShellC.nc:38: component ICMPResponderC not found
> UDPShellC.nc:39: cannot find `ICMPPing'
> In component `UDPEchoC':
> UDPEchoC.nc:38: no match
> UDPEchoC.nc:39: cannot find `UDP'
> UDPEchoC.nc:40: cannot find `UDP'
> UDPEchoC.nc:44: cannot find `IPStats'
> UDPEchoC.nc:45: cannot find `RouteStats'
> UDPEchoC.nc:46: cannot find `ICMPStats'
> UDPEchoC.nc:52: cannot find `UDP'
> make: *** [exe0] Error 1
>
> Please let me know how to solve this problem.
>
> Regards,
> Pratik Vimal
>
> ---------------------------------------------------------------
> Pratik Vimal
> Third Year Undergraduate
> Department of Electrical Engineering
> Indian Institute of Technology Kanpur, India
> Kanpur - 208016
>  0091-9616242095  (phone)
> [email protected]<https://webmail.iitk.ac.in/squirrelmail/src/compose.php?s
>[email protected]> (e-mail)
> ---------------------------------------------------------------
------------------------------------------------
| FISS'09: Future Internet Summer School
| http://www.comnets.uni-bremen.de/fiss09
| July 20-24, 2009, Bremen, Germany
| organized by the FP7 project 4WARD
| (http://www.4ward-project.eu)
------------------------------------------------
|
------------------------------------------------
| Dipl.-Ing. Markus Becker
| Communication Networks
| Mobile Research Center
| TZI - Center for Computing Technologies
| University Bremen
| Germany
------------------------------------------------
| web: http://www.comnets.uni-bremen.de/~mab/
| mailto: [email protected]
| telephone: +49 421 218 2287
| building: NW1 room: N2260
------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to