Hi Stefano,

I had the same problem.
Solution: rename tos/lib/net/zigbee/ieee802154/includes/*P*rintfUART.h 
to tos/lib/net/zigbee/ieee802154/includes/*p*rintfUART.h

It should compile now.

regards,
Pieter


Stefano "Kismet" Lenzi wrote:
> Hi All,
>
> I have checked out the CVS version of tinyos-2.x and I would like to
> play with Zigbee using the Open-ZB stack available in the
> TOSROOT/tos/lib/net/zigbee/ folder but none of the project in the apps
> folder seem to compile. Is this the right place where to ask help for
> Open-ZB?
>
> Thank you for help!
>
> Ciao,
> Stefano "Kismet" Lenzi
>
>
> Following the error message "make micaz" log message.
>
> 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 --param max-inline-insns-single=100000
> -DIDENT_APPNAME=\"AssociationExam\" -DIDENT_USERNAME=\"kismet-sl\"
> -DIDENT_HOSTNAME=\"urpi\" -DIDENT_USERHASH=0xb2d1ef9dL
> -DIDENT_TIMESTAMP=0x4820701eL -DIDENT_UIDHASH=0x44f6721cL
> -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())'
> -fnesc-dump='referenced(interfacedefs, components)'
> -fnesc-dumpfile=build/micaz/wiring-check.xml AssociationExample.nc -lm
> AssociationExampleM.nc:7:24: error: printfUART.h: No such file or directory
> In component `AssociationExample':
> AssociationExample.nc:22: failed to preprocess AssociationExampleM.nc
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/MacM.nc:9:24:
> error: printfUART.h: No such file or directory
> In file included from AssociationExample.nc:26:
> In component `Mac':
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:43: failed
> to preprocess /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/MacM.nc
> /opt/tinyos-2.x//tos/lib/net/zigbee/cc2420/CC2420ReceiveP.nc:39:24:
> error: printfUART.h: No such file or directory
> In file included from
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/phy/Phy.nc:50,
>                  from
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:45,
>                  from AssociationExample.nc:26:
> In component `CC2420ReceiveC':
> /opt/tinyos-2.x//tos/lib/net/zigbee/cc2420/CC2420ReceiveC.nc:53:
> failed to preprocess
> /opt/tinyos-2.x//tos/lib/net/zigbee/cc2420/CC2420ReceiveP.nc
> /opt/tinyos-2.x//tos/lib/net/zigbee/cc2420/CC2420ReceiveC.nc:62:
> cannot find `Leds'
> /opt/tinyos-2.x//tos/lib/net/zigbee/cc2420/CC2420ReceiveC.nc:64: no match
> /opt/tinyos-2.x//tos/lib/net/zigbee/cc2420/CC2420ReceiveC.nc:66: no match
> /opt/tinyos-2.x//tos/lib/net/zigbee/cc2420/CC2420ReceiveC.nc:68: no match
> /opt/tinyos-2.x//tos/lib/net/zigbee/cc2420/CC2420ReceiveC.nc:71: no match
> /opt/tinyos-2.x//tos/lib/net/zigbee/cc2420/CC2420ReceiveC.nc:73:
> cannot find `CSN'
> /opt/tinyos-2.x//tos/lib/net/zigbee/cc2420/CC2420ReceiveC.nc:74:
> cannot find `FIFO'
> /opt/tinyos-2.x//tos/lib/net/zigbee/cc2420/CC2420ReceiveC.nc:75:
> cannot find `FIFOP'
> /opt/tinyos-2.x//tos/lib/net/zigbee/cc2420/CC2420ReceiveC.nc:76:
> cannot find `InterruptFIFOP'
> /opt/tinyos-2.x//tos/lib/net/zigbee/cc2420/CC2420ReceiveC.nc:77:
> cannot find `SpiResource'
> /opt/tinyos-2.x//tos/lib/net/zigbee/cc2420/CC2420ReceiveC.nc:78:
> cannot find `RXFIFO'
> /opt/tinyos-2.x//tos/lib/net/zigbee/cc2420/CC2420ReceiveC.nc:79:
> cannot find `SFLUSHRX'
> /opt/tinyos-2.x//tos/lib/net/zigbee/cc2420/CC2420ReceiveC.nc:80:
> cannot find `SACK'
> /opt/tinyos-2.x//tos/lib/net/zigbee/cc2420/CC2420ReceiveC.nc:82:
> cannot find `CC2420Config'
> In component `Mac':
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:40: no match
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:49: cannot
> find `TimerAsync'
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:51: cannot find 
> `Leds'
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:54: cannot
> find `AMControl'
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:57: cannot find 
> `CCA'
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:60: cannot
> find `Random'
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:63: cannot
> find `T_ackwait'
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:66: cannot
> find `T_ResponseWaitTime'
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:69: cannot
> find `T_ScanDuration'
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:72: cannot
> find `AddressFilter'
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:77: cannot
> find `PD_DATA'
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:78: cannot
> find `PLME_ED'
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:79: cannot
> find `PLME_CCA'
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:80: cannot
> find `PLME_SET'
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:81: cannot
> find `PLME_GET'
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:82: cannot
> find `PLME_SET_TRX_STATE'
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:86: no match
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:88: no match
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:89: no match
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:91: no match
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:92: no match
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:94: no match
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:95: no match
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:97: no match
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:99: no match
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:100: no match
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:102: no match
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:104: no match
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:106: no match
> /opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/mac/Mac.nc:107: no match
> In component `AssociationExample':
> AssociationExample.nc:24: cannot find `Boot'
> AssociationExample.nc:28: cannot find `Leds'
> AssociationExample.nc:31: cannot find `Timer0'
> AssociationExample.nc:34: cannot find `Timer_Send'
> AssociationExample.nc:39: cannot find `MLME_START'
> AssociationExample.nc:41: cannot find `MLME_GET'
> AssociationExample.nc:42: cannot find `MLME_SET'
> AssociationExample.nc:44: cannot find `MLME_BEACON_NOTIFY'
> AssociationExample.nc:45: cannot find `MLME_GTS'
> AssociationExample.nc:47: cannot find `MLME_ASSOCIATE'
> AssociationExample.nc:48: cannot find `MLME_DISASSOCIATE'
> AssociationExample.nc:50: cannot find `MLME_ORPHAN'
> AssociationExample.nc:51: cannot find `MLME_SYNC'
> AssociationExample.nc:52: cannot find `MLME_SYNC_LOSS'
> AssociationExample.nc:53: cannot find `MLME_RESET'
> AssociationExample.nc:55: cannot find `MLME_SCAN'
> AssociationExample.nc:58: cannot find `MCPS_DATA'
> make: *** [exe0] Error 1
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>   


-- 
Pieter De Mil
Department of Information Technology (INTEC)
Ghent University
Gaston Crommenlaan 8 (Bus 201), B-9050 Gent, Belgium
tel.: +32-9331 4981; tel. secr.: +32-9331 4900
fax: +32-9331 4899
[EMAIL PROTECTED]
http://www.ibcn.intec.ugent.be

Confidentiality Statement:
This e-mail and any attached files are confidential and may be legally 
privileged. If you are not the addressee, any disclosure, reproduction, 
copying, distribution, or other dissemination or use of this communication is 
strictly prohibited. If you have received this transmission in error please 
notify INTEC immediately and then delete this e-mail. INTEC does not accept 
liability for the correct and complete transmission of the information, nor for 
any delay or interruption of the transmission, nor for damages arising from the 
use of or reliance on the information. 
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to