Hi, I had a similar problem and Isolved it following those intructions: http://smote.cs.berkeley.edu:8000/tracenv/browser/code/b6lowpan/tags/release-11-13-2008/README
I'm working with telosb... but I hope it will help you. Ana. Varun Jain-3 wrote: > > Hi, > > I have installed Ubuntu and grabbed the latest CVS checkout. I am trying > to implement "blip" on MICAZ and I am facing following errors: > > > > va...@varun-tinyos:/opt/tinyos-2.1/apps/UDPEcho# make micaz blip > > mkdir -p build/micaz > > compiling UDPEchoC to a micaz binary > > ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow > -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board= > -Ibuild/micaz -DCC2420_DEF_CHANNEL=15 -DIDENT_APPNAME=\"UDPEchoC\" > -DIDENT_USERNAME=\"varun\" -DIDENT_HOSTNAME=\"varun-tinyos\" > -DIDENT_USERHASH=0x56be1567L -DIDENT_TIMESTAMP=0x49aded63L > -DIDENT_UIDHASH=0x8e4e1f0bL -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:29: > > 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' > > In file included from UDPEchoC.nc:29: > > In component `UDPEchoP': > > UDPEchoP.nc:39: interface UDP not found > > In file included from UDPEchoC.nc:29: > > 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:29: > > 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:75: `stats' undeclared (first use in this function) > > UDPEchoP.nc:85: interface has no command or event named `bind' > > UDPEchoP.nc:86: interface has no command or event named `bind' > > UDPEchoP.nc: At top level: > > UDPEchoP.nc:98: warning: `struct ip_metadata' declared inside parameter > list > > UDPEchoP.nc:98: warning: its scope is only this definition or > declaration, > > UDPEchoP.nc:98: warning: which is probably not what you want. > > UDPEchoP.nc:98: `recvfrom' is not in interface `Status' > > UDPEchoP.nc:103: warning: `struct ip_metadata' declared inside parameter > list > > UDPEchoP.nc:103: `recvfrom' is not in interface `Echo' > > UDPEchoP.nc: In function `Echo.recvfrom': > > UDPEchoP.nc:105: interface has no command or event named `sendto' > > UDPEchoP.nc: At top level: > > UDPEchoP.nc:110: `route_statistics_t' undeclared here (not in a > function) > > UDPEchoP.nc:111: `icmp_statistics_t' undeclared here (not in a function) > > UDPEchoP.nc:111: `udp_statistics_t' undeclared here (not in a function) > > UDPEchoP.nc: In function `StatusTimer.fired': > > UDPEchoP.nc:120: `stats' undeclared (first use in this function) > > UDPEchoP.nc:120: wrong type argument to increment > > UDPEchoP.nc:129: wrong type argument to increment > > UDPEchoP.nc:133: `RouteStats' undeclared (first use in this function) > > UDPEchoP.nc:133: invalid use of undefined type `nx_struct udp_report' > > UDPEchoP.nc:134: `ICMPStats' undeclared (first use in this function) > > UDPEchoP.nc:134: invalid use of undefined type `nx_struct udp_report' > > UDPEchoP.nc:135: invalid use of undefined type `nx_struct udp_report' > > UDPEchoP.nc:135: `udp_statistics_t' undeclared (first use in this > function) > > UDPEchoP.nc:137: interface has no command or event named `sendto' > > In component `UDPEchoC': > > UDPEchoC.nc: At top level: > > UDPEchoC.nc:35: component IPDispatchC not found > > UDPEchoC.nc:38: component UdpSocketC not found > > UDPEchoC.nc:38: component `UdpSocketC' is not generic > > UDPEchoC.nc:39: component `UdpSocketC' is not generic > > UDPEchoC.nc:53: component UDPShellC not found > > UDPEchoC.nc:37: no match > > UDPEchoC.nc:40: no match > > UDPEchoC.nc:42: no match > > UDPEchoC.nc:46: cannot find `IPStats' > > UDPEchoC.nc:47: cannot find `RouteStats' > > UDPEchoC.nc:48: cannot find `ICMPStats' > > make: *** [exe0] Error 1 > > > > > > I have added the environment variables as suggested in the README here: > http://smote.cs.berkeley.edu:8000/tracenv/browser/code/b6lowpan/trunk/RE > ADME > > > > I have all the interfaces and path correctly defined in the start up > scripts, then why is it throwing up these errors?? > > > > > > Cheers, > > > > Varun Jain > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- View this message in context: http://www.nabble.com/problem-in-implementing-b6lowpan-tp22346083p22349113.html Sent from the TinyOS - Help mailing list archive at Nabble.com. _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
