-
Notifications
You must be signed in to change notification settings - Fork 584
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
[HELP] psmq/embedlog build #2995
Comments
I will look into this. Can you please share nuttx version and your .config? |
Ok, I looked it up. Generally this warning is absolutely harmless. This is relic of the past when some functions were using |
Hi, I've noticed a few things: Regarding HAVE_TERMIOS_H Regarding includes
Both includes system, but the embedlog copies it's header to $(APPDIR)/include/logging, without including logging. Another thing: |
Hopefully some of my statements have sense, if not ask and I will try to give more details. |
That is correct. And it doesn't matter since embedlog no longer uses anything from termios in API functions.
That is problem with build system. And more precisely that embedlog was moved from system to logging, but paths were not updated. nuttx seems to be installing all headers into separate include directory which is different than on other posix OSes. On any other unix embedlog.h would live in /usr/include but in nuttx it lies in non standard path, hence the problem.
That has already been patched in upstream some time ago I just did not push it. I will make a release with those fixes and update it in nuttx. |
Thanks, will close this issue when the PRs gets merged. |
Both pull requests got merged. Closing ticket |
Description
I'm trying to use psmq as an IPC method for my application.
There are some issues getting psmq and embedlog to work and I am trying to understand what would be an fix.
but that flag is set in the Makefile
So there may be some issues with the build stage of embedlog?
create_includes rule needs to be extended as in diff above, but I do not know which change is correct
Can someone help me out? @mlyszczek
Verification
The text was updated successfully, but these errors were encountered: