You should add tdma_mac.c in core/net/mac/Makefile.mac before compiling.
Cheers
Chi-Anh
2011/12/2 Tao Zheng <tzhe...@gmail.com>:
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Contiki-developers mailing list
> Contiki-d...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/contiki-developers
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Contiki-developers mailing list
Contiki-d...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Thanks for your reply.
I have added tdma_mac.c in /core/net/mac/Makefile.mac, and then, I compile.
But there is still another error.
../../core/net/mac/tdma_mac.c: In function ‘tdma_mac_init’:
../../core/net/mac/tdma_mac.c:242: error: ‘const struct radio_driver’ has no
member named ‘set_receive_function’
../../core/net/mac/tdma_mac.c: At top level:
../../core/net/mac/tdma_mac.c:250: warning: initialization from incompatible
pointer type
../../core/net/mac/tdma_mac.c:251: warning: initialization from incompatible
pointer type
../../core/net/mac/tdma_mac.c:252: warning: initialization from incompatible
pointer type
../../core/net/mac/tdma_mac.c:253: warning: initialization from incompatible
pointer type
../../core/net/mac/tdma_mac.c:254: warning: initialization from incompatible
pointer type
../../core/net/mac/tdma_mac.c:255: warning: initialization from incompatible
pointer type
make: *** [obj_sky/tdma_mac.o] Error 1
Then, I trace to tdma_mac.c:242, found that, there is no any defination of
function 'set_receive_function' in struct of 'const struct mac_driver
tdma_mac_driver'.
What should I do in next?
Thanks all.
Tao Zheng
Thanks for all.
Zheng Tao
Have you seen http://sourceforge.net/mailarchive/message.php?msg_id=28451182