Hi:

I had problems with the apps in TOSROOT/tos/lib/net/zigbee/ folder.. For 
example with associationExample application, the code compiles for telosb but 
it doesn't for micaz. I would like to work with ZigBee using the Open ZB stack 
with micaz platform. I don't know why the code doesn't compile for this 
platform, or if it is possible.

Thank you for help!

Ciao

The error is:
mkdir -p build/micaz
    compiling AssociationExample 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 -Wall -Wshadow -Wnesc-all 
-target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb 
-DDEFINED_TOS_AM_GROUP=0x22 -finline-limit=100000 
-DIDENT_PROGRAM_NAME=\"AssociationExam\" -DIDENT_USER_ID=\"smartmotes\" 
-DIDENT_HOSTNAME=\"xubuntos\" -DIDENT_USER_HASH=0x3d8b30eeL 
-DIDENT_UNIX_TIME=0x48c7c9e4L -DIDENT_UID_HASH=0x81fbac8dL -fnesc-dump=wiring 
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, 
components)' -fnesc-dumpfile=build/micaz/wiring-check.xml
 AssociationExample.nc -lm 
In file included from 
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/Mac.nc:43,
                 from AssociationExample.nc:26:
In component `MacM':
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc: In function 
`Init.init':
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc:540: implicit 
declaration of function `powf'
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc: In function 
`TimerAsync.backoff_fired':
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc:924: implicit 
declaration of function `powf'
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc: In function 
`process_beacon':
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc:1322: implicit 
declaration of function `powf'
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc:1331: implicit 
declaration of function `powf'
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc:1402: implicit 
declaration of function `powf'
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM..nc: In function 
`MLME_SCAN.request':
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc:3551: implicit 
declaration of function `powf'
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc: In function 
`MLME_START.request':
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc:3738: implicit 
declaration of function `powf'
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc:3745: implicit 
declaration of function `powf'
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc: In function 
`perform_csma_ca_slotted.runTask':
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc:4458: implicit 
declaration of function `powf'
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc: In function 
`perform_csma_ca_unslotted.runTask':
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc:4573: implicit 
declaration of function `powf'
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc: In function 
`perform_csma_ca':
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc:4604: implicit 
declaration of function `powf'
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc: In function 
`calculate_gts_expiration':
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac/MacM.nc:4698: implicit 
declaration of function `powf'
make: *** [exe0] Error 1


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

Reply via email to