-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failure with CONFIG_NET_DEBUG_APP=y #4481
Labels
Comments
Hello, may I have the command you are using to build the app, SDK version and host OS / version? |
I am compiling lwm2m_client after setting CONFIG_NET_DEBUG_APP=y using command 'make' inside zephyr/samples/net/lwm2m_client. The zephyr code is from HEAD of master branch. The host machine is fedora 26. |
@jukkar yep, I get this same error. |
jukkar
added a commit
to jukkar/zephyr
that referenced
this issue
Oct 24, 2017
If user has enabled CONFIG_NET_DEBUG_APP, then the debugging version of _net_app_select_net_ctx() was not properly declared and it caused compile error. Fixes zephyrproject-rtos#4481 Signed-off-by: Jukka Rissanen <[email protected]>
andrewboie
pushed a commit
that referenced
this issue
Oct 24, 2017
If user has enabled CONFIG_NET_DEBUG_APP, then the debugging version of _net_app_select_net_ctx() was not properly declared and it caused compile error. Fixes #4481 Signed-off-by: Jukka Rissanen <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sample applications fail to build on defining CONFIG_NET_DEBUG_APP=y in project configuration.
Error log with zephyr/samples/net/lwm2m_client/ is given below.
LINK zephyr.lnk
subsys/built-in.o: In function
net_app_connect': /home/b16394/network_protocols/networkprotocols/WP1/zephyr/subsys/net/lib/app/client.c:599: undefined reference to
_net_app_select_net_ctx'collect2: error: ld returned 1 exit status
make[2]: *** [/home/b16394/network_protocols/networkprotocols/WP1/zephyr/Makefile:876: zephyr_prebuilt.elf] Error 1
make[2]: Leaving directory '/home/b16394/network_protocols/networkprotocols/WP1/zephyr/samples/net/lwm2m_client/outdir/qemu_x86'
make[1]: *** [Makefile:178: sub-make] Error 2
make[1]: Leaving directory '/home/b16394/network_protocols/networkprotocols/WP1/zephyr'
make: *** [/home/b16394/network_protocols/networkprotocols/WP1/zephyr/Makefile.inc:82: all] Error 2
The text was updated successfully, but these errors were encountered: