Hi Pratik,
I have not worked for sometime on 6lowpan as I was busy implementing another project, but I have digged up the answer I got for my query which looks quite similar to yours..... Steve (who is doing the 6lowpan stuff) answered the following: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2009-March/038 687.html Cheers, Varun Jain From: Pratik Vimal [mailto:[email protected]] Sent: Thursday, 9 July 2009 7:26 PM To: Varun Jain Subject: blip build error Hi Varun, I saw you query here(http://www.mail-archive.com/[email protected]/msg 25845.html) and thought you might be of some help. My current working folder is: /opt/tinyos-2.x-contrib/berkeley/b6lowpan/apps/UDPEcho When I'm giving the command make micaz blip, I get the following error: 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 -DPACKET_LINK -DDEF_MEMCPY -DCC2420_HW_ACKNOWLEDGEMENTS -DTOSH_DATA_LENGTH=102 -I/home/pratik/svn/code/b6lowpan//tos/chips/cc2420/ -I/home/pratik/svn/code/b6lowpan//tos/chips/cc2420/interfaces/ -I/home/pratik/svn/code/b6lowpan//tos/chips/cc2420/packet/ -I/home/pratik/svn/code/b6lowpan//tos/chips/cc2420/link/ -I/home/pratik/svn/code/b6lowpan//tos/chips/cc2420/lowpan/ -I/home/pratik/svn/code/b6lowpan//support/sdk/c/blip/include/ -I/home/pratik/svn/code/b6lowpan//support/sdk/c/blip/libtcp/ -I/home/pratik/svn/code/b6lowpan//tos/lib/net/blip/ -I/home/pratik/svn/code/b6lowpan//tos/lib/net/blip/interfaces/ -I/home/pratik/svn/code/b6lowpan//tos/lib/net/blip/nwprog/ -I/home/pratik/svn/code/b6lowpan//tos/lib/net/blip/shell/ -I/home/pratik/svn/code/b6lowpan//tos/lib/net/blip/serial/ /home/pratik/svn/code/b6lowpan//support/sdk/c/blip/lib6lowpan/lib6lowpan .c /home/pratik/svn/code/b6lowpan//support/sdk/c/blip/lib6lowpan/lib6lowpan IP.c /home/pratik/svn/code/b6lowpan//support/sdk/c/blip/lib6lowpan/lib6lowpan Frag.c /home/pratik/svn/code/b6lowpan//support/sdk/c/blip/lib6lowpan/in_cksum.c /home/pratik/svn/code/b6lowpan//support/sdk/c/blip/lib6lowpan/ip_malloc. c -DCC2420_DEF_CHANNEL=21 -DIDENT_APPNAME=\"UDPEchoC\" -DIDENT_USERNAME=\"pratik\" -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0xf0ea5a13L -DIDENT_TIMESTAMP=0x4a55b692L -DIDENT_UIDHASH=0xa237eaeeL -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, components)' -fnesc-dumpfile=build/micaz/wiring-check.xml UDPEchoC.nc -lm avr-gcc: /home/pratik/svn/code/b6lowpan//support/sdk/c/blip/lib6lowpan/lib6lowpan .c: No such file or directory avr-gcc: /home/pratik/svn/code/b6lowpan//support/sdk/c/blip/lib6lowpan/lib6lowpan IP.c: No such file or directory avr-gcc: /home/pratik/svn/code/b6lowpan//support/sdk/c/blip/lib6lowpan/lib6lowpan Frag.c: No such file or directory avr-gcc: /home/pratik/svn/code/b6lowpan//support/sdk/c/blip/lib6lowpan/in_cksum.c : No such file or directory avr-gcc: /home/pratik/svn/code/b6lowpan//support/sdk/c/blip/lib6lowpan/ip_malloc. c: No such file or directory 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?send_to=pvimal@ iitk.ac.in> (e-mail) ---------------------------------------------------------------
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
