Chandresh,

  You need to copy the entire contrib/xbow folder to your windows
machine rather than just the xbow/apps folder. The XMesh app uses
interfaces & modules under contrib/xbow/tos/.

- Dongyan

On 4/10/06, chandresh parekh <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I tried to download tinyos-1.x/contrib from my windows machine and got the
> following errors:
>
> [EMAIL PROTECTED] /opt
> $ cvs
> -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos
> login
> Logging in to
> :pserver:[EMAIL PROTECTED]:2401/cvsroot/tinyos
> CVS password:
> cvs [login aborted]: end of file from server (consult above messages if any)
>
>
> $ cvs -z3
> -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos co
> -P tinyos
> 1.x/contrib
> cvs checkout: warning: failed to open /home/Administrator/.cvspass for
> reading:
> No such file or directory
> cvs [checkout aborted]: end of file from server (consult above messages if
> any)
>
> After this failure, I managed to download the folder on a linux machine.
> Then, I copied the entire folder to ../tinyos-1.x/contrib/xbow/apps/  and
> hoping it should work.
> But I got the followng sequence of erros:
>
> [EMAIL PROTECTED]
> /opt/tinyos-1.x/contrib/xbow/apps/XMesh/XMDA300
> $ make mica2 install,10 mib510,com1
> mkdir -p build/mica2
>     compiling XMDA300 to a mica2 binary
> ncc -o build/mica2/main.exe -Os -finline-limit=100000 -Wall -Wshadow
> -DDEF_TOS_A
> M_GROUP=0x7d -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c
> -board=mda3
> 00 -DCC1K_DEFAULT_FREQ=RADIO_916BAND_CHANNEL_00
> -DRADIO_XMIT_POWER=0xFF -I%T/lib
> /Deluge -DIDENT_PROGRAM_NAME=\"XMDA300\"
> -DIDENT_USER_ID=\"Administrator\" -DIDE
> NT_HOSTNAME=\"piloo\" -DIDENT_USER_HASH=0x0a75adf5L
> -DIDENT_UNIX_TIME=0x443a8612
> L -DIDENT_UID_HASH=0x280bd6ccL XMDA300.nc -lm
> XMDA300M.nc:122: C file XCommand not found
> XMDA300M.nc:125: C file sensorboard not found
> XMDA300M.nc:139: interface XCommand not found
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/RouteControl.nc:42:
> expected inte
> rface `XCommand', but got interface 'RouteControl'
> XMDA300M.nc:143: interface Sample not found
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/RouteControl.nc:42:
> expected inte
> rface `Sample', but got interface 'RouteControl'
> XMDA300M.nc:150: interface Relay not found
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/Timer.nc:42: expected
> interface `
> Relay', but got interface 'Timer'
> XMDA300M.nc: In function `StdControl.start':
> XMDA300M.nc:285: interface has no command or event named `getSample'
> XMDA300M.nc:285: `TEMPERATURE' undeclared (first use in this function)
> XMDA300M.nc:285: (Each undeclared identifier is reported only once
> XMDA300M.nc:285: for each function it appears in.)
> XMDA300M.nc:285: `SAMPLER_DEFAULT' undeclared (first use in this function)
> XMDA300M.nc:287: interface has no command or event named `getSample'
> XMDA300M.nc:287: `HUMIDITY' undeclared (first use in this function)
> XMDA300M.nc:289: interface has no command or event named `getSample'
> XMDA300M.nc:289: `BATTERY' undeclared (first use in this function)
> XMDA300M.nc:293: interface has no command or event named `getSample'
> XMDA300M.nc:293: `ANALOG' undeclared (first use in this function)
> XMDA300M.nc:293: `EXCITATION_33' undeclared (first use in this function)
> XMDA300M.nc:295: interface has no command or event named `getSample'
> XMDA300M.nc:297: interface has no command or event named `getSample'
> XMDA300M.nc:299: interface has no command or event named `getSample'
> XMDA300M.nc:299: `DELAY_BEFORE_MEASUREMENT' undeclared (first use in this
> functi
> on)
> XMDA300M.nc:301: interface has no command or event named `getSample'
> XMDA300M.nc:303: interface has no command or event named `getSample'
> XMDA300M.nc:305: interface has no command or event named `getSample'
> XMDA300M.nc:307: interface has no command or event named `getSample'
> XMDA300M.nc:307: `AVERAGE_FOUR' undeclared (first use in this function)
> XMDA300M.nc:307: `EXCITATION_25' undeclared (first use in this function)
> XMDA300M.nc:309: interface has no command or event named `getSample'
> XMDA300M.nc:311: interface has no command or event named `getSample'
> XMDA300M.nc:313: interface has no command or event named `getSample'
> XMDA300M.nc:315: interface has no command or event named `getSample'
> XMDA300M.nc:317: interface has no command or event named `getSample'
> XMDA300M.nc:319: interface has no command or event named `getSample'
> XMDA300M.nc:319: `EXCITATION_50' undeclared (first use in this function)
> XMDA300M.nc:319: `EXCITATION_ALWAYS_ON' undeclared (first use in this
> function)
> XMDA300M.nc:324: interface has no command or event named `getSample'
> XMDA300M.nc:324: `DIGITAL' undeclared (first use in this function)
> XMDA300M.nc:324: `RESET_ZERO_AFTER_READ' undeclared (first use in this
> function)
> XMDA300M.nc:324: `FALLING_EDGE' undeclared (first use in this function)
> XMDA300M.nc:326: interface has no command or event named `getSample'
> XMDA300M.nc:326: `RISING_EDGE' undeclared (first use in this function)
> XMDA300M.nc:326: `EVENT' undeclared (first use in this function)
> XMDA300M.nc:328: interface has no command or event named `getSample'
> XMDA300M.nc:330: interface has no command or event named `getSample'
> XMDA300M.nc:332: interface has no command or event named `getSample'
> XMDA300M.nc:334: interface has no command or event named `getSample'
> XMDA300M.nc:334: `EEPROM_TOTALIZER' undeclared (first use in this function)
> XMDA300M.nc:338: interface has no command or event named `getSample'
> XMDA300M.nc:338: `COUNTER' undeclared (first use in this function)
> XMDA300M.nc: At top level:
> XMDA300M.nc:479: `dataReady' is not in interface `Sample'
> XMDA300M.nc: In function `Sample.dataReady':
> XMDA300M.nc:483: `ANALOG' undeclared (first use in this function)
> XMDA300M.nc:483: case label does not reduce to an integer constant
> XMDA300M.nc:511: `DIGITAL' undeclared (first use in this function)
> XMDA300M.nc:511: case label does not reduce to an integer constant
> XMDA300M.nc:538: `BATTERY' undeclared (first use in this function)
> XMDA300M.nc:538: case label does not reduce to an integer constant
> XMDA300M.nc:544: `HUMIDITY' undeclared (first use in this function)
> XMDA300M.nc:544: case label does not reduce to an integer constant
> XMDA300M.nc:550: `TEMPERATURE' undeclared (first use in this function)
> XMDA300M.nc:550: case label does not reduce to an integer constant
> XMDA300M.nc: In function `Timer.fired':
> XMDA300M.nc:582: interface has no command or event named `toggle'
> XMDA300M.nc:587: interface has no command or event named `toggle'
> XMDA300M.nc: At top level:
> XMDA300M.nc:604: parse error before `*'
> XMDA300M.nc:604: `received' is not in interface `XCommand'
> XMDA300M.nc: In function `XCommand.received':
> XMDA300M.nc:606: `opcode' undeclared (first use in this function)
> XMDA300M.nc:607: `XCOMMAND_SET_RATE' undeclared (first use in this function)
> XMDA300M.nc:607: case label does not reduce to an integer constant
> XMDA300M.nc:614: `XCOMMAND_SLEEP' undeclared (first use in this function)
> XMDA300M.nc:614: case label does not reduce to an integer constant
> XMDA300M.nc:621: `XCOMMAND_WAKEUP' undeclared (first use in this function)
> XMDA300M.nc:621: case label does not reduce to an integer constant
> XMDA300M.nc:630: `XCOMMAND_RESET' undeclared (first use in this function)
> XMDA300M.nc:630: case label does not reduce to an integer constant
> XMDA300M.nc:634: `XCOMMAND_ACTUATE' undeclared (first use in this function)
> XMDA300M.nc:634: case label does not reduce to an integer constant
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000ControlM.nc:
> In functio
> n `StdControl.init':
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000ControlM.nc:381:
> `RADIO
> _916BAND_CHANNEL_00' undeclared (first use in this function)
> XMDA300.nc: At top level:
> XMDA300.nc:59: component EWMAMultiHopRouter not found
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/system/NoCRCPacket.nc:48: expected
> component
>  `EWMAMultiHopRouter', but got component 'NoCRCPacket'
> XMDA300.nc:59: component QueuedSend not found
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/system/NoCRCPacket.nc:48: expected
> component
>  `QueuedSend', but got component 'NoCRCPacket'
> XMDA300.nc:66: component XCommandC not found
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/system/NoCRCPacket.nc:48: expected
> component
>  `XCommandC', but got component 'NoCRCPacket'
> XMDA300.nc:66: component Bcast not found
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/system/NoCRCPacket.nc:48: expected
> component
>  `Bcast', but got component 'NoCRCPacket'
> XMDA300.nc:67: component SamplerC not found
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/system/NoCRCPacket.nc:48: expected
> component
>  `SamplerC', but got component 'NoCRCPacket'
> XMDA300.nc:71: cannot find `StdControl'
> XMDA300.nc:72: cannot find `StdControl'
> XMDA300.nc:91: cannot find `SamplerControl'
> XMDA300.nc:93: cannot find `Sample'
> XMDA300.nc:97: cannot find `PlugPlay'
> XMDA300.nc:101: cannot find `relay_normally_closed'
> XMDA300.nc:103: cannot find `relay_normally_open'
> XMDA300.nc:105: no match
> XMDA300.nc:106: cannot find `Receive'
> XMDA300.nc:107: cannot find `ReceiveMsg'
> XMDA300.nc:109: no match
> XMDA300.nc:110: cannot find `Send'
> XMDA300.nc:111: cannot find `Send'
> XMDA300.nc:112: cannot find `ReceiveMsg'
> make: *** [exe0] Error 1
>
> Can anyone help me fix these errors ?
>
> Thanks for reading my long mail.
>
> Any help and every help is appreciated.
>
> Regards,
>
> Chandresh
>
>
>
>
>  ________________________________
> New Yahoo! Messenger with Voice. Call regular phones from your PC and save
> big.
>
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to