"make blip iris" Miklos
On Sun, Mar 28, 2010 at 3:25 AM, David Li <w.david...@gmail.com> wrote: > Hi Miklos, > > I synced up to the latest CVS tree. I notice some improvements when I typed > 'make iris' for IPBasestation, e.g., the cc2420.h error is now gone. But I > still got a lot of other errors. can you see if this is something related to > my environment? > > mkdir -p build/iris > compiling BaseStationC to a iris binary > ncc -o build/iris/main.exe -Os -fnesc-separator=__ -Wall -Wshadow > -Wnesc-all -target=iris -fnesc-cfile=build/iris/app.c -board=micasb > -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000 > -DNO_IP_MALLOC -DIEEE154FRAMES_ENABLED -DIDENT_APPNAME=\"BaseStationC\" > -DIDENT_USERNAME=\"wdli\" -DIDENT_HOSTNAME=\"wdli-lenovo\" > -DIDENT_USERHASH=0x3715f01cL -DIDENT_TIMESTAMP=0x4baeaf30L > -DIDENT_UIDHASH=0xd77eb248L -fnesc-dump=wiring > -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, > components)' -fnesc-dumpfile=build/iris/wiring-check.xml BaseStationC.nc -lm > BaseStationP.nc:71:21: error: devconf.h: No such file or directory > BaseStationP.nc:72:24: error: lib6lowpan.h: No such file or directory > In file included from BaseStationC.nc:100: > In component `BaseStationP': > BaseStationP.nc:90: interface IPAddress not found > In file included from BaseStationC.nc:100: > BaseStationP.nc:117: `BLIP_L2_RETRIES' undeclared here (not in a function) > BaseStationP.nc:118: `BLIP_L2_DELAY' undeclared here (not in a function) > BaseStationP.nc:127: syntax error before `*' > BaseStationP.nc: In function `configureReply.runTask': > BaseStationP.nc:158: `reply' undeclared (first use in this function) > BaseStationP.nc:158: (Each undeclared identifier is reported only once > BaseStationP.nc:158: for each function it appears in.) > BaseStationP.nc:158: interface has no command or event named `getShortAddr' > BaseStationP.nc: In function `Boot.booted': > BaseStationP.nc:196: `reply' undeclared (first use in this function) > BaseStationP.nc:196: `config_reply_t' undeclared (first use in this > function) > BaseStationP.nc:196: syntax error before `)' > BaseStationP.nc: In function `SerialControl.startDone': > BaseStationP.nc:215: `reply' undeclared (first use in this function) > BaseStationP.nc:215: `CONFIG_ERROR_BOOTED' undeclared (first use in this > function) > BaseStationP.nc: In function `ConfigureReceive.receive': > BaseStationP.nc:402: `config_cmd_t' undeclared (first use in this function) > BaseStationP.nc:402: `cmd' undeclared (first use in this function) > BaseStationP.nc:403: syntax error before `error' > BaseStationP.nc:411: syntax error before `)' > BaseStationP.nc:414: `CONFIG_ECHO' undeclared (first use in this function) > BaseStationP.nc:414: case label does not reduce to an integer constant > BaseStationP.nc:416: `CONFIG_SET_PARM' undeclared (first use in this > function) > BaseStationP.nc:416: case label does not reduce to an integer constant > BaseStationP.nc:420: interface has no command or event named `setShortAddr' > BaseStationP.nc:430: `CONFIG_REBOOT' undeclared (first use in this function) > BaseStationP.nc:430: case label does not reduce to an integer constant > BaseStationP.nc:433: `CONFIG_KEEPALIVE' undeclared (first use in this > function) > BaseStationP.nc:433: case label does not reduce to an integer constant > BaseStationP.nc:437: `reply' undeclared (first use in this function) > BaseStationP.nc:437: `error' undeclared (first use in this function) > BaseStationP.nc: In function `ConfigureTimer.fired': > BaseStationP.nc:456: `config_reply_t' undeclared (first use in this > function) > In component `BaseStationC': > BaseStationC.nc: At top level: > BaseStationC.nc:126: component SerialDevConfC not found > BaseStationC.nc:133: component IPAddressC not found > BaseStationC.nc:127: no match > BaseStationC.nc:128: no match > BaseStationC.nc:134: no match > make: *** [exe0] Error 1 > > > On Sat, Mar 27, 2010 at 3:33 PM, Miklos Maroti <mmar...@math.u-szeged.hu> > wrote: >> >> Hi David, >> >> Cool. type >> >> cvs update -P -d >> >> in the tinyos-2.x directory. >> >> Miklos >> >> On Sat, Mar 27, 2010 at 11:27 PM, David Li <w.david...@gmail.com> wrote: >> > Hi Miklos, >> > >> > Thanks for this! I am delighted to see this as I am struggling to figure >> > out >> > why it didn't compile for Iris. I saw errors such as >> > >> > BaseStationP.nc:68:20: error: CC2420.h: No such file or directory >> > >> > Now I 'd like to try your fix. I am not familiar with cvs update. I had >> > only used the following to download the 2.x tree: >> > >> > cvs -z3 -d:pserver:anonym...@tinyos.cvs.sourceforge.net:/cvsroot/tinyos >> > co >> > -P tinyos-2.x >> > >> > >> > what cvs comm should I use to update my tree to get your fix? >> > >> > Thanks. >> > >> > - David >> > >> > >> > 2010/3/27 Miklos Maroti <mmar...@math.u-szeged.hu> >> >> >> >> Hi Guys, >> >> >> >> I have updated the IPBaseStation code to support the IRIS platform. >> >> The old code was CC2420 specific, now I have added ifdefs to guard >> >> those and implemented the channel parts for IRIS in the IPBaseStation >> >> code. >> >> >> >> Please update your CVS and check that this code works for you. I did >> >> not tested it on IRIS, but I made sure that the default CC2420 paths >> >> are not changed. Let me know if you run into problems. >> >> >> >> Miklos >> >> >> >> 2010/3/27 Gilberto Gaudêncio de Almeida <gilberto.gauden...@gmail.com>: >> >> > I have the exact same problem, so I would be very grateful if someone >> >> > could >> >> > take the time to point the way to go. >> >> > >> >> > Cheers, >> >> > >> >> > Gilberto Almeida >> >> > >> >> > 2010/3/26 <w.david...@gmail.com> >> >> >> >> >> >> Hi Janos, >> >> >> >> >> >> This seems contradicting what's said in the Blip tutorial >> >> >> http://docs.tinyos.net/index.php/BLIP_Tutorial >> >> >> Maybe the tutorial needs to be updated. Better if you or someone can >> >> >> point >> >> >> out steps to make it work on Iris. >> >> >> >> >> >> - David >> >> > >> >> > _______________________________________________ >> >> > Tinyos-help mailing list >> >> > Tinyos-help@millennium.berkeley.edu >> >> > >> >> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> >> > >> > >> > >> > >> > -- >> > Regards, >> > >> > - David >> > > > > > -- > Regards, > > - David > _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help