I solved it =D. Now i'm trying to undertand the GTS example, but now i dont
understand nothing...anyone know about this application?

Thanks for all

On Fri, Nov 19, 2010 at 11:59 AM, Daniel Schnit <[email protected]>wrote:

> Sorry, but i create a new thread because this subject is different
>
> Anyone can help me? if i make telosb everything is ok, but micaz....
> Please help  me :)
>
> desktop:/opt/tinyos-2.x/tos/lib/net/zigbee/apps/AssociationExample$ make
> micazmkdir -p build/micaz
>     compiling AssociationExampleC to a micaz binary
> ncc -o build/micaz/main.exe  -Os
> -I/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes
> -I/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac
> -I/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/phy
> -I/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/timerasync
> -I/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/interfaces
> -I/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/interfaces/mac
> -I/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/interfaces/phy
> -I/opt/tinyos-2.x/tos/lib/net/zigbee/cc2420 -fnesc-separator=__ -Wall
> -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c
> -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 --param
> max-inline-insns-single=100000 -DIDENT_APPNAME=\"AssociationExam\"
> -DIDENT_USERNAME=\"marcelo\" -DIDENT_HOSTNAME=\"marcelo-desktop\"
> -DIDENT_USERHASH=0xf714c009L -DIDENT_TIMESTAMP=0x4ce681eaL
> -DIDENT_UIDHASH=0x51ec9e8dL -fnesc-dump=wiring
> -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
> components)' -fnesc-dumpfile=build/micaz/wiring-check.xml
> AssociationExampleC.nc -lm
> In file included from AssociationExampleP.nc:7,
>                  from AssociationExampleC.nc:22:
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h: In
> function `printfUART_init_private':
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h:123:
> warning: implicit declaration of function `outp'
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h:127:
> warning: implicit declaration of function `inp'
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h: In
> function `UARTPutChar':
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h:213:
> warning: implicit declaration of function `outb'
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h:238:
> warning: declaration of 'sprintf' shadows a built-in function
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacP.nc: In function
> 'MacP__T_ScanDuration__fired':
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacP.nc:3467: warning:
> pointer targets in passing argument 1 of 'sprintf' differ in signedness
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacP.nc:3467: warning:
> pointer targets in passing argument 2 of 'sprintf' differ in signedness
> AssociationExampleP.nc: In function
> 'AssociationExampleP__MLME_BEACON_NOTIFY__indication':
> AssociationExampleP.nc:346: warning: pointer targets in passing argument 1
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:346: warning: pointer targets in passing argument 2
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:350: warning: pointer targets in passing argument 1
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:350: warning: pointer targets in passing argument 2
> of 'sprintf' differ in signedness
> AssociationExampleP.nc: In function
> 'AssociationExampleP__MLME_ORPHAN__indication':
> AssociationExampleP.nc:266: warning: pointer targets in passing argument 1
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:266: warning: pointer targets in passing argument 2
> of 'sprintf' differ in signedness
> AssociationExampleP.nc: In function
> 'AssociationExampleP__MLME_ASSOCIATE__indication':
> AssociationExampleP.nc:398: warning: pointer targets in passing argument 1
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:398: warning: pointer targets in passing argument 2
> of 'sprintf' differ in signedness
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacP.nc: In function
> 'MacP__data_channel_scan_indication__runTask':
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacP.nc:3410: warning:
> pointer targets in passing argument 1 of 'sprintf' differ in signedness
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacP.nc:3410: warning:
> pointer targets in passing argument 2 of 'sprintf' differ in signedness
> AssociationExampleP.nc: In function
> 'AssociationExampleP__MLME_SYNC_LOSS__indication':
> AssociationExampleP.nc:310: warning: pointer targets in passing argument 1
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:310: warning: pointer targets in passing argument 2
> of 'sprintf' differ in signedness
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacP.nc: In function
> 'MacP__MLME_ASSOCIATE__request':
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacP.nc:3789: warning:
> pointer targets in passing argument 1 of 'sprintf' differ in signedness
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacP.nc:3789: warning:
> pointer targets in passing argument 2 of 'sprintf' differ in signedness
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h: In
> function 'sprintf':
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h:265:
> warning: pointer targets in assignment differ in signedness
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h:266:
> warning: pointer targets in passing argument 1 of 'strcat' differ in
> signedness
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h:266:
> warning: pointer targets in passing argument 2 of 'strcat' differ in
> signedness
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h:310:
> warning: pointer targets in passing argument 1 of 'strcat' differ in
> signedness
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h:310:
> warning: pointer targets in passing argument 2 of 'strcat' differ in
> signedness
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h:311:
> warning: pointer targets in passing argument 1 of 'strlen' differ in
> signedness
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h:325:
> warning: pointer targets in passing argument 1 of 'strcat' differ in
> signedness
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h:325:
> warning: pointer targets in passing argument 2 of 'strcat' differ in
> signedness
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h:326:
> warning: pointer targets in passing argument 1 of 'strlen' differ in
> signedness
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h: In
> function 'UARTPutChar':
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h:213:
> warning: implicit declaration of function 'outb'
> AssociationExampleP.nc: In function
> 'AssociationExampleP__MLME_SCAN__confirm':
> AssociationExampleP.nc:178: warning: pointer targets in passing argument 1
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:178: warning: pointer targets in passing argument 2
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:182: warning: pointer targets in passing argument 1
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:182: warning: pointer targets in passing argument 2
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:194: warning: pointer targets in passing argument 1
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:194: warning: pointer targets in passing argument 2
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:214: warning: pointer targets in passing argument 1
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:214: warning: pointer targets in passing argument 2
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:215: warning: pointer targets in passing argument 1
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:215: warning: pointer targets in passing argument 2
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:216: warning: pointer targets in passing argument 1
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:216: warning: pointer targets in passing argument 2
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:217: warning: pointer targets in passing argument 1
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:217: warning: pointer targets in passing argument 2
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:218: warning: pointer targets in passing argument 1
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:218: warning: pointer targets in passing argument 2
> of 'sprintf' differ in signedness
> AssociationExampleP.nc: In function
> 'AssociationExampleP__MLME_ASSOCIATE__confirm':
> AssociationExampleP.nc:410: warning: pointer targets in passing argument 1
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:410: warning: pointer targets in passing argument 2
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:412: warning: pointer targets in passing argument 1
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:412: warning: pointer targets in passing argument 2
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:413: warning: pointer targets in passing argument 1
> of 'sprintf' differ in signedness
> AssociationExampleP.nc:413: warning: pointer targets in passing argument 2
> of 'sprintf' differ in signedness
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h: In
> function 'printfUART_init_private':
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h:123:
> warning: implicit declaration of function 'outp'
> /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/printfUART.h:127:
> warning: implicit declaration of function 'inp'
> /tmp/ccfsH8rF.o: In function `printfUART_init_private':
> app.c:(.text+0x11b6): undefined reference to `outp'
> app.c:(.text+0x11c2): undefined reference to `outp'
> app.c:(.text+0x11ce): undefined reference to `outp'
> app.c:(.text+0x11dc): undefined reference to `outp'
> app.c:(.text+0x11e4): undefined reference to `inp'
> app.c:(.text+0x11f0): undefined reference to `outp'
> /tmp/ccfsH8rF.o: In function `UARTPutChar':
> app.c:(.text+0x142c): undefined reference to `outb'
> make: *** [exe0] Error 1
>
> Thanks
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to