Hi everyone,

 

I’m working with IRIS motes on TinyOS 2.0.2 with the latest CVS tree. When I
try to compile the Oscilloscope application, I encountered a series of
compile errors. The compile information is listed at the end of this email.

 

Any idea?

 

Regards,

Eva

 

 

 

Compiling OscilloscopeAppC to a iris binary

ncc -o build/iris/main.exe -Os -Wall -Wshadow -Wnesc-all -target=iris
-fnesc-cfile=build/iris/app.c -board=micasb
-DIDENT_PROGRAM_NAME=\"OscilloscopeApp\" -DIDENT_USER_ID=\"xubuntos\"
-DIDENT_HOSTNAME=\"xubuntos-tinyos\" -DIDENT_USER_HASH=0x00f95284L
-DIDENT_UNIX_TIME=0x47fbb64dL -DIDENT_UID_HASH=0x747002abL
-fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())'
-fnesc-dump='referenced(interfacedefs, components)'
-fnesc-dumpfile=build/iris/wiring-check.xml OscilloscopeAppC.nc -lm 

In file included from /opt/tinyos-2.x/tos/chips/rf230/DefaultPacketC.nc:45,

                 from /opt/tinyos-2.x/tos/chips/rf230/DefaultMacC.nc:49,

                 from
/opt/tinyos-2.x/tos/platforms/iris/ActiveMessageC.nc:45,

                 from OscilloscopeAppC.nc:22:

In component `DefaultPacketP':

/opt/tinyos-2.x/tos/chips/rf230/DefaultPacketP.nc:92: conflicting types for
`Packet.getPayload'

/opt/tinyos-2.x/tos/interfaces/Packet.nc:108: previous declaration of
`Packet.getPayload'

In file included from /opt/tinyos-2.x/tos/chips/rf230/DefaultMacC.nc:68,

                 from
/opt/tinyos-2.x/tos/platforms/iris/ActiveMessageC.nc:45,

                 from OscilloscopeAppC.nc:22:

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.getPayload'

/opt/tinyos-2.x/tos/chips/rf230/ActiveMessageLayerC.nc: In function
`AMSend.getPayload':

/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' not implemented

/opt/tinyos-2.x/tos/chips/rf230/ActiveMessageLayerC.nc:41:
`Receive.payloadLength' 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/MessageBufferLayerC.nc:44,

                 from /opt/tinyos-2.x/tos/chips/rf230/DefaultMacC.nc:69,

                 from
/opt/tinyos-2.x/tos/platforms/iris/ActiveMessageC.nc:45,

                 from OscilloscopeAppC.nc:22:

In component `MessageBufferLayerP':

/opt/tinyos-2.x/tos/chips/rf230/MessageBufferLayerP.nc:230: conflicting
types for `Send.getPayload'

/opt/tinyos-2.x/tos/interfaces/Send.nc:114: previous declaration of
`Send.getPayload'

/opt/tinyos-2.x/tos/chips/rf230/MessageBufferLayerP.nc: In function
`Send.getPayload':

/opt/tinyos-2.x/tos/chips/rf230/MessageBufferLayerP.nc:231: warning: passing
argument 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
argument 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.payloadLength' 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/DefaultMacC.nc:70,

                 from
/opt/tinyos-2.x/tos/platforms/iris/ActiveMessageC.nc:45,

                 from OscilloscopeAppC.nc:22:

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.getPayload'

/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
function `SubSend.getPayload'

make: *** [exe0] Error 1

 

 

 


cid:[email protected]

 Departmento de 
 Sistemas Informáticos


Eva María García
Profesora Asociada
 <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]

Teléfono: +34 967 599 200 (ext. 2495)
Dirección:
Escuela Politécnica Superior de Albacete
Campus Universitario
Avenida de España s/n 
02071 – Albacete (ESPAÑA)
Web:  <http://www.uclm.es/> www.uclm.es

 

 

<<image001.gif>>

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to