Hi, I have a problem. I want to implement open-zigbee (hurray) about a MicaZ.
I do the next:
1) I put "hurray2x" in path "/opt/tinyos-2.x". (I have tried it in
"/opt/tinyos-2.x-contrib" too).
2) $cd /opt/tinyos-2.x/hurray2x/apps/AssociationExample
3) I do "make micaz install" or "make micaz install,0 bsl, /dev/ttyUSB0 " but I
have this error:
mkdir -p build/micaz
compiling AssociationExample to a micaz binary
ncc -o build/micaz/main.exe -Os -I/opt/tinyos-2.x/tos/ieee802154/includes
-I/opt/tinyos-2.x/tos/ieee802154/mac -I/opt/tinyos-2.x/tos/ieee802154/phy
-I/opt/tinyos-2.x/tos/ieee802154/timerasync
-I/opt/tinyos-2.x/tos/ieee802154/interfaces
-I/opt/tinyos-2.x/tos/ieee802154/interfaces/mac
-I/opt/tinyos-2.x/tos/ieee802154/interfaces/phy
-I/opt/tinyos-2.x/tos/chips/cc2420/ieee802154 -finline-limit=100000 -Wall
-Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
-DIDENT_PROGRAM_NAME=\"AssociationExam\" -DIDENT_USER_ID=\"casa\"
-DIDENT_HOSTNAME=\"casa-laptop\" -DIDENT_USER_HASH=0x819c37b8L
-DIDENT_UNIX_TIME=0x4a3bb638L -DIDENT_UID_HASH=0x3fa50399L -fnesc-dump=wiring
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
components)' -fnesc-dumpfile=build/micaz/wiring-check.xml AssociationExample.nc
-lm
AssociationExample.nc:9:23: error: phy_const.h: No such file or directory
AssociationExample.nc:10:30: error: phy_enumerations.h: No such file or
directory
AssociationExample.nc:11:23: error: mac_const.h: No such file or directory
AssociationExample.nc:12:30: error: mac_enumerations.h: No such file or
directory
AssociationExample.nc:13:22: error: mac_func.h: No such file or directory
AssociationExampleM.nc:7:24: error: printfUART.h: No such file or directory
In file included from AssociationExample.nc:22:
In component `AssociationExampleM':
AssociationExampleM.nc:19: interface MLME_START not found
AssociationExampleM.nc:21: interface MLME_GET not found
AssociationExampleM.nc:22: interface MLME_SET not found
AssociationExampleM.nc:24: interface MLME_BEACON_NOTIFY not found
AssociationExampleM.nc:25: interface MLME_GTS not found
AssociationExampleM.nc:27: interface MLME_ASSOCIATE not found
AssociationExampleM.nc:28: interface MLME_DISASSOCIATE not found
AssociationExampleM.nc:30: interface MLME_ORPHAN not found
AssociationExampleM.nc:32: interface MLME_SYNC not found
AssociationExampleM.nc:33: interface MLME_SYNC_LOSS not found
AssociationExampleM.nc:35: interface MLME_RESET not found
AssociationExampleM.nc:37: interface MLME_SCAN not found
AssociationExampleM.nc:40: interface MCPS_DATA not found
AssociationExampleM.nc:58: syntax error before `pan_des'
AssociationExampleM.nc: In function `Boot.booted':
AssociationExampleM.nc:71: implicit declaration of function `printfUART_init'
AssociationExampleM.nc: In function `Timer0.fired':
AssociationExampleM.nc:104: interface has no command or event named `request'
AssociationExampleM.nc:104: `MACSHORTADDRESS' undeclared (first use in this
function)
AssociationExampleM.nc:104: (Each undeclared identifier is reported only once
AssociationExampleM.nc:104: for each function it appears in.)
AssociationExampleM.nc:110: interface has no command or event named `request'
AssociationExampleM.nc:110: `MACPANID' undeclared (first use in this function
The text continues. I have tried things how:
- Put in my MacM file:
#ifdef PLATFORM_MICAZ
#define powf pow
#endif
- Change the file PrintfUART.h to "printfUART.h" to lower case
Is there any step that has not done? Please, i need help. I don´t know what to
do.
Thank you very much.
_________________________________________________________________
Llévate Messenger en el móvil a todas partes ¡Conéctate!
http://www.microsoft.com/spain/windowsmobile/messenger/default.mspx_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help