Dear Janos,

Many thanks for your prompt and helpful reply!

After I install the iris extension to tinyos by Vanderbilt U, the apps/blink
demo can be successfully compiled, however, the apps/basestation demo fails
and returns many errors as follows:

[EMAIL PROTECTED] /opt/tinyos-2.x/apps/basestation
$ make iris
mkdir -p build/iris
    compiling BaseStationC to a iris binary
ncc -o build/iris/main.exe -Os -Wall -Wshadow -Wnesc-all -target=iris
-fnesc-cfi
le=build/iris/app.c -board=micasb -DCC2420_NO_ACKNOWLEDGEMENTS
-DCC2420_NO_ADDRE
SS_RECOGNITION -DIDENT_PROGRAM_NAME=\"BaseStationC\"
-DIDENT_USER_ID=\"hengly\"
-DIDENT_HOSTNAME=\"hengly_bb\" -DIDENT_USER_HASH=0xe353046eL
-DIDENT_UNIX_TIME=0
x486ce103L -DIDENT_UID_HASH=0x19f657e6L -fnesc-dump=wiring
-fnesc-dump='interfac
es(!abstract())' -fnesc-dump='referenced(interfacedefs, components)'
-fnesc-dump
file=build/iris/wiring-check.xml BaseStationC.nc -lm
In file included from /opt/tinyos-2.x/tos/chips/rf230/RF230PacketC.nc:46,
                 from
/opt/tinyos-2.x/tos/chips/rf230/RF230ActiveMessageC.nc:52,

                 from
/opt/tinyos-2.x/tos/platforms/iris/ActiveMessageC.nc:46,
                 from BaseStationC.nc:71:
In component `RF230PacketP':
/opt/tinyos-2.x/tos/chips/rf230/RF230PacketP.nc:91: conflicting types for
`Packe
t.getPayload'
/opt/tinyos-2.x/tos/interfaces/Packet.nc:108: previous declaration of
`Packet.ge
tPayload'
In file included from
/opt/tinyos-2.x/tos/chips/rf230/RF230ActiveMessageC.nc:72,

                 from
/opt/tinyos-2.x/tos/platforms/iris/ActiveMessageC.nc:46,
                 from BaseStationC.nc:71:
In component `ActiveMessageLayerC':
/opt/tinyos-2.x/tos/chips/rf230/ActiveMessageLayerC.nc:81: conflicting types
for
 `AMSend.getPayload'
/opt/tinyos-2.x/tos/interfaces/AMSend.nc:125: previous declaration of
`AMSend.ge
tPayload'
/opt/tinyos-2.x/tos/chips/rf230/ActiveMessageLayerC.nc: In function
`AMSend.getP
ayload':
/opt/tinyos-2.x/tos/chips/rf230/ActiveMessageLayerC.nc:82: too many
arguments to
 function `SubSend.getPayload'
/opt/tinyos-2.x/tos/chips/rf230/ActiveMessageLayerC.nc: At top level:
/opt/tinyos-2.x/tos/chips/rf230/ActiveMessageLayerC.nc:41:
`Snoop.payloadLength'
 not implemented
/opt/tinyos-2.x/tos/chips/rf230/ActiveMessageLayerC.nc:41:
`Snoop.getPayload' no
t implemented
/opt/tinyos-2.x/tos/chips/rf230/ActiveMessageLayerC.nc:41:
`Receive.payloadLengt
h' not implemented
/opt/tinyos-2.x/tos/chips/rf230/ActiveMessageLayerC.nc:41:
`Receive.getPayload'
not implemented
In file included from
/opt/tinyos-2.x/tos/chips/rf230/IEEE154NetworkLayerC.nc:42
,
                 from
/opt/tinyos-2.x/tos/chips/rf230/RF230ActiveMessageC.nc:76,

                 from
/opt/tinyos-2.x/tos/platforms/iris/ActiveMessageC.nc:46,
                 from BaseStationC.nc:71:
In component `IEEE154NetworkLayerP':
/opt/tinyos-2.x/tos/chips/rf230/IEEE154NetworkLayerP.nc:65: conflicting
types fo
r `Send.getPayload'
/opt/tinyos-2.x/tos/interfaces/Send.nc:114: previous declaration of
`Send.getPay
load'
/opt/tinyos-2.x/tos/chips/rf230/IEEE154NetworkLayerP.nc: In function
`Send.getPa
yload':
/opt/tinyos-2.x/tos/chips/rf230/IEEE154NetworkLayerP.nc:66: too many
arguments t
o function `SubSend.getPayload'
/opt/tinyos-2.x/tos/chips/rf230/IEEE154NetworkLayerP.nc: At top level:
/opt/tinyos-2.x/tos/chips/rf230/IEEE154NetworkLayerP.nc:42:
`NonTinyosReceive.pa
yloadLength' not implemented
/opt/tinyos-2.x/tos/chips/rf230/IEEE154NetworkLayerP.nc:42:
`NonTinyosReceive.ge
tPayload' not implemented
/opt/tinyos-2.x/tos/chips/rf230/IEEE154NetworkLayerP.nc:42:
`Receive.payloadLeng
th' not implemented
/opt/tinyos-2.x/tos/chips/rf230/IEEE154NetworkLayerP.nc:42:
`Receive.getPayload'
 not implemented
In file included from
/opt/tinyos-2.x/tos/chips/rf230/MessageBufferLayerC.nc:44,

                 from
/opt/tinyos-2.x/tos/chips/rf230/RF230ActiveMessageC.nc:83,

                 from
/opt/tinyos-2.x/tos/platforms/iris/ActiveMessageC.nc:46,
                 from BaseStationC.nc:71:
In component `MessageBufferLayerP':
/opt/tinyos-2.x/tos/chips/rf230/MessageBufferLayerP.nc:230: conflicting
types fo
r `Send.getPayload'
/opt/tinyos-2.x/tos/interfaces/Send.nc:114: previous declaration of
`Send.getPay
load'
/opt/tinyos-2.x/tos/chips/rf230/MessageBufferLayerP.nc: In function
`Send.getPay
load':
/opt/tinyos-2.x/tos/chips/rf230/MessageBufferLayerP.nc:231: warning: passing
arg
ument 2 of `Packet.getPayload' makes pointer from integer without a cast
/opt/tinyos-2.x/tos/chips/rf230/MessageBufferLayerP.nc: In function
`deliverTask
.runTask':
/opt/tinyos-2.x/tos/chips/rf230/MessageBufferLayerP.nc:283: warning: passing
arg
ument 2 of `Packet.getPayload' makes pointer from integer without a cast
/opt/tinyos-2.x/tos/chips/rf230/MessageBufferLayerP.nc: At top level:
/opt/tinyos-2.x/tos/chips/rf230/MessageBufferLayerP.nc:48:
`Receive.payloadLengt
h' not implemented
/opt/tinyos-2.x/tos/chips/rf230/MessageBufferLayerP.nc:48:
`Receive.getPayload'
not implemented
In file included from /opt/tinyos-2.x/tos/chips/rf230/UniqueLayerC.nc:43,
                 from
/opt/tinyos-2.x/tos/chips/rf230/RF230ActiveMessageC.nc:84,

                 from
/opt/tinyos-2.x/tos/platforms/iris/ActiveMessageC.nc:46,
                 from BaseStationC.nc:71:
In component `UniqueLayerP':
/opt/tinyos-2.x/tos/chips/rf230/UniqueLayerP.nc:80: conflicting types for
`Send.
getPayload'
/opt/tinyos-2.x/tos/interfaces/Send.nc:114: previous declaration of
`Send.getPay
load'
/opt/tinyos-2.x/tos/chips/rf230/UniqueLayerP.nc: In function
`Send.getPayload':
/opt/tinyos-2.x/tos/chips/rf230/UniqueLayerP.nc:81: too many arguments to
functi
on `SubSend.getPayload'
make: *** [exe0] Error 1
It seems that none of the demos related with radios can be compiled ok, only
the demos only using local resources such as 'blink' and 'powerup' can pass.

Can anyone put light on this problem? Thanks.


On 6/30/08, Janos Sallai <[EMAIL PROTECTED]> wrote:
>
>   >Now I wanna program iris motes in this environment. I follow strictly
> the installation
>
> >instructions about iris extension to tinyos by Vanderbilt U. Compiling is
> ok. However,
>
> > programming fails. I check by "motelist", nothing returns.
>
>
>
> Motelist is telos specific, it does not support other motes such as the
> iris, micaz, mica2, etc.
>
>
>
> >I can see the iris mote in the form of virtual com port in Windows Device
> Manager.
>
> > Are there anything wrong with my operation? I need your help
> desperately.
>
> Could you please be a bit more specific (make command line, make output,
> virtual com port, etc.)
>
>
>
> Janos
>
>
>



-- 
刘玉恒
hengly
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to