[riot-users] CCN-lite with Arduino-mega2560

changue jung ckjung1987 at gmail.com
Mon Jun 1 06:34:55 CEST 2015


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 at 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 at comnet-Lenovo-IdeaPad-S400:/home/comnet/RIOT/examples/ccn-lite-client#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/users/attachments/20150601/f1a19cc9/attachment.html>


More information about the users mailing list