Skip to content

undefined reference to `__log_current_const_data_get' when using LOG_MODULE_DECLARE #10026

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

Closed
nashif opened this issue Sep 17, 2018 · 2 comments
Assignees
Labels
area: Logging bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

Comments

@nashif
Copy link
Member

nashif commented Sep 17, 2018

With this change: nashif@e94e0c9

I get

kernel/libkernel.a(userspace.c.obj): In function `_impl_k_object_alloc':
/home/nashif/Work/github/zephyr/kernel/userspace.c:228: undefined reference to `__log_current_const_data_get'
collect2: error: ld returned 1 exit status
@nashif nashif added bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug labels Sep 17, 2018
@nashif
Copy link
Member Author

nashif commented Sep 17, 2018

related to #9450

@nashif
Copy link
Member Author

nashif commented Sep 17, 2018

@pizi-nordic fyi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Logging bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

2 participants