Hi! On Wed, 11 Jun 2008, Antonio Prados Vilchez wrote:
> Thanks for your reply, Razvan. > I also tried to update my CVS tree, but it didn't even work. When I try to > complie it, I get the following errors: > > [EMAIL PROTECTED] /cygdrive/c/cygwin/cygwin/opt/tinyos-2.x/tos/lib/tosboot > $ make micaz > mkdir -p build/micaz > compiling TOSBoot to a micaz binary > ncc -o build/micaz/main.exe -Os -DNESC_BUILD_BINARY -finline-limit=100000 > -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c > -board=micasb -DTOSBOOT_START=0x1f000 -DTOSBOOT_END=0x20000 > -Wl,--section-start=.text=0x1f000 -Iat45db -Iavr -Imicaz -Ilib > -I../net/Deluge -DIDENT_APPNAME=\"TOSBoot\" -DIDENT_USERNAME=\"admin\" > -DIDENT_HOSTNAME=\"HPServerIDi\" > -DIDENT_USERHASH=0xefa1aefeL-DIDENT_TIMESTAMP=0x484f8e87L > -DIDENT_UIDHASH=0xc76b1431L -fnesc-dump=wiring > -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, > components)' -fnesc-dumpfile=build/micaz/wiring-check.xml TOSBoot.nc -lm > In file included from TOSBoot.nc:40: > In component `TOSBootM': > TOSBootM.nc: In function `verifyImage': > TOSBootM.nc:103: `DelugeIdent' undeclared (first use in this function) > TOSBootM.nc:103: (Each undeclared identifier is reported only once > TOSBootM.nc:103: for each function it appears in.) > TOSBootM.nc:103: syntax error before `)' > TOSBootM.nc:104: syntax error before `)' > TOSBootM.nc:108: syntax error before `)' > TOSBootM.nc: In function `startupSequence': > TOSBootM.nc:211: `BootArgs' undeclared (first use in this function) > TOSBootM.nc:211: syntax error before `args' > TOSBootM.nc:224: `args' undeclared (first use in this function) > TOSBootM.nc:227: wrong type argument to increment > make: *** [exe0] Error 1 I don't know why you get this error. The DelugeIdent is defined in tos/lib/Deluge/Deluge.h which is included by an 'includes Deluge' statement in TOSBoot.nc. What version of nesc are you using? Mine is 1.2.9. Can you have the tools from CVS as part of the upgrade? -- Razvan ME > ________________________________ > > De: Razvan Musaloiu-E. [mailto:[EMAIL PROTECTED] > Enviado el: mar 10/06/2008 19:09 > Para: Antonio Prados Vilchez > CC: [email protected] > Asunto: Re: [Tinyos-help] Compiling TOSBoot > > > > Hi! > > On Tue, 10 Jun 2008, Antonio Prados Vilchez wrote: > >> >> >> Hi TinyOS users!! >> >> I'm trying to install Deluge on my motes. I'm following every step I >> read on the Deluge T2 manual, but, when I try to compile TOSBoot, I get >> a lot of errors. Do MICA2 motes support Deluge T2? However, if I try to >> compile TOSBoot for MICAz or TELOSB (as seen in the example in the >> manual) I also get errors. > > Can please indicate what kind of errors are you getting? MicaZ should work > fine. > > -- > Razvan ME > >> I would like to know how to solve this errors, I've followed every step, >> but installing Python 2.4 (I think it's not necessary yet). >> >> If MICA2 motes don't support Deluge T2, I would like to know other way >> to program my motes over-the-air. >> >> Thanks in advance. >> > > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
