Re: Problem with echo_server / echo_client samples running in QEMU (No rule to make target 'qemu' ?)


Paul Sokolovsky
 

On Tue, 3 Oct 2017 14:24:10 +0000
Priyanka Rawat <priyanka.rawat@nxp.com> wrote:

Hello Nashif


Thanks for the fix.

This might resolve the issue related to 'target QEMU", however
another issue is that echo_client fails to compile with errors like
(even with the 3 week older zephyr version).

undefined reference to `net_app_send_pkt'
Thanks for the report. In future cases, feel free to open a bug at
https://github.com/zephyrproject-rtos/zephyr/issues .

I posted a patch to solve this issue:
https://github.com/zephyrproject-rtos/zephyr/pull/4166


This is why I had today switched to the most recent version of zephyr.

Any idea, what am I missing here? Thanks.


Terminal 2 echo_client

--------------------------------

zephyr/samples/net/echo_client$ make CONF_FILE=prj_qemu_802154.conf

In function `prepare_send_pkt':
/zephyr/samples/net/echo_client/src/echo-client.c:111: undefined
reference to `net_app_get_net_pkt' src/built-in.o: In function
`send_udp_data': zephyr/samples/net/echo_client/src/udp.c:160:
undefined reference to `net_app_send_pkt' src/built-in.o: In function
`connect_udp': /zephyr/samples/net/echo_client/src/udp.c:262:
undefined reference to `net_app_init_udp_client'
zephyr/samples/net/echo_client/src/udp.c:273: undefined reference to
`net_app_set_cb' /zephyr/samples/net/echo_client/src/udp.c:302:
undefined reference to `net_app_connect' src/built-in.o: In function
`stop_udp': zephyr/samples/net/echo_client/src/udp.c:360: undefined
reference to
`net_app_close' /zephyr/samples/net/echo_client/src/udp.c:361:
undefined reference to `net_app_release'


Best,
Priyanka
[]

--
Best Regards,
Paul

Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog

Join users@lists.zephyrproject.org to automatically receive all group messages.