Obviously your paths are wrong, your Makefile points to /opt/tinyos-2.x/...
but you put your ZigBee code in /opt/tinyos-2.x-contrib/...

I also want to point out a bug in the TinyOS repository. The file
/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/PrintfUART.h cannot
be found by the sample ZigBee applications because the sample applications
refer to "printfUART.h". In other words, the case is mismatched.

Simple solution for TinyOS maintainers: change the filename of
"/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/PrintfUART.h" to
lower case.


2009/4/30 hamsofski <[email protected]>

>
> hi,
> I want to implement open-zb over tinyos 2.0 for telosb.
> I put the  "hurray2x " directory
> (http://www.open-zb.net/downloads/hurray2x_beta.zip)  in
> /opt/tinyos-2.x-contrib/
> , then I do "make telosb" for
> /opt/tinyos-2.x-contrib/hurray2x/apps/AssociationExample, but I have this
> error :
>
> /opt/tinyos-2.x-contrib/hurray2x/apps/AssociationExample$ make telosb
> mkdir -p build/telosb
>    compiling AssociationExample to a telosb binary
> ncc -o build/telosb/main.exe -Os -O
> -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 -mdisable-hwmul -Wall
> -Wshadow
> -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
> -fnesc-cfile=build/telosb/app.c -board=
> -DIDENT_PROGRAM_NAME=\"AssociationExam\" -DIDENT_USER_ID=\"xubuntos\"
> -DIDENT_HOSTNAME=\"xubuntos-tinyos\" -DIDENT_USER_HASH=0x00f95284L
> -DIDENT_UNIX_TIME=0x49f7c2b5L -DIDENT_UID_HASH=0x824a152cL
> AssociationExample.nc -lm
> AssociationExample.nc:9:23: phy_const.h: No such file or directory
> AssociationExample.nc:10:30: phy_enumerations.h: No such file or directory
> AssociationExample.nc:11:23: mac_const.h: No such file or directory
> AssociationExample.nc:12:30: mac_enumerations.h: No such file or directory
> AssociationExample.nc:13:22: mac_func.h: No such file or directory
> <commandline>: failed to preprocess AssociationExample.nc
> make: *** [exe0] Error 1
>
> Can anyone tell me what the problem is ?
>
> Thank you  in advance.
>
> --
> View this message in context:
> http://www.nabble.com/Implementation-open-zigbee-tp23308199p23308199.html
> Sent from the TinyOS - Help mailing list archive at Nabble.com.
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to