Hello, everyone. I'm trying to play with CCN-lite with real hardware board (Arduino-mega2560) so, i followed the tutorial
[RIOT] cd examples/ccn-lite-client then, # make BOARD=arduino-mega2560 flash as tutorial says... Below is the result of that command. What's wrong with it? and how could i fix it? Thanks in advance Changue ------------------------------------------------------------------------------------------------------------------ root@comnet-Lenovo-IdeaPad-S400:/home/comnet/RIOT/examples/ccn-lite-client# BOARD=arduino-mega2560 make all flash There are unsatisfied feature requirements: transceiver EXPECT ERRORS! Building application "ccn-lite-client" for "arduino-mega2560" with MCU "atmega2560". In file included from /home/comnet/RIOT/sys/include/transceiver.h:26:0, from /home/comnet/RIOT/examples/ccn-lite-client/main.c:31: /home/comnet/RIOT/sys/include/radio/types.h:79:5: error: unknown type name ‘radio_packet_length_t’ radio_packet_length_t length; ///< Length of payload ^ /home/comnet/RIOT/examples/ccn-lite-client/main.c: In function ‘riot_ccn_register_prefix’: /home/comnet/RIOT/examples/ccn-lite-client/main.c:123:9: warning: unused variable ‘content_len’ [-Wunused-variable] int content_len = ccnl_riot_client_publish(_relay_pid, small_buf, faceid, type, big_buf); ^ In file included from /home/comnet/RIOT/examples/ccn-lite-client/main.c:39:0: /home/comnet/RIOT/examples/ccn-lite-client/main.c: In function ‘riot_ccn_transceiver_start’: /home/comnet/RIOT/sys/net/include/ccn_lite/ccnl-riot.h:45:21: error: ‘TRANSCEIVER_DEFAULT’ undeclared (first use in this function) #define TRANSCEIVER TRANSCEIVER_DEFAULT ^ /home/comnet/RIOT/examples/ccn-lite-client/main.c:152:22: note: in expansion of macro ‘TRANSCEIVER’ transceiver_init(TRANSCEIVER); ^ /home/comnet/RIOT/sys/net/include/ccn_lite/ccnl-riot.h:45:21: note: each undeclared identifier is reported only once for each function it appears in #define TRANSCEIVER TRANSCEIVER_DEFAULT ^ /home/comnet/RIOT/examples/ccn-lite-client/main.c:152:22: note: in expansion of macro ‘TRANSCEIVER’ transceiver_init(TRANSCEIVER); ^ /home/comnet/RIOT/examples/ccn-lite-client/main.c: In function ‘riot_ccn_relay_config’: /home/comnet/RIOT/examples/ccn-lite-client/main.c:148:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[1]: *** [/home/comnet/RIOT/examples/ccn-lite-client/bin/arduino-mega2560/ccn-lite-client/main.o] Error 1 make: *** [all] Error 2 root@comnet-Lenovo-IdeaPad-S400:/home/comnet/RIOT/examples/ccn-lite-client#
_______________________________________________ users mailing list [email protected] http://lists.riot-os.org/mailman/listinfo/users
