Re: [Tinyos-help] Help on installing XMesh/XMDA300 on mica2 motes

2006-04-10 Thread Dongyan Chen
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=10 -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:

[Tinyos-help] Help on installing XMesh/XMDA300 on mica2 motes

2006-04-10 Thread chandresh parekh
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 loginLogging in to :pserver:[EMAIL PROTECTED]:2401/cvsroot/tinyosCVS password:cvs [login aborted]: end of file from server (consult above messages if any)     $ cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos co -P tinyos1.x/contribcvs checkout: warning: failed to open /home/Administrator/.cvspass for reading:No such file or directorycvs [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,com1mkdir -p build/mica2    compiling XMDA300 to a mica2 binaryncc -o build/mica2/main.exe -Os -finline-limit=10 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=mda300 -DCC1K_DEFAULT_FREQ=RADIO_916BAND_CHANNEL_00 -DRADIO_XMIT_POWER=0xFF -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\"XMDA300\" -DIDENT_USER_ID=\"Administrator\" -DIDENT_HOSTNAME=\"piloo\" -DIDENT_USER_HASH=0x0a75adf5L -DIDENT_UNIX_TIME=0x443a8612L -DIDENT_UID_HASH=0x280bd6ccL XMDA300.nc -lmXMDA300M.nc:122: C file XCommand not foundXMDA300M.nc:125: C file sensorboard not foundXMDA300M.nc:139: interface XCommand not
 foundC:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/RouteControl.nc:42: expected interface `XCommand', but got interface 'RouteControl'XMDA300M.nc:143: interface Sample not foundC:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/RouteControl.nc:42: expected interface `Sample', but got interface 'RouteControl'XMDA300M.nc:150: interface Relay not foundC:/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 onceXMDA300M.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 function)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